aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug43
1 files changed, 23 insertions, 20 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2e75478e9c69..29044f500269 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -512,6 +512,13 @@ config DEBUG_VIRTUAL
512 512
513 If unsure, say N. 513 If unsure, say N.
514 514
515config DEBUG_NOMMU_REGIONS
516 bool "Debug the global anon/private NOMMU mapping region tree"
517 depends on DEBUG_KERNEL && !MMU
518 help
519 This option causes the global tree of anonymous and private mapping
520 regions to be regularly checked for invalid topology.
521
515config DEBUG_WRITECOUNT 522config DEBUG_WRITECOUNT
516 bool "Debug filesystem writers count" 523 bool "Debug filesystem writers count"
517 depends on DEBUG_KERNEL 524 depends on DEBUG_KERNEL
@@ -563,17 +570,26 @@ config DEBUG_NOTIFIERS
563 This is a relatively cheap check but if you care about maximum 570 This is a relatively cheap check but if you care about maximum
564 performance, say N. 571 performance, say N.
565 572
573#
574# Select this config option from the architecture Kconfig, if it
575# it is preferred to always offer frame pointers as a config
576# option on the architecture (regardless of KERNEL_DEBUG):
577#
578config ARCH_WANT_FRAME_POINTERS
579 bool
580 help
581
566config FRAME_POINTER 582config FRAME_POINTER
567 bool "Compile the kernel with frame pointers" 583 bool "Compile the kernel with frame pointers"
568 depends on DEBUG_KERNEL && \ 584 depends on DEBUG_KERNEL && \
569 (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || \ 585 (CRIS || M68K || M68KNOMMU || FRV || UML || S390 || \
570 AVR32 || SUPERH || BLACKFIN || MN10300) 586 AVR32 || SUPERH || BLACKFIN || MN10300) || \
571 default y if DEBUG_INFO && UML 587 ARCH_WANT_FRAME_POINTERS
588 default y if (DEBUG_INFO && UML) || ARCH_WANT_FRAME_POINTERS
572 help 589 help
573 If you say Y here the resulting kernel image will be slightly larger 590 If you say Y here the resulting kernel image will be slightly
574 and slower, but it might give very useful debugging information on 591 larger and slower, but it gives very useful debugging information
575 some architectures or if you use external debuggers. 592 in case of kernel bugs. (precise oopses/stacktraces/warnings)
576 If you don't debug the kernel, you can say N.
577 593
578config BOOT_PRINTK_DELAY 594config BOOT_PRINTK_DELAY
579 bool "Delay each boot printk message by N milliseconds" 595 bool "Delay each boot printk message by N milliseconds"
@@ -626,19 +642,6 @@ config RCU_TORTURE_TEST_RUNNABLE
626 642
627config RCU_CPU_STALL_DETECTOR 643config RCU_CPU_STALL_DETECTOR
628 bool "Check for stalled CPUs delaying RCU grace periods" 644 bool "Check for stalled CPUs delaying RCU grace periods"
629 depends on CLASSIC_RCU
630 default n
631 help
632 This option causes RCU to printk information on which
633 CPUs are delaying the current grace period, but only when
634 the grace period extends for excessive time periods.
635
636 Say Y if you want RCU to perform such checks.
637
638 Say N if you are unsure.
639
640config RCU_CPU_STALL_DETECTOR
641 bool "Check for stalled CPUs delaying RCU grace periods"
642 depends on CLASSIC_RCU || TREE_RCU 645 depends on CLASSIC_RCU || TREE_RCU
643 default n 646 default n
644 help 647 help