a39cada702
Correct the broken uapi for the BPF_PROG_TYPE_PERF_EVENT program type by exporting the user_pt_regs structure instead of the pt_regs structure that is in-kernel only. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Cc: Will Deacon <will.deacon@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
9 lines
233 B
C
9 lines
233 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _UAPI__ASM_BPF_PERF_EVENT_H__
|
|
#define _UAPI__ASM_BPF_PERF_EVENT_H__
|
|
|
|
#include <asm/ptrace.h>
|
|
|
|
typedef struct user_pt_regs bpf_user_pt_regs_t;
|
|
|
|
#endif /* _UAPI__ASM_BPF_PERF_EVENT_H__ */
|