mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
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]>
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
|