diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-07 10:05:10 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-07 10:18:59 (GMT) |
commit | da4276b8299a6544dc41ac2485d3ffca5811b3fb (patch) | |
tree | 8225c30e900cadb4b5dee86a4f70b189cceb3c12 /lib | |
parent | 0936912274af78a21fd8d54c3f94a50a285cf7f9 (diff) | |
download | linux-da4276b8299a6544dc41ac2485d3ffca5811b3fb.tar.xz |
x86: offer frame pointers in all build modes
CONFIG_FRAME_POINTERS=y results in much better debug info for the
kernel (clear and precise backtraces), with the only drawback being
a ~1% increase in kernel size.
So offer it unconditionally and enable it by default.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 2e75478..2d0f144 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -566,14 +566,14 @@ config DEBUG_NOTIFIERS config FRAME_POINTER bool "Compile the kernel with frame pointers" depends on DEBUG_KERNEL && \ - (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || \ - AVR32 || SUPERH || BLACKFIN || MN10300) - default y if DEBUG_INFO && UML - help - If you say Y here the resulting kernel image will be slightly larger - and slower, but it might give very useful debugging information on - some architectures or if you use external debuggers. - If you don't debug the kernel, you can say N. + (CRIS || M68K || M68KNOMMU || FRV || UML || S390 || \ + AVR32 || SUPERH || BLACKFIN || MN10300) || \ + ARCH_WANT_FRAME_POINTERS + default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS + help + If you say Y here the resulting kernel image will be slightly + larger and slower, but it gives very useful debugging information + in case of kernel bugs. (precise oopses/stacktraces/warnings) config BOOT_PRINTK_DELAY bool "Delay each boot printk message by N milliseconds" |