tracing/events: add trace-events-sample

This patch adds a sample to the samples directory on how to create
and use TRACE_EVENT trace points.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
Steven Rostedt
2009-04-14 21:37:03 -04:00
committed by Steven Rostedt
parent ad8d75fff8
commit 9cfe06f8cd
5 changed files with 196 additions and 1 deletions
+7
View File
@@ -19,6 +19,13 @@ config SAMPLE_TRACEPOINTS
help
This build tracepoints example modules.
config SAMPLE_TRACE_EVENTS
tristate "Build trace_events examples"
depends on EVENT_TRACING
default m
help
This build trace event example modules.
config SAMPLE_KOBJECT
tristate "Build kobject examples"
help