1 2 3 4 5
# 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