summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/ptrace.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-04-17 19:16:48 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-30 05:37:27 (GMT)
commit14fb1fa6e266fb9c4622b210d2636a2004a47e2b (patch)
tree32d97ffebb00deb19b581d9bfdb3259ffc34ae07 /arch/powerpc/include/asm/ptrace.h
parentd23c6fb4ebf7d3563dd801c95b22ada4516e35ce (diff)
downloadlinux-fsl-qoriq-14fb1fa6e266fb9c4622b210d2636a2004a47e2b.tar.xz
powerpc: Use WARN instead of dump_stack when printing EEH error backtrace
When we get an EEH error we just print a backtrace with dump_stack which is rather cryptic. We really should print something before spewing out the backtrace. Also switch from dump_stack to WARN so we get more information about the fail - what modules were loaded, what process was running etc. This was useful information when debugging a recent EEH subsystem bug. The standard WARN output should also get picked up by monitoring tools like kerneloops. The register dump is of questionable value here but I figured it was better to use something standard and not roll my own. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ptrace.h')
0 files changed, 0 insertions, 0 deletions