1 // SPDX-License-Identifier: GPL-2.0
3 #include <bpf/bpf_helpers.h>
4 #include <bpf/bpf_tracing.h>
6 char _license[] SEC("license") = "GPL";
9 * No tests in here, just to trigger 'bpf_fentry_test*'
10 * through tracing test_run
12 SEC("fentry/bpf_modify_return_test")
18 SEC("kprobe/bpf_fentry_test1")
19 int test1(struct pt_regs *ctx)
25 SEC("tp/bpf_trace/bpf_trace_printk")
26 int test2(struct pt_regs *ctx)
31 SEC("tp/bpf_trace/bpf_trace_printk")
32 int test3(struct pt_regs *ctx)
37 SEC("tp/bpf_trace/bpf_trace_printk")
38 int test4(struct pt_regs *ctx)