aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2012-07-13 01:21:57 -0400
committerThomas Gleixner <[email protected]>2012-07-15 10:39:07 +0200
commitf726a697d06102e7a1fc0a87308cb30a84580205 (patch)
tree1c70d5187ecb27a0b5e0ae2882d978c8c943211d /tools/perf/util/scripting-engines/trace-event-python.c
parent2a8c0883c3cfffcc148ea606e2a4e7453cd75e73 (diff)
time: Rework timekeeping functions to take timekeeper ptr as argument
As part of cleaning up the timekeeping code, this patch converts a number of internal functions to takei a timekeeper ptr as an argument, so that the internal functions don't access the global timekeeper structure directly. This allows for further optimizations to reduce lock hold time later. This patch has been updated to include more consistent usage of the timekeeper value, by making sure it is always passed as a argument to non top-level functions. 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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions