diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-06-28 16:01:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-06-28 16:01:03 -0400 |
commit | fa0ebff62a8a25952a082641db0ed6b1cfc6c38c (patch) | |
tree | e7600dd94511b958a9fb315b6c0e924e8744f5ae /arch/arm/oprofile/op_arm_model.h | |
parent | 99f95e5286df2f69edab8a04c7080d986ee4233b (diff) |
[PATCH] ARM: 2761/1: OProfile: Add call graphing support for arm
Patch from Richard Purdie
Add functions to generate backtraces of both kernel and user processes
which allows oprofile's call graphing functionality to be used on arm.
This requires unstripped binaries/libs which use a frame pointer.
Signed-off-by: Richard Purdie
Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/op_arm_model.h')
-rw-r--r-- | arch/arm/oprofile/op_arm_model.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/oprofile/op_arm_model.h b/arch/arm/oprofile/op_arm_model.h index 2d4caf4781ad..2148d07484b7 100644 --- a/arch/arm/oprofile/op_arm_model.h +++ b/arch/arm/oprofile/op_arm_model.h | |||
@@ -24,6 +24,8 @@ struct op_arm_model_spec { | |||
24 | extern struct op_arm_model_spec op_xscale_spec; | 24 | extern struct op_arm_model_spec op_xscale_spec; |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | extern void arm_backtrace(struct pt_regs * const regs, unsigned int depth); | ||
28 | |||
27 | extern int __init pmu_init(struct oprofile_operations *ops, struct op_arm_model_spec *spec); | 29 | extern int __init pmu_init(struct oprofile_operations *ops, struct op_arm_model_spec *spec); |
28 | extern void pmu_exit(void); | 30 | extern void pmu_exit(void); |
29 | #endif /* OP_ARM_MODEL_H */ | 31 | #endif /* OP_ARM_MODEL_H */ |