diff options
author | Minho Ban <[email protected]> | 2012-05-07 11:36:00 +0900 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2012-05-08 09:33:52 -0400 |
commit | b02ee9a33b65bcc4ad13c12a0b04afdaab3ddd8d (patch) | |
tree | bf634618536dd15ffb8d0129efeb7aac312279c6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 19631cb3d67c24c8b1fa58bc69bc2fed8d15095d (diff) |
tracing: Prevent wasting time evaluating parameters in trace_preempt_on/off
This fixes spending time for evaluating parameters in trace_preempt_on/off when
the tracer config is off.
The patch mainly inspired by Steven Rostedt, thanks Steven.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Hidetoshi Seto <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Josh Triplett <[email protected]>
Signed-off-by: Minho Ban <[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