qubes-linux-kernel/patches.suse/no-frame-pointer-select
2010-07-07 13:12:45 +02:00

38 lines
1.1 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
@@ -965,13 +965,15 @@ 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
+ select FRAME_POINTER if !PPC && !S390 && !X86
+ select UNWIND_INFO if X86 && !FRAME_POINTER
help
Provide stacktrace filter for fault-injection capabilities
config LATENCYTOP
bool "Latency measuring infrastructure"
- select FRAME_POINTER if !MIPS && !PPC && !S390
+ select FRAME_POINTER if !MIPS && !PPC && !S390 && !X86
+ select UNWIND_INFO if X86 && !FRAME_POINTER
select KALLSYMS
select KALLSYMS_ALL
select STACKTRACE