diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4dc24cc13f5c..8e5ec5e1ab91 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -355,7 +355,7 @@ config SLUB_STATS | |||
355 | config DEBUG_KMEMLEAK | 355 | config DEBUG_KMEMLEAK |
356 | bool "Kernel memory leak detector" | 356 | bool "Kernel memory leak detector" |
357 | depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ | 357 | depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ |
358 | (X86 || ARM || PPC || S390) | 358 | (X86 || ARM || PPC || S390 || SUPERH) |
359 | 359 | ||
360 | select DEBUG_FS if SYSFS | 360 | select DEBUG_FS if SYSFS |
361 | select STACKTRACE if STACKTRACE_SUPPORT | 361 | select STACKTRACE if STACKTRACE_SUPPORT |
@@ -499,6 +499,18 @@ config PROVE_LOCKING | |||
499 | 499 | ||
500 | For more details, see Documentation/lockdep-design.txt. | 500 | For more details, see Documentation/lockdep-design.txt. |
501 | 501 | ||
502 | config PROVE_RCU | ||
503 | bool "RCU debugging: prove RCU correctness" | ||
504 | depends on PROVE_LOCKING | ||
505 | default n | ||
506 | help | ||
507 | This feature enables lockdep extensions that check for correct | ||
508 | use of RCU APIs. This is currently under development. Say Y | ||
509 | if you want to debug RCU usage or help work on the PROVE_RCU | ||
510 | feature. | ||
511 | |||
512 | Say N if you are unsure. | ||
513 | |||
502 | config LOCKDEP | 514 | config LOCKDEP |
503 | bool | 515 | bool |
504 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT | 516 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT |
@@ -773,10 +785,22 @@ config RCU_CPU_STALL_DETECTOR | |||
773 | CPUs are delaying the current grace period, but only when | 785 | CPUs are delaying the current grace period, but only when |
774 | the grace period extends for excessive time periods. | 786 | the grace period extends for excessive time periods. |
775 | 787 | ||
776 | Say Y if you want RCU to perform such checks. | 788 | Say N if you want to disable such checks. |
789 | |||
790 | Say Y if you are unsure. | ||
791 | |||
792 | config RCU_CPU_STALL_VERBOSE | ||
793 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" | ||
794 | depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU | ||
795 | default n | ||
796 | help | ||
797 | This option causes RCU to printk detailed per-task information | ||
798 | for any tasks that are stalling the current RCU grace period. | ||
777 | 799 | ||
778 | Say N if you are unsure. | 800 | Say N if you are unsure. |
779 | 801 | ||
802 | Say Y if you want to enable such checks. | ||
803 | |||
780 | config KPROBES_SANITY_TEST | 804 | config KPROBES_SANITY_TEST |
781 | bool "Kprobes sanity tests" | 805 | bool "Kprobes sanity tests" |
782 | depends on DEBUG_KERNEL | 806 | depends on DEBUG_KERNEL |
@@ -848,8 +872,7 @@ config DEBUG_FORCE_WEAK_PER_CPU | |||
848 | 872 | ||
849 | config LKDTM | 873 | config LKDTM |
850 | tristate "Linux Kernel Dump Test Tool Module" | 874 | tristate "Linux Kernel Dump Test Tool Module" |
851 | depends on DEBUG_KERNEL | 875 | depends on DEBUG_FS |
852 | depends on KPROBES | ||
853 | depends on BLOCK | 876 | depends on BLOCK |
854 | default n | 877 | default n |
855 | help | 878 | help |
@@ -860,7 +883,7 @@ config LKDTM | |||
860 | called lkdtm. | 883 | called lkdtm. |
861 | 884 | ||
862 | Documentation on how to use the module can be found in | 885 | Documentation on how to use the module can be found in |
863 | drivers/misc/lkdtm.c | 886 | Documentation/fault-injection/provoke-crashes.txt |
864 | 887 | ||
865 | config FAULT_INJECTION | 888 | config FAULT_INJECTION |
866 | bool "Fault-injection framework" | 889 | bool "Fault-injection framework" |