42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
From: Andi Kleen <andi@firstfloor.org>
|
|
Subject: Fix stack unwinder Kconfig
|
|
Patch-mainline: no
|
|
References: bnc#402518
|
|
|
|
Incremental patch for dwarf2 unwinder
|
|
|
|
Fix the Kconfigs that do SELECT FRAME_POINTER to do select UNWIND_INFO
|
|
instead.
|
|
|
|
Signed-off-by: Andi Kleen <ak@linux.intel.com>
|
|
Acked-by: Jan Beulich <jbeulich@novell.com>
|
|
|
|
---
|
|
lib/Kconfig.debug | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
--- a/lib/Kconfig.debug
|
|
+++ b/lib/Kconfig.debug
|
|
@@ -1020,17 +1020,19 @@ config FAULT_INJECTION_STACKTRACE_FILTER
|
|
depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
|
|
depends on !X86_64
|
|
select STACKTRACE
|
|
- select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE
|
|
+ select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE && !X86
|
|
+ select UNWIND_INFO if X86 && !FRAME_POINTER
|
|
help
|
|
Provide stacktrace filter for fault-injection capabilities
|
|
|
|
config LATENCYTOP
|
|
bool "Latency measuring infrastructure"
|
|
depends on HAVE_LATENCYTOP_SUPPORT
|
|
depends on DEBUG_KERNEL
|
|
depends on STACKTRACE_SUPPORT
|
|
depends on PROC_FS
|
|
- select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE
|
|
+ select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !X86
|
|
+ select UNWIND_INFO if X86 && !FRAME_POINTER
|
|
select KALLSYMS
|
|
select KALLSYMS_ALL
|
|
select STACKTRACE
|