summaryrefslogtreecommitdiff
path: root/samples/kprobes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/kprobes/Makefile')
-rw-r--r--samples/kprobes/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/kprobes/Makefile b/samples/kprobes/Makefile
new file mode 100644
index 00000000000..68739bc4fc6
--- /dev/null
+++ b/samples/kprobes/Makefile
@@ -0,0 +1,5 @@
+# builds the kprobes example kernel modules;
+# then to use one (as root): insmod <module_name.ko>
+
+obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o jprobe_example.o
+obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o