1 From: Andi Kleen <andi@firstfloor.org>
2 Subject: Fix stack unwinder Kconfig
6 Incremental patch for dwarf2 unwinder
8 Fix the Kconfigs that do SELECT FRAME_POINTER to do select UNWIND_INFO
11 Signed-off-by: Andi Kleen <ak@linux.intel.com>
12 Acked-by: Jan Beulich <jbeulich@novell.com>
15 lib/Kconfig.debug | 6 ++++--
16 1 file changed, 4 insertions(+), 2 deletions(-)
18 --- a/lib/Kconfig.debug
19 +++ b/lib/Kconfig.debug
20 @@ -694,13 +694,15 @@ config FAULT_INJECTION_STACKTRACE_FILTER
21 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
24 - select FRAME_POINTER if !PPC
25 + select FRAME_POINTER if !PPC && !X86
26 + select UNWIND_INFO if X86 && !FRAME_POINTER
28 Provide stacktrace filter for fault-injection capabilities
31 bool "Latency measuring infrastructure"
32 - select FRAME_POINTER if !MIPS && !PPC
33 + select FRAME_POINTER if !MIPS && !PPC && !X86
34 + select UNWIND_INFO if X86 && !FRAME_POINTER