diff options
author | John Stultz <[email protected]> | 2011-02-01 13:52:17 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2011-02-02 15:28:18 +0100 |
commit | c528f7c6c208f1fae6b4025957173dec045e5f21 (patch) | |
tree | 86986bf39f82622ea81179dad3382fc4580875a8 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0061748dd2400d0bcd4d49d258db5d7b5d106ca0 (diff) |
time: Introduce timekeeping_inject_offset
This adds a kernel-internal timekeeping interface to add or subtract
a fixed amount from CLOCK_REALTIME. This makes it so kernel users or
interfaces trying to do so do not have to read the time, then add an
offset and then call settimeofday(), which adds some extra error in
comparision to just simply adding the offset in the kernel timekeeping
core.
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Richard Cochran <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions