diff options
author | Brian Rogan <bcr6@cornell.edu> | 2006-03-26 19:57:01 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-28 21:44:16 -0500 |
commit | 6c6bd754bf43d59756f094de144ecac239629dda (patch) | |
tree | b6cf2a7a3f133d24d22c63ba7bb8f9ebb02a8bab /include/asm-powerpc/oprofile_impl.h | |
parent | b848e0a07dd5a874821bb587bb724fac4aa45bad (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/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) | |||
126 | } | 126 | } |
127 | #endif /* !CONFIG_FSL_BOOKE */ | 127 | #endif /* !CONFIG_FSL_BOOKE */ |
128 | 128 | ||
129 | extern void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth); | ||
130 | |||
129 | #endif /* __KERNEL__ */ | 131 | #endif /* __KERNEL__ */ |
130 | #endif /* _ASM_POWERPC_OPROFILE_IMPL_H */ | 132 | #endif /* _ASM_POWERPC_OPROFILE_IMPL_H */ |