tracing/infrastructure: separate event tracer from event support
authorTom Zanussi <tzanussi@gmail.com>
Wed, 8 Apr 2009 08:14:01 +0000 (03:14 -0500)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Apr 2009 22:00:55 +0000 (00:00 +0200)
commit5f77a88b3f8268b11940b51d2e03d26a663ceb90
treeb9540f9391b6f03860666193787619b5bdff1375
parent77d9f465d46fd67cdb82ee5e1ab99dd57a17c486
tracing/infrastructure: separate event tracer from event support

Add a new config option, CONFIG_EVENT_TRACING that gets selected
when CONFIG_TRACING is selected and adds everything needed by the stuff
in trace_export - basically all the event tracing support needed by e.g.
bprint, minus the actual events, which are only included if
CONFIG_EVENT_TRACER is selected.

So CONFIG_EVENT_TRACER can be used to turn on or off the generated events
(what I think of as the 'event tracer'), while CONFIG_EVENT_TRACING turns
on or off the base event tracing support used by both the event tracer and
the other things such as bprint that can't be configured out.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: fweisbec@gmail.com
LKML-Reference: <1239178441.10295.34.camel@tropicana>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-generic/vmlinux.lds.h
kernel/trace/Kconfig
kernel/trace/Makefile