mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-09 02:51:11 +01:00
Add missing uapi header the BPF_PROG_TYPE_PERF_EVENT programs by exporting struct user_regs_struct instead of struct pt_regs which is in-kernel only. Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
10 lines
315 B
C
10 lines
315 B
C
#if defined(__aarch64__)
|
|
#include "../../arch/arm64/include/uapi/asm/bpf_perf_event.h"
|
|
#elif defined(__s390__)
|
|
#include "../../arch/s390/include/uapi/asm/bpf_perf_event.h"
|
|
#elif defined(__riscv)
|
|
#include "../../arch/riscv/include/uapi/asm/bpf_perf_event.h"
|
|
#else
|
|
#include <uapi/asm-generic/bpf_perf_event.h>
|
|
#endif
|