diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-15 01:37:03 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-04-15 02:09:18 (GMT) |
commit | 9cfe06f8cd5c8c3ad6ab323973e87dde670642b8 (patch) | |
tree | 94348ca2c013264e45d352d208c4a6dc9c221eef /samples/trace_events/Makefile | |
parent | ad8d75fff811a6a230f7f43b05a6483099349533 (diff) | |
download | linux-fsl-qoriq-9cfe06f8cd5c8c3ad6ab323973e87dde670642b8.tar.xz |
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 0000000..06c6dea --- /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 |