summaryrefslogtreecommitdiffstats
path: root/arch/sh/oprofile/backtrace.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sh64: oprofile: Fix up kernel stack pointer size mismatch.Paul Mundt2010-10-271-1/+1
| | | | | | | | | For the backtrace code its assumed that the stack pointer is 32-bits, which is not the case with the sh64 registers. Use the shared kernel_stack_pointer() helper to get at the actual register, which already takes care of the necessary typecasting. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: oprofile: Kill off dead valid_kernel_stack().Paul Mundt2009-08-131-27/+0
| | | | | | This is no longer used, kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Use the new stack unwinder APIMatt Fleming2009-08-131-2/+3
| | | | | | | | | | Instead of implementing our own stack unwinder via dump_trace() we should use the new stack unwinder API because it is more modular. This change allows us to decouple the interface for generating stacktraces from the implementation of a stack unwinder. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Use the generalized stacktrace opsMatt Fleming2009-08-131-20/+36
| | | | | | | | Copy the stacktrace ops code from x86 and provide a central function for use by functions that need to dump a callstack. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: oprofile: Fix up the module build.Paul Mundt2008-12-221-5/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: oprofile: Backtrace support.Dave Peverley2008-12-221-0/+118
This patch improves the oprofile support on sh and adds backtrace support. Signed-off-by: Dave Peverley <dpeverley@mpc-data.co.uk> Signed-off-by: Chris Smith <chris.smith@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>