diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-14 21:37:03 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-14 22:09:18 -0400 |
commit | 9cfe06f8cd5c8c3ad6ab323973e87dde670642b8 (patch) | |
tree | 94348ca2c013264e45d352d208c4a6dc9c221eef /samples/trace_events/Makefile | |
parent | ad8d75fff811a6a230f7f43b05a6483099349533 (diff) |
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>
Diffstat (limited to 'samples/trace_events/Makefile')
-rw-r--r-- | samples/trace_events/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/trace_events/Makefile b/samples/trace_events/Makefile new file mode 100644 index 000000000000..06c6dea1eb84 --- /dev/null +++ b/samples/trace_events/Makefile | |||
@@ -0,0 +1,8 @@ | |||
1 | # builds the trace events example kernel modules; | ||
2 | # then to use one (as root): insmod <module_name.ko> | ||
3 | |||
4 | PWD := $(shell pwd) | ||
5 | |||
6 | CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/ | ||
7 | |||
8 | obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o | ||