]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c7483d192b0015f9397475c0f642b7c1ec7ddb8
tree73252e537514035fa1ff9c3bb600bccb643a59b9
parent84a5cb80012a6a711d481534ac00cc2eaef07940
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]