ARC: bpf: define uapi for BPF_PROG_TYPE_PERF_EVENT program type
authorSergey Matyukevich <sergey.matyukevich@synopsys.com>
Thu, 14 Apr 2022 08:11:26 +0000 (11:11 +0300)
committerVineet Gupta <vgupta@kernel.org>
Tue, 26 Apr 2022 16:35:28 +0000 (09:35 -0700)
commit6aa98f6217861889523e38b0141c8c71b2ef8a83
tree73252e537514035fa1ff9c3bb600bccb643a59b9
parent9a78a8a8bb582743ce6747d978b58360c3c599d9
ARC: bpf: define uapi for BPF_PROG_TYPE_PERF_EVENT program type

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>
arch/arc/include/asm/perf_event.h
arch/arc/include/uapi/asm/bpf_perf_event.h [new file with mode: 0644]