summaryrefslogtreecommitdiffstats
path: root/samples/kprobes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/kprobes/Makefile')
-rw-r--r--samples/kprobes/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/samples/kprobes/Makefile b/samples/kprobes/Makefile
new file mode 100644
index 0000000000..e774592718
--- /dev/null
+++ b/samples/kprobes/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
+# builds the kprobes example kernel modules;
+# then to use one (as root): insmod <module_name.ko>
+
+obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o
+obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o