OSDN Git Service

perf/x86/uncore: Correct the number of CHAs on EMR
[tomoyo/tomoyo-test1.git] / tools / perf / arch / arm64 / include / perf_regs.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_PERF_REGS_H
3 #define ARCH_PERF_REGS_H
4
5 #include <stdlib.h>
6 #include <linux/types.h>
7 #define perf_event_arm_regs perf_event_arm64_regs
8 #include <asm/perf_regs.h>
9 #undef perf_event_arm_regs
10
11 void perf_regs_load(u64 *regs);
12
13 #define PERF_REGS_MASK  ((1ULL << PERF_REG_ARM64_MAX) - 1)
14 #define PERF_REGS_MAX   PERF_REG_ARM64_MAX
15 #define PERF_SAMPLE_REGS_ABI    PERF_SAMPLE_REGS_ABI_64
16
17 #define PERF_REG_IP     PERF_REG_ARM64_PC
18 #define PERF_REG_SP     PERF_REG_ARM64_SP
19
20 #endif /* ARCH_PERF_REGS_H */