summaryrefslogtreecommitdiffstats
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-10-19 10:56:19 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-10-19 10:56:19 -0400
commit7e40798f406fe73f9bac496a390daabd8768a8f7 (patch)
treec75eee47b3d324218c53bf4f6af5b2fa9780d1db /block/blk-integrity.c
parent78c89ba121221d9224a5747803d7fffe51cd6e44 (diff)
downloadlinux-7e40798f406fe73f9bac496a390daabd8768a8f7.tar.bz2
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 <mingo@elte.hu> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions