aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug51
1 files changed, 20 insertions, 31 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c768bcdda1b7..10ef61981149 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -238,6 +238,21 @@ config DETECT_HUNG_TASK
238 enabled then all held locks will also be reported. This 238 enabled then all held locks will also be reported. This
239 feature has negligible overhead. 239 feature has negligible overhead.
240 240
241config DEFAULT_HUNG_TASK_TIMEOUT
242 int "Default timeout for hung task detection (in seconds)"
243 depends on DETECT_HUNG_TASK
244 default 120
245 help
246 This option controls the default timeout (in seconds) used
247 to determine when a task has become non-responsive and should
248 be considered hung.
249
250 It can be adjusted at runtime via the kernel.hung_task_timeout
251 sysctl or by writing a value to /proc/sys/kernel/hung_task_timeout.
252
253 A timeout of 0 disables the check. The default is two minutes.
254 Keeping the default should be fine in most cases.
255
241config BOOTPARAM_HUNG_TASK_PANIC 256config BOOTPARAM_HUNG_TASK_PANIC
242 bool "Panic (Reboot) On Hung Tasks" 257 bool "Panic (Reboot) On Hung Tasks"
243 depends on DETECT_HUNG_TASK 258 depends on DETECT_HUNG_TASK
@@ -337,7 +352,7 @@ config DEBUG_OBJECTS_WORK
337 352
338config DEBUG_OBJECTS_RCU_HEAD 353config DEBUG_OBJECTS_RCU_HEAD
339 bool "Debug RCU callbacks objects" 354 bool "Debug RCU callbacks objects"
340 depends on DEBUG_OBJECTS && PREEMPT 355 depends on DEBUG_OBJECTS
341 help 356 help
342 Enable this to turn on debugging of RCU list heads (call_rcu() usage). 357 Enable this to turn on debugging of RCU list heads (call_rcu() usage).
343 358
@@ -398,9 +413,9 @@ config SLUB_STATS
398config DEBUG_KMEMLEAK 413config DEBUG_KMEMLEAK
399 bool "Kernel memory leak detector" 414 bool "Kernel memory leak detector"
400 depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ 415 depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
401 (X86 || ARM || PPC || S390 || SPARC64 || SUPERH || MICROBLAZE || TILE) 416 (X86 || ARM || PPC || MIPS || S390 || SPARC64 || SUPERH || MICROBLAZE || TILE)
402 417
403 select DEBUG_FS if SYSFS 418 select DEBUG_FS
404 select STACKTRACE if STACKTRACE_SUPPORT 419 select STACKTRACE if STACKTRACE_SUPPORT
405 select KALLSYMS 420 select KALLSYMS
406 select CRC32 421 select CRC32
@@ -875,22 +890,9 @@ config RCU_TORTURE_TEST_RUNNABLE
875 Say N here if you want the RCU torture tests to start only 890 Say N here if you want the RCU torture tests to start only
876 after being manually enabled via /proc. 891 after being manually enabled via /proc.
877 892
878config RCU_CPU_STALL_DETECTOR
879 bool "Check for stalled CPUs delaying RCU grace periods"
880 depends on TREE_RCU || TREE_PREEMPT_RCU
881 default y
882 help
883 This option causes RCU to printk information on which
884 CPUs are delaying the current grace period, but only when
885 the grace period extends for excessive time periods.
886
887 Say N if you want to disable such checks.
888
889 Say Y if you are unsure.
890
891config RCU_CPU_STALL_TIMEOUT 893config RCU_CPU_STALL_TIMEOUT
892 int "RCU CPU stall timeout in seconds" 894 int "RCU CPU stall timeout in seconds"
893 depends on RCU_CPU_STALL_DETECTOR 895 depends on TREE_RCU || TREE_PREEMPT_RCU
894 range 3 300 896 range 3 300
895 default 60 897 default 60
896 help 898 help
@@ -899,22 +901,9 @@ config RCU_CPU_STALL_TIMEOUT
899 RCU grace period persists, additional CPU stall warnings are 901 RCU grace period persists, additional CPU stall warnings are
900 printed at more widely spaced intervals. 902 printed at more widely spaced intervals.
901 903
902config RCU_CPU_STALL_DETECTOR_RUNNABLE
903 bool "RCU CPU stall checking starts automatically at boot"
904 depends on RCU_CPU_STALL_DETECTOR
905 default y
906 help
907 If set, start checking for RCU CPU stalls immediately on
908 boot. Otherwise, RCU CPU stall checking must be manually
909 enabled.
910
911 Say Y if you are unsure.
912
913 Say N if you wish to suppress RCU CPU stall checking during boot.
914
915config RCU_CPU_STALL_VERBOSE 904config RCU_CPU_STALL_VERBOSE
916 bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" 905 bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR"
917 depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU 906 depends on TREE_PREEMPT_RCU
918 default y 907 default y
919 help 908 help
920 This option causes RCU to printk detailed per-task information 909 This option causes RCU to printk detailed per-task information