diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-05-28 15:50:13 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-06-01 23:23:30 -0400 |
commit | 5e0a093910876882f91f1d4b8a1635a099e6c7ba (patch) | |
tree | 2e9fb5caa629c2f1f77f82a78863366b82ad05f6 /drivers/dma | |
parent | 2af15d6a44b871ad4c2a651302374cde8f335480 (diff) | |
download | blackbird-op-linux-5e0a093910876882f91f1d4b8a1635a099e6c7ba.tar.gz blackbird-op-linux-5e0a093910876882f91f1d4b8a1635a099e6c7ba.zip |
tracing: fix config options to not show when automatically selected
There are two options that are selected by all tracers, but we want
to have those options available when no tracer is selected. These are
The event tracer and sched switch tracer.
The are enabled by all tracers, but if a tracer is not selected we want
the options to appear. All tracers including them select TRACING.
Thus what we would like to do is:
config EVENT_TRACER
bool "prompt"
depends on TRACING
select TRACING
But that gives us a bug in the kbuild system since we just created a
circular dependency. We only want the prompt to show when TRACING is off.
This patch adds GENERIC_TRACER that all tracers will select instead of
TRACING. The two options (sched switch and event tracer) will select
TRACING directly and depend on !GENERIC_TRACER. This solves the cicular
dependency.
[ Impact: hide options that are selected by default ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions