1# builds the kprobes example kernel modules; 2# then to use one (as root): insmod <module_name.ko> 3 4obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o jprobe_example.o 5obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o 6
1# builds the kprobes example kernel modules; 2# then to use one (as root): insmod <module_name.ko> 3 4obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o jprobe_example.o 5obj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o 6