aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/oprofile/op_arm_model.h
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-06-28 21:01:03 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-06-28 21:01:03 +0100
commitfa0ebff62a8a25952a082641db0ed6b1cfc6c38c (patch)
treee7600dd94511b958a9fb315b6c0e924e8744f5ae /arch/arm/oprofile/op_arm_model.h
parent99f95e5286df2f69edab8a04c7080d986ee4233b (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.h2
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 2d4caf4781a..2148d07484b 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 {
extern struct op_arm_model_spec op_xscale_spec;
#endif
+extern void arm_backtrace(struct pt_regs * const regs, unsigned int depth);
+
extern int __init pmu_init(struct oprofile_operations *ops, struct op_arm_model_spec *spec);
extern void pmu_exit(void);
#endif /* OP_ARM_MODEL_H */