diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6f440d82b58d..df9234c5f9d1 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -9,6 +9,17 @@ config PRINTK_TIME | |||
9 | operations. This is useful for identifying long delays | 9 | operations. This is useful for identifying long delays |
10 | in kernel startup. | 10 | in kernel startup. |
11 | 11 | ||
12 | config DEFAULT_MESSAGE_LOGLEVEL | ||
13 | int "Default message log level (1-7)" | ||
14 | range 1 7 | ||
15 | default "4" | ||
16 | help | ||
17 | Default log level for printk statements with no specified priority. | ||
18 | |||
19 | This was hard-coded to KERN_WARNING since at least 2.6.10 but folks | ||
20 | that are auditing their logs closely may want to set it to a lower | ||
21 | priority. | ||
22 | |||
12 | config ENABLE_WARN_DEPRECATED | 23 | config ENABLE_WARN_DEPRECATED |
13 | bool "Enable __deprecated logic" | 24 | bool "Enable __deprecated logic" |
14 | default y | 25 | default y |
@@ -102,11 +113,6 @@ config HEADERS_CHECK | |||
102 | 113 | ||
103 | config DEBUG_SECTION_MISMATCH | 114 | config DEBUG_SECTION_MISMATCH |
104 | bool "Enable full Section mismatch analysis" | 115 | bool "Enable full Section mismatch analysis" |
105 | depends on UNDEFINED || (BLACKFIN) | ||
106 | default y | ||
107 | # This option is on purpose disabled for now. | ||
108 | # It will be enabled when we are down to a reasonable number | ||
109 | # of section mismatch warnings (< 10 for an allyesconfig build) | ||
110 | help | 116 | help |
111 | The section mismatch analysis checks if there are illegal | 117 | The section mismatch analysis checks if there are illegal |
112 | references from one section to another section. | 118 | references from one section to another section. |
@@ -176,6 +182,23 @@ config HARDLOCKUP_DETECTOR | |||
176 | def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \ | 182 | def_bool LOCKUP_DETECTOR && PERF_EVENTS && HAVE_PERF_EVENTS_NMI && \ |
177 | !ARCH_HAS_NMI_WATCHDOG | 183 | !ARCH_HAS_NMI_WATCHDOG |
178 | 184 | ||
185 | config BOOTPARAM_HARDLOCKUP_PANIC | ||
186 | bool "Panic (Reboot) On Hard Lockups" | ||
187 | depends on LOCKUP_DETECTOR | ||
188 | help | ||
189 | Say Y here to enable the kernel to panic on "hard lockups", | ||
190 | which are bugs that cause the kernel to loop in kernel | ||
191 | mode with interrupts disabled for more than 60 seconds. | ||
192 | |||
193 | Say N if unsure. | ||
194 | |||
195 | config BOOTPARAM_HARDLOCKUP_PANIC_VALUE | ||
196 | int | ||
197 | depends on LOCKUP_DETECTOR | ||
198 | range 0 1 | ||
199 | default 0 if !BOOTPARAM_HARDLOCKUP_PANIC | ||
200 | default 1 if BOOTPARAM_HARDLOCKUP_PANIC | ||
201 | |||
179 | config BOOTPARAM_SOFTLOCKUP_PANIC | 202 | config BOOTPARAM_SOFTLOCKUP_PANIC |
180 | bool "Panic (Reboot) On Soft Lockups" | 203 | bool "Panic (Reboot) On Soft Lockups" |
181 | depends on LOCKUP_DETECTOR | 204 | depends on LOCKUP_DETECTOR |
@@ -1227,3 +1250,6 @@ source "samples/Kconfig" | |||
1227 | source "lib/Kconfig.kgdb" | 1250 | source "lib/Kconfig.kgdb" |
1228 | 1251 | ||
1229 | source "lib/Kconfig.kmemcheck" | 1252 | source "lib/Kconfig.kmemcheck" |
1253 | |||
1254 | config TEST_KSTRTOX | ||
1255 | tristate "Test kstrto*() family of functions at runtime" | ||