diff options
author | Vladimir Isaev <isaev@synopsys.com> | 2022-04-09 01:44:42 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-04-10 18:53:37 -0700 |
commit | 0738599856542bab0ebcd73cab9d8f15bddedcee (patch) | |
tree | 8bd5ae52f6fe97251f624b0aa06698f32a1e0e8b /tools/include/uapi/asm/bpf_perf_event.h | |
parent | 34ba23b44c664792a4308ec37b5788a3162944ec (diff) | |
download | lwn-0738599856542bab0ebcd73cab9d8f15bddedcee.tar.gz lwn-0738599856542bab0ebcd73cab9d8f15bddedcee.zip |
libbpf: Add ARC support to bpf_tracing.h
Add PT_REGS macros suitable for ARCompact and ARCv2.
Signed-off-by: Vladimir Isaev <isaev@synopsys.com>
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20220408224442.599566-1-geomatsi@gmail.com
Diffstat (limited to 'tools/include/uapi/asm/bpf_perf_event.h')
-rw-r--r-- | tools/include/uapi/asm/bpf_perf_event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/uapi/asm/bpf_perf_event.h b/tools/include/uapi/asm/bpf_perf_event.h index 39acc149d843..d7dfeab0d71a 100644 --- a/tools/include/uapi/asm/bpf_perf_event.h +++ b/tools/include/uapi/asm/bpf_perf_event.h @@ -1,5 +1,7 @@ #if defined(__aarch64__) #include "../../arch/arm64/include/uapi/asm/bpf_perf_event.h" +#elif defined(__arc__) +#include "../../arch/arc/include/uapi/asm/bpf_perf_event.h" #elif defined(__s390__) #include "../../arch/s390/include/uapi/asm/bpf_perf_event.h" #elif defined(__riscv) |