summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Rogan <bcr6@cornell.edu>2006-03-27 11:57:01 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-29 13:44:16 +1100
commit6c6bd754bf43d59756f094de144ecac239629dda (patch)
treeb6cf2a7a3f133d24d22c63ba7bb8f9ebb02a8bab /include
parentb848e0a07dd5a874821bb587bb724fac4aa45bad (diff)
[PATCH] powerpc: Add oprofile calltrace support
Add oprofile calltrace support to powerpc. Disable spinlock backtracing now we can use calltrace info. (Updated to work on both 32bit and 64bit by me). Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/oprofile_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/oprofile_impl.h b/include/asm-powerpc/oprofile_impl.h
index df4defc6321c..aa180e907a67 100644
--- a/include/asm-powerpc/oprofile_impl.h
+++ b/include/asm-powerpc/oprofile_impl.h
@@ -126,5 +126,7 @@ static inline void ctr_write(unsigned int i, unsigned int val)
}
#endif /* !CONFIG_FSL_BOOKE */
+extern void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth);
+
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_OPROFILE_IMPL_H */