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 <[email protected]>
This commit is contained in:
Steven Rostedt 2009-04-14 21:37:03 -04:00 • committed by Steven Rostedt
commit 9cfe06f8cd
5 changed files with 196 additions and 1 deletions

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