aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2013-12-10 17:13:35 -0800
committerJohn Stultz <[email protected]>2013-12-23 11:54:34 -0800
commit04005f6011e3b504cd4d791d9769f7cb9a3b2eae (patch)
tree9d2d3283a854a9dca0cee332069679818f674963 /tools/perf/util/trace-event-scripting.c
parent47a1b796306356f358e515149d86baf0cc6bf007 (diff)
timekeeping: Fix CLOCK_TAI timer/nanosleep delays
A think-o in the calculation of the monotonic -> tai time offset results in CLOCK_TAI timers and nanosleeps to expire late (the latency is ~2x the tai offset). Fix this by adding the tai offset from the realtime offset instead of subtracting. Cc: Sasha Levin <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: stable <[email protected]> #3.10+ Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions