From: Steven Rostedt Date: Wed, 29 Oct 2008 15:15:57 +0000 (-0400) Subject: ftrace: fix trace_nop config select X-Git-Tag: upstream/snapshot3+hdmi~21704^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3384b28a05624783b53836ccfed95ecde66a7ad;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ftrace: fix trace_nop config select Impact: build fix on non-function-tracing architectures The trace_nop is the tracer that is defined when no tracer is set in the ftrace infrastructure. The trace_nop was mistakenly selected by HAVE_FTRACE due to the confusion between ftrace infrastructure and the ftrace function tracer (which has been solved by renaming the function tracer). This patch changes the select to the approriate TRACING. This patch should fix compile errors on architectures that do not define the FUNCTION_TRACER. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index e0cea28..b58f43b 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -8,7 +8,6 @@ config NOP_TRACER config HAVE_FUNCTION_TRACER bool - select NOP_TRACER config HAVE_DYNAMIC_FTRACE bool @@ -28,6 +27,7 @@ config TRACING select RING_BUFFER select STACKTRACE select TRACEPOINTS + select NOP_TRACER menu "Tracers"