6aa98f6217
Define appropriate uapi for the BPF_PROG_TYPE_PERF_EVENT program type by exporting the user_regs_struct structure instead of the pt_regs structure that is in-kernel only. Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@kernel.org>
10 lines
261 B
C
10 lines
261 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__
|
|
#define _UAPI__ASM_BPF_PERF_EVENT_H__
|
|
|
|
#include <asm/ptrace.h>
|
|
|
|
typedef struct user_regs_struct bpf_user_pt_regs_t;
|
|
|
|
#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */
|