[MIPS] dump_stack() based on prologue code analysis
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 29 Jul 2006 14:27:20 +0000 (23:27 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:06 +0000 (13:37 +0100)
commitf66686f70a2a61e53ee8c2284f75ca342e4c0dc8
tree881e98d7255770314dde60109a316cf9f84522b2
parent79495d876c2074af5552a0c4b7aea600c2320e83
[MIPS] dump_stack() based on prologue code analysis

Instead of dump all possible address in the stack, unwind the stack frame
based on prologue code analysis, as like as get_wchan() does.  While the
code analysis might fail for some reason, there is a new kernel option
"raw_show_trace" to disable this feature.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/process.c
arch/mips/kernel/traps.c