2010-07-07 11:12:45 +00:00
|
|
|
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
|
2011-04-19 20:09:59 +00:00
|
|
|
@@ -1020,17 +1020,19 @@ config FAULT_INJECTION_STACKTRACE_FILTER
|
2010-07-07 11:12:45 +00:00
|
|
|
depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
|
|
|
|
depends on !X86_64
|
|
|
|
select STACKTRACE
|
2011-04-19 20:09:59 +00:00
|
|
|
- select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE
|
|
|
|
+ select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE && !X86
|
2010-07-07 11:12:45 +00:00
|
|
|
+ select UNWIND_INFO if X86 && !FRAME_POINTER
|
|
|
|
help
|
|
|
|
Provide stacktrace filter for fault-injection capabilities
|
|
|
|
|
|
|
|
config LATENCYTOP
|
|
|
|
bool "Latency measuring infrastructure"
|
2011-04-19 20:09:59 +00:00
|
|
|
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
|
2010-07-07 11:12:45 +00:00
|
|
|
+ select UNWIND_INFO if X86 && !FRAME_POINTER
|
|
|
|
select KALLSYMS
|
|
|
|
select KALLSYMS_ALL
|
|
|
|
select STACKTRACE
|