perf trace: Migrate BPF augmentation to use a skeleton
[platform/kernel/linux-starfive.git] / tools / perf / examples / bpf / empty.c
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/bpf.h>
3 #include <bpf/bpf_helpers.h>
4
5 struct syscall_enter_args;
6
7 SEC("raw_syscalls:sys_enter")
8 int sys_enter(struct syscall_enter_args *args)
9 {
10         return 0;
11 }
12 char _license[] SEC("license") = "GPL";