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