diff options
author | Namhyung Kim <[email protected]> | 2012-12-27 11:49:45 +0900 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-01-30 11:02:05 -0500 |
commit | 5e67b51e3fb22ad43faf9589e9019ad9c6a00413 (patch) | |
tree | 31e55312ca60e9efa447abdeaeb6ca1546a14673 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ad964704ba9326d027fc10fd0099b7c880e50172 (diff) |
tracing: Use sched_clock_cpu for trace_clock_global
For systems with an unstable sched_clock, all cpu_clock() does is enable/
disable local irq during the call to sched_clock_cpu(). And for stable
systems they are same.
trace_clock_global() already disables interrupts, so it can call
sched_clock_cpu() directly.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions