mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-06 05:44:20 +08:00
0738599856
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
12 lines
398 B
C
12 lines
398 B
C
#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)
|
|
#include "../../arch/riscv/include/uapi/asm/bpf_perf_event.h"
|
|
#else
|
|
#include <uapi/asm-generic/bpf_perf_event.h>
|
|
#endif
|