]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: fix trace_nop config select
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 29 Oct 2008 15:15:57 +0000 (11:15 -0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Oct 2008 16:21:05 +0000 (17:21 +0100)
commitd52c8d0a82367a78d245d6eff3f4837ec0f67198
treee5fa8281ef1e4a9e638160204291556d42ed8a06
parent467633c12ea1dca4771da1935f74ed0e53b2da0b
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 <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/Kconfig