diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 25c3ed594c54..5e3407d997b2 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 |
| @@ -765,10 +777,22 @@ config RCU_CPU_STALL_DETECTOR | |||
| 765 | CPUs are delaying the current grace period, but only when | 777 | CPUs are delaying the current grace period, but only when |
| 766 | the grace period extends for excessive time periods. | 778 | the grace period extends for excessive time periods. |
| 767 | 779 | ||
| 768 | Say Y if you want RCU to perform such checks. | 780 | Say N if you want to disable such checks. |
| 781 | |||
| 782 | Say Y if you are unsure. | ||
| 783 | |||
| 784 | config RCU_CPU_STALL_VERBOSE | ||
| 785 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" | ||
| 786 | depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU | ||
| 787 | default n | ||
| 788 | help | ||
| 789 | This option causes RCU to printk detailed per-task information | ||
| 790 | for any tasks that are stalling the current RCU grace period. | ||
| 769 | 791 | ||
| 770 | Say N if you are unsure. | 792 | Say N if you are unsure. |
| 771 | 793 | ||
| 794 | Say Y if you want to enable such checks. | ||
| 795 | |||
| 772 | config KPROBES_SANITY_TEST | 796 | config KPROBES_SANITY_TEST |
| 773 | bool "Kprobes sanity tests" | 797 | bool "Kprobes sanity tests" |
| 774 | depends on DEBUG_KERNEL | 798 | depends on DEBUG_KERNEL |
