diff options
author | Peter Zijlstra <[email protected]> | 2010-12-09 14:15:34 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-12-16 11:17:46 +0100 |
commit | fe44d62122829959e960bc699318d58966922a69 (patch) | |
tree | bacb96098cffa7b7b8d80506a2026b5125557f2a /tools/perf/util/trace-event-scripting.c | |
parent | dbd87b5af055a0cc9bba17795c9a2b0d17795389 (diff) |
sched: Fix the irqtime code to deal with u64 wraps
Some ARM systems have a short sched_clock() [ which needs to be fixed
too ], but this exposed a bug in the irq_time code as well, it doesn't
deal with wraps at all.
Fix the irq_time code to deal with u64 wraps by re-writing the code to
only use delta increments, which avoids the whole issue.
Reviewed-by: Venkatesh Pallipadi <[email protected]>
Reported-by: Mikael Pettersson <[email protected]>
Tested-by: Mikael Pettersson <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1292242433.6803.199.camel@twins>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions