aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2013-07-01 16:04:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 14:25:39 -0400
commit92aef8fbabb4cc8616777ab27d6499a3719c3e4c (patch)
tree44b19a0d06116bc4621ddaf78b389977cbe081bd /lib/Kconfig.debug
parent604ff0dceb2aca049a25a181c68f8db5c0798f7f (diff)
hang and lockup detection menu
The hard/softlockup and hung-task entries take up 6 lines of screen real-estate when enabled. I bet folks don't mess with these _that_ often, so move them in a group down a level. Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug42
1 files changed, 23 insertions, 19 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a6c2c5c1a5f8..65c8e4daee4a 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -604,6 +604,8 @@ config DEBUG_SHIRQ
604 Drivers ought to be able to handle interrupts coming in at those 604 Drivers ought to be able to handle interrupts coming in at those
605 points; some don't and need to be caught. 605 points; some don't and need to be caught.
606 606
607menu "Debug Lockups and Hangs"
608
607config LOCKUP_DETECTOR 609config LOCKUP_DETECTOR
608 bool "Detect Hard and Soft Lockups" 610 bool "Detect Hard and Soft Lockups"
609 depends on DEBUG_KERNEL && !S390 611 depends on DEBUG_KERNEL && !S390
@@ -675,25 +677,6 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE
675 default 0 if !BOOTPARAM_SOFTLOCKUP_PANIC 677 default 0 if !BOOTPARAM_SOFTLOCKUP_PANIC
676 default 1 if BOOTPARAM_SOFTLOCKUP_PANIC 678 default 1 if BOOTPARAM_SOFTLOCKUP_PANIC
677 679
678config PANIC_ON_OOPS
679 bool "Panic on Oops"
680 help
681 Say Y here to enable the kernel to panic when it oopses. This
682 has the same effect as setting oops=panic on the kernel command
683 line.
684
685 This feature is useful to ensure that the kernel does not do
686 anything erroneous after an oops which could result in data
687 corruption or other issues.
688
689 Say N if unsure.
690
691config PANIC_ON_OOPS_VALUE
692 int
693 range 0 1
694 default 0 if !PANIC_ON_OOPS
695 default 1 if PANIC_ON_OOPS
696
697config DETECT_HUNG_TASK 680config DETECT_HUNG_TASK
698 bool "Detect Hung Tasks" 681 bool "Detect Hung Tasks"
699 depends on DEBUG_KERNEL 682 depends on DEBUG_KERNEL
@@ -748,6 +731,27 @@ config BOOTPARAM_HUNG_TASK_PANIC_VALUE
748 default 0 if !BOOTPARAM_HUNG_TASK_PANIC 731 default 0 if !BOOTPARAM_HUNG_TASK_PANIC
749 default 1 if BOOTPARAM_HUNG_TASK_PANIC 732 default 1 if BOOTPARAM_HUNG_TASK_PANIC
750 733
734endmenu # "Debug lockups and hangs"
735
736config PANIC_ON_OOPS
737 bool "Panic on Oops"
738 help
739 Say Y here to enable the kernel to panic when it oopses. This
740 has the same effect as setting oops=panic on the kernel command
741 line.
742
743 This feature is useful to ensure that the kernel does not do
744 anything erroneous after an oops which could result in data
745 corruption or other issues.
746
747 Say N if unsure.
748
749config PANIC_ON_OOPS_VALUE
750 int
751 range 0 1
752 default 0 if !PANIC_ON_OOPS
753 default 1 if PANIC_ON_OOPS
754
751config SCHED_DEBUG 755config SCHED_DEBUG
752 bool "Collect scheduler debugging info" 756 bool "Collect scheduler debugging info"
753 depends on DEBUG_KERNEL && PROC_FS 757 depends on DEBUG_KERNEL && PROC_FS