6 lines · 244 B · Makefile
RawDownload
# 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.oobj-$(CONFIG_SAMPLE_KRETPROBES) += kretprobe_example.o