aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2011-04-26 04:22:15 -0400
committerJiri Kosina <jkosina@suse.cz>2011-04-26 04:22:59 -0400
commit07f9479a40cc778bc1462ada11f95b01360ae4ff (patch)
tree0676cf38df3844004bb3ebfd99dfa67a4a8998f5 /lib/Kconfig.debug
parent9d5e6bdb3013acfb311ab407eeca0b6a6a3dedbf (diff)
parentcd2e49e90f1cae7726c9a2c54488d881d7f1cd1c (diff)
Merge branch 'master' into for-next
Fast-forwarded to current state of Linus' tree as there are patches to be applied for files that didn't exist on the old branch.
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug42
1 files changed, 33 insertions, 9 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index b38cc34281b8..a86bec1ffee3 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -10,6 +10,17 @@ config PRINTK_TIME
10 in kernel startup. Or add printk.time=1 at boot-time. 10 in kernel startup. Or add printk.time=1 at boot-time.
11 See Documentation/kernel-parameters.txt 11 See Documentation/kernel-parameters.txt
12 12
13config DEFAULT_MESSAGE_LOGLEVEL
14 int "Default message log level (1-7)"
15 range 1 7
16 default "4"
17 help
18 Default log level for printk statements with no specified priority.
19
20 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks
21 that are auditing their logs closely may want to set it to a lower
22 priority.
23
13config ENABLE_WARN_DEPRECATED 24config ENABLE_WARN_DEPRECATED
14 bool "Enable __deprecated logic" 25 bool "Enable __deprecated logic"
15 default y 26 default y
@@ -103,11 +114,6 @@ config HEADERS_CHECK
103 114
104config DEBUG_SECTION_MISMATCH 115config DEBUG_SECTION_MISMATCH
105 bool "Enable full Section mismatch analysis" 116 bool "Enable full Section mismatch analysis"
106 depends on UNDEFINED || (BLACKFIN)
107 default y
108 # This option is on purpose disabled for now.
109 # It will be enabled when we are down to a reasonable number
110 # of section mismatch warnings (< 10 for an allyesconfig build)
111 help 117 help
112 The section mismatch analysis checks if there are illegal 118 The section mismatch analysis checks if there are illegal
113 references from one section to another section. 119 references from one section to another section.
@@ -177,6 +183,23 @@ config HARDLOCKUP_DETECTOR
177 def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \ 183 def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \
178 !ARCH_HAS_NMI_WATCHDOG 184 !ARCH_HAS_NMI_WATCHDOG
179 185
186config BOOTPARAM_HARDLOCKUP_PANIC
187 bool "Panic (Reboot) On Hard Lockups"
188 depends on LOCKUP_DETECTOR
189 help
190 Say Y here to enable the kernel to panic on "hard lockups",
191 which are bugs that cause the kernel to loop in kernel
192 mode with interrupts disabled for more than 60 seconds.
193
194 Say N if unsure.
195
196config BOOTPARAM_HARDLOCKUP_PANIC_VALUE
197 int
198 depends on LOCKUP_DETECTOR
199 range 0 1
200 default 0 if !BOOTPARAM_HARDLOCKUP_PANIC
201 default 1 if BOOTPARAM_HARDLOCKUP_PANIC
202
180config BOOTPARAM_SOFTLOCKUP_PANIC 203config BOOTPARAM_SOFTLOCKUP_PANIC
181 bool "Panic (Reboot) On Soft Lockups" 204 bool "Panic (Reboot) On Soft Lockups"
182 depends on LOCKUP_DETECTOR 205 depends on LOCKUP_DETECTOR
@@ -412,11 +435,9 @@ config DEBUG_KMEMLEAK_EARLY_LOG_SIZE
412 435
413config DEBUG_KMEMLEAK_TEST 436config DEBUG_KMEMLEAK_TEST
414 tristate "Simple test for the kernel memory leak detector" 437 tristate "Simple test for the kernel memory leak detector"
415 depends on DEBUG_KMEMLEAK 438 depends on DEBUG_KMEMLEAK && m
416 help 439 help
417 Say Y or M here to build a test for the kernel memory leak 440 This option enables a module that explicitly leaks memory.
418 detector. This option enables a module that explicitly leaks
419 memory.
420 441
421 If unsure, say N. 442 If unsure, say N.
422 443
@@ -1228,3 +1249,6 @@ source "samples/Kconfig"
1228source "lib/Kconfig.kgdb" 1249source "lib/Kconfig.kgdb"
1229 1250
1230source "lib/Kconfig.kmemcheck" 1251source "lib/Kconfig.kmemcheck"
1252
1253config TEST_KSTRTOX
1254 tristate "Test kstrto*() family of functions at runtime"