mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
Add PT_REGS macros suitable for ARCompact and ARCv2. Signed-off-by: Vladimir Isaev <[email protected]> Signed-off-by: Sergey Matyukevich <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
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
|