1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2023 Yafang Shao <laoar.shao@gmail.com> */
5 #include <bpf/bpf_tracing.h>
8 extern bool CONFIG_X86_KERNEL_IBT __kconfig __weak;
10 /* This function is here to have CONFIG_X86_KERNEL_IBT
11 * used and added to object BTF.
15 return CONFIG_X86_KERNEL_IBT ? 0 : 1;
19 int BPF_PROG(kprobe_run)
25 int BPF_PROG(uprobe_run)
37 int BPF_PROG(kmulti_run)
42 char _license[] SEC("license") = "GPL";