]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | From: Andi Kleen <andi@firstfloor.org> |
2 | Subject: Fix stack unwinder Kconfig | |
3 | Patch-mainline: no | |
4 | References: bnc#402518 | |
5 | ||
6 | Incremental patch for dwarf2 unwinder | |
7 | ||
8 | Fix the Kconfigs that do SELECT FRAME_POINTER to do select UNWIND_INFO | |
9 | instead. | |
10 | ||
11 | Signed-off-by: Andi Kleen <ak@linux.intel.com> | |
12 | Acked-by: Jan Beulich <jbeulich@novell.com> | |
13 | ||
14 | --- | |
15 | lib/Kconfig.debug | 6 ++++-- | |
16 | 1 file changed, 4 insertions(+), 2 deletions(-) | |
17 | ||
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 | |
22 | depends on !X86_64 | |
23 | select STACKTRACE | |
24 | - select FRAME_POINTER if !PPC | |
25 | + select FRAME_POINTER if !PPC && !X86 | |
26 | + select UNWIND_INFO if X86 && !FRAME_POINTER | |
27 | help | |
28 | Provide stacktrace filter for fault-injection capabilities | |
29 | ||
30 | config LATENCYTOP | |
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 | |
35 | select KALLSYMS | |
36 | select KALLSYMS_ALL | |
37 | select STACKTRACE |