9cfe06f8cd
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>
9 lines
249 B
Makefile
9 lines
249 B
Makefile
# 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
|