diff options
| author | Steven Rostedt <[email protected]> | 2010-10-19 14:56:19 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2010-10-19 14:56:19 +0000 |
| commit | 7e40798f406fe73f9bac496a390daabd8768a8f7 (patch) | |
| tree | c75eee47b3d324218c53bf4f6af5b2fa9780d1db /tools/perf/scripts/python/check-perf-trace.py | |
| parent | tracing: Remove parent recording in latency tracer graph options (diff) | |
| download | kernel-7e40798f406fe73f9bac496a390daabd8768a8f7.tar.gz kernel-7e40798f406fe73f9bac496a390daabd8768a8f7.zip | |
tracing: Fix compile issue for trace_sched_wakeup.c
The function start_func_tracer() was incorrectly added in the
#ifdef CONFIG_FUNCTION_TRACER condition, but is still used even
when function tracing is not enabled.
The calls to register_ftrace_function() and register_ftrace_graph()
become nops (and their arguments are even ignored), thus there is
no reason to hide start_func_tracer() when function tracing is
not enabled.
Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
