diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-17 13:02:22 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-17 16:20:16 -0400 |
commit | b0afdc126d0515e76890f0a5f26b28501cfa298e (patch) | |
tree | 55a03cfffb743583fe02c95a174fdc98a24dd6d7 /include/trace/define_trace.h | |
parent | ac1adc55fc71c7515caa2eb0e63e49b3d1c6a47c (diff) |
tracing/events: enable code with EVENT_TRACING not EVENT_TRACER
The CONFIG_EVENT_TRACER is the way to turn on event tracing when no
other tracing has been configured. All code to get enabled should
depend on CONFIG_EVENT_TRACING. That is what is enabled when TRACING
(or CONFIG_EVENT_TRACER) is selected.
This patch enables the include/trace/ftrace.h file when
CONFIG_EVENT_TRACING is enabled.
[ Impact: fix warning in event tracer selftest ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/define_trace.h')
-rw-r--r-- | include/trace/define_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h index 18869417109c..7f1f23d601ec 100644 --- a/include/trace/define_trace.h +++ b/include/trace/define_trace.h | |||
@@ -56,7 +56,7 @@ | |||
56 | 56 | ||
57 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) | 57 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) |
58 | 58 | ||
59 | #ifdef CONFIG_EVENT_TRACER | 59 | #ifdef CONFIG_EVENT_TRACING |
60 | #include <trace/ftrace.h> | 60 | #include <trace/ftrace.h> |
61 | #endif | 61 | #endif |
62 | 62 | ||