diff options
author | Frederic Weisbecker <[email protected]> | 2010-01-14 08:23:15 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-01-17 08:06:25 +0100 |
commit | 24a53652e361321b09df5040711e69387344ce09 (patch) | |
tree | 9db320478f5233ee4b427292cc57ad4b3a66fefb /tools/perf/util/trace-event-scripting.c | |
parent | d931369b74b3d6f2044f595af6f3dd074f65d9cf (diff) |
tracing: Drop the tr check from the graph tracing path
Each time we save a function entry from the function graph
tracer, we check if the trace array is set, which is wasteful
because it is set anyway before we start the tracer. All we need
is to ensure we have good read and write orderings. When we set
the trace array, we just need to guarantee it to be visible
before starting tracing.
Signed-off-by: Frederic Weisbecker <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Paul E. McKenney <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions