tracing/ftrace: make nop tracer using tracer flags
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 17 Nov 2008 18:26:30 +0000 (19:26 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Nov 2008 10:10:59 +0000 (11:10 +0100)
commit0619faf657806b943e6acf51f60f1cd023a96c78
tree4b7a6e13ff4851a8719189d27c3ce8d3e91ac62d
parentadf9f19574334c9a29a2bc956009fcac7edf1a6b
tracing/ftrace: make nop tracer using tracer flags

Impact: give an example on how to use specific tracer flags

This patch propose to use the nop tracer to provide an
example for using the tracer's custom flags implementation.

V2: replace structures and defines just after the headers includes for
    cleanliness.
V3: replace defines by enum values.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Steven Noonan <steven@uplinklabs.net>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_nop.c