diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-08-13 10:49:03 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-13 10:49:03 (GMT) |
commit | bf61ad1f870be88676a07bfef69acd59ce10172e (patch) | |
tree | 2fb8817fb76386b3d543d8d02f2cbe5877088e18 /arch/sh/kernel/stacktrace.c | |
parent | 4e14dfc722b8e9e07a355f97aa60a3d9f0739071 (diff) | |
download | linux-fsl-qoriq-bf61ad1f870be88676a07bfef69acd59ce10172e.tar.xz |
sh: Allow multiple stack unwinders to be setup
Provide an interface for registering stack unwinders, where each
unwinder is given a rating that describes its accuracy and
complexity. The more accurate an unwinder is, the more complex it is.
If a the current stack unwinder faults, then the stack unwinder with the
next highest accuracy will be used in its place (provided one is
available). For example, this allows unwinders, such as the DWARF
unwinder, to liberally sprinkle BUG()s to catch badly formed DWARF debug
info.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions