Skip to content

Commit

Permalink
ftrace: fix trace_nop config select
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Oct 29, 2008
1 parent 0b6e4d5 commit f3384b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ config NOP_TRACER

config HAVE_FUNCTION_TRACER
bool
select NOP_TRACER

config HAVE_DYNAMIC_FTRACE
bool
Expand All @@ -28,6 +27,7 @@ config TRACING
select RING_BUFFER
select STACKTRACE
select TRACEPOINTS
select NOP_TRACER

menu "Tracers"

Expand Down

0 comments on commit f3384b2

Please sign in to comment.