tracing/events: enable code with EVENT_TRACING not EVENT_TRACER
authorSteven Rostedt <srostedt@redhat.com>
Fri, 17 Apr 2009 17:02:22 +0000 (13:02 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 17 Apr 2009 20:20:16 +0000 (16:20 -0400)
commitb0afdc126d0515e76890f0a5f26b28501cfa298e
tree55a03cfffb743583fe02c95a174fdc98a24dd6d7
parentac1adc55fc71c7515caa2eb0e63e49b3d1c6a47c
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>
include/trace/define_trace.h