aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2012-07-13 05:21:54 +0000
committerThomas Gleixner <[email protected]>2012-07-15 08:39:06 +0000
commit1f4f948706bcec1b51bf6492bf04057d2e21e273 (patch)
tree1677cf2f130da9ff53259fdb658fa53a4ef81b4e /tools/perf/util/trace-event-scripting.c
parenttime: Condense timekeeper.xtime into xtime_sec (diff)
downloadkernel-1f4f948706bcec1b51bf6492bf04057d2e21e273.tar.gz
kernel-1f4f948706bcec1b51bf6492bf04057d2e21e273.zip
time: Refactor accumulation of nsecs to secs
We do the exact same logic moving nsecs to secs in the timekeeper in multiple places, so condense this into a single function. Signed-off-by: John Stultz <[email protected]> Reviewed-by: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Richard Cochran <[email protected]> Cc: Prarit Bhargava <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions