diff options
author | Brian Rogan <bcr6@cornell.edu> | 2006-03-27 04:57:01 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-29 06:44:16 +0400 |
commit | 6c6bd754bf43d59756f094de144ecac239629dda (patch) | |
tree | b6cf2a7a3f133d24d22c63ba7bb8f9ebb02a8bab /include/asm-powerpc/oprofile_impl.h | |
parent | b848e0a07dd5a874821bb587bb724fac4aa45bad (diff) | |
download | linux-6c6bd754bf43d59756f094de144ecac239629dda.tar.xz |
[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/asm-powerpc/oprofile_impl.h')
-rw-r--r-- | include/asm-powerpc/oprofile_impl.h | 2 |
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 */ |