x86/unwind: Dump stack data on warnings
authorJosh Poimboeuf <jpoimboe@redhat.com>
Fri, 16 Dec 2016 16:05:06 +0000 (10:05 -0600)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Dec 2016 10:47:05 +0000 (11:47 +0100)
commit8b5e99f02264130782a10ba5c0c759797fb064ee
tree827075dc8ee236295639917752650c96df2884e9
parent8023e0e2a48d45e8d5363081fad9f7ed4402f953
x86/unwind: Dump stack data on warnings

The unwinder warnings are good at finding unexpected unwinder issues,
but they often don't give enough data to be able to fully diagnose them.
Print a one-time stack dump when a warning is detected.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/15607370e3ddb1732b6a73d5c65937864df16ac8.1481904011.git.jpoimboe@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/unwind.h
arch/x86/kernel/unwind_frame.c