xref: /linux/samples/kprobes/Makefile (revision c4bbe83d27c2446a033cc0381c3fb6be5e8c41c7)
1# SPDX-License-Identifier: GPL-2.0-only
2# builds the kprobes example kernel modules;
3# then to use one (as root):  insmod <module_name.ko>
4
5obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o
6obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o
7