Commit graph android_kernel_sony_sdm845/arch/sh/kernel/dumpstack.c
Message SHA1
sh: flag the default unwinder as reliable.
This flags the default unwinder as reliable, as it tends to be reliable
enough for the purposes of the stacktrace buffer. We leave the unreliable
cases for the unwind methods that we know to be completely broken.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

Paul Mundt   commited 2009-08-15 01:09:03 +09:00
f9967e23c1
sh: Use the new stack unwinder API
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>

Matt Fleming   authored and   Paul Mundt   commited 2009-08-13 19:52:53 +09:00
0eff9f66de
sh: Use the generalized stacktrace ops
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>

Matt Fleming   authored and   Paul Mundt   commited 2009-08-13 11:50:08 +09:00
4e14dfc722