Warning: This file is not a C or C++ file. It does not have highlighting.
| 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 | #endif /* ARCH_PERF_REGS_H */ |
| 18 |
Warning: This file is not a C or C++ file. It does not have highlighting.
