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) | |
download | linux-3.10-9cfe06f8cd5c8c3ad6ab323973e87dde670642b8.tar.gz linux-3.10-9cfe06f8cd5c8c3ad6ab323973e87dde670642b8.tar.bz2 linux-3.10-9cfe06f8cd5c8c3ad6ab323973e87dde670642b8.zip |
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 00000000000..06c6dea1eb8 --- /dev/null +++ b/samples/trace_events/Makefile @@ -0,0 +1,8 @@ +# builds the trace events example kernel modules; +# then to use one (as root): insmod <module_name.ko> + +PWD := $(shell pwd) + +CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/ + +obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o |