mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
49863894db
This patch implements the functions required for the perf registers API, allowing the perf tool to interface kernel register dumps with libunwind in order to provide userspace backtracing. Cc: Jean Pihet <jean.pihet@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
24 lines
431 B
C
24 lines
431 B
C
#ifndef _ASM_ARM_PERF_REGS_H
|
|
#define _ASM_ARM_PERF_REGS_H
|
|
|
|
enum perf_event_arm_regs {
|
|
PERF_REG_ARM_R0,
|
|
PERF_REG_ARM_R1,
|
|
PERF_REG_ARM_R2,
|
|
PERF_REG_ARM_R3,
|
|
PERF_REG_ARM_R4,
|
|
PERF_REG_ARM_R5,
|
|
PERF_REG_ARM_R6,
|
|
PERF_REG_ARM_R7,
|
|
PERF_REG_ARM_R8,
|
|
PERF_REG_ARM_R9,
|
|
PERF_REG_ARM_R10,
|
|
PERF_REG_ARM_FP,
|
|
PERF_REG_ARM_IP,
|
|
PERF_REG_ARM_SP,
|
|
PERF_REG_ARM_LR,
|
|
PERF_REG_ARM_PC,
|
|
PERF_REG_ARM_MAX,
|
|
};
|
|
#endif /* _ASM_ARM_PERF_REGS_H */
|