From: Steven Rostedt Date: Tue, 19 Oct 2010 14:56:19 +0000 (-0400) Subject: tracing: Fix compile issue for trace_sched_wakeup.c X-Git-Tag: v2.6.37-rc1~214^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e40798f406fe73f9bac496a390daabd8768a8f7;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed