diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-07 05:05:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-07 05:18:59 -0500 |
commit | da4276b8299a6544dc41ac2485d3ffca5811b3fb (patch) | |
tree | 8225c30e900cadb4b5dee86a4f70b189cceb3c12 /lib | |
parent | 0936912274af78a21fd8d54c3f94a50a285cf7f9 (diff) |
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 2e75478e9c69..2d0f14490174 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -566,14 +566,14 @@ config DEBUG_NOTIFIERS | |||
566 | config FRAME_POINTER | 566 | config FRAME_POINTER |
567 | bool "Compile the kernel with frame pointers" | 567 | bool "Compile the kernel with frame pointers" |
568 | depends on DEBUG_KERNEL && \ | 568 | depends on DEBUG_KERNEL && \ |
569 | (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || \ | 569 | (CRIS || M68K || M68KNOMMU || FRV || UML || S390 || \ |
570 | AVR32 || SUPERH || BLACKFIN || MN10300) | 570 | AVR32 || SUPERH || BLACKFIN || MN10300) || \ |
571 | default y if DEBUG_INFO && UML | 571 | ARCH_WANT_FRAME_POINTERS |
572 | help | 572 | default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS |
573 | If you say Y here the resulting kernel image will be slightly larger | 573 | help |
574 | and slower, but it might give very useful debugging information on | 574 | If you say Y here the resulting kernel image will be slightly |
575 | some architectures or if you use external debuggers. | 575 | larger and slower, but it gives very useful debugging information |
576 | If you don't debug the kernel, you can say N. | 576 | in case of kernel bugs. (precise oopses/stacktraces/warnings) |
577 | 577 | ||
578 | config BOOT_PRINTK_DELAY | 578 | config BOOT_PRINTK_DELAY |
579 | bool "Delay each boot printk message by N milliseconds" | 579 | bool "Delay each boot printk message by N milliseconds" |