aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug34
1 files changed, 15 insertions, 19 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 79afd00bbe5f..ee05b8a061b5 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -86,23 +86,6 @@ config DEBUG_SHIRQ
86 Drivers ought to be able to handle interrupts coming in at those 86 Drivers ought to be able to handle interrupts coming in at those
87 points; some don't and need to be caught. 87 points; some don't and need to be caught.
88 88
89config LOG_BUF_SHIFT
90 int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
91 range 12 21
92 default 17 if S390 || LOCKDEP
93 default 16 if X86_NUMAQ || IA64
94 default 15 if SMP
95 default 14
96 help
97 Select kernel log buffer size as a power of 2.
98 Defaults and Examples:
99 17 => 128 KB for S/390
100 16 => 64 KB for x86 NUMAQ or IA-64
101 15 => 32 KB for SMP
102 14 => 16 KB for uniprocessor
103 13 => 8 KB
104 12 => 4 KB
105
106config DETECT_SOFTLOCKUP 89config DETECT_SOFTLOCKUP
107 bool "Detect Soft Lockups" 90 bool "Detect Soft Lockups"
108 depends on DEBUG_KERNEL && !S390 91 depends on DEBUG_KERNEL && !S390
@@ -201,6 +184,16 @@ config DEBUG_MUTEXES
201 This feature allows mutex semantics violations to be detected and 184 This feature allows mutex semantics violations to be detected and
202 reported. 185 reported.
203 186
187config DEBUG_SEMAPHORE
188 bool "Semaphore debugging"
189 depends on DEBUG_KERNEL
190 depends on ALPHA || FRV
191 default n
192 help
193 If you say Y here then semaphore processing will issue lots of
194 verbose debugging messages. If you suspect a semaphore problem or a
195 kernel hacker asks for this option then say Y. Otherwise say N.
196
204config DEBUG_LOCK_ALLOC 197config DEBUG_LOCK_ALLOC
205 bool "Lock debugging: detect incorrect freeing of live locks" 198 bool "Lock debugging: detect incorrect freeing of live locks"
206 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT 199 depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
@@ -320,7 +313,7 @@ config DEBUG_HIGHMEM
320config DEBUG_BUGVERBOSE 313config DEBUG_BUGVERBOSE
321 bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED 314 bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED
322 depends on BUG 315 depends on BUG
323 depends on ARM || ARM26 || AVR32 || M32R || M68K || SPARC32 || SPARC64 || FRV || SUPERH || GENERIC_BUG 316 depends on ARM || ARM26 || AVR32 || M32R || M68K || SPARC32 || SPARC64 || FRV || SUPERH || GENERIC_BUG || BFIN
324 default !EMBEDDED 317 default !EMBEDDED
325 help 318 help
326 Say Y here to make BUG() panics output the file name and line number 319 Say Y here to make BUG() panics output the file name and line number
@@ -333,6 +326,9 @@ config DEBUG_INFO
333 help 326 help
334 If you say Y here the resulting kernel image will include 327 If you say Y here the resulting kernel image will include
335 debugging info resulting in a larger kernel image. 328 debugging info resulting in a larger kernel image.
329 This adds debug symbols to the kernel and modules (gcc -g), and
330 is needed if you intend to use kernel crashdump or binary object
331 tools like crash, kgdb, LKCD, gdb, etc on the kernel.
336 Say Y here only if you plan to debug the kernel. 332 Say Y here only if you plan to debug the kernel.
337 333
338 If unsure, say N. 334 If unsure, say N.
@@ -357,7 +353,7 @@ config DEBUG_LIST
357 353
358config FRAME_POINTER 354config FRAME_POINTER
359 bool "Compile the kernel with frame pointers" 355 bool "Compile the kernel with frame pointers"
360 depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH) 356 depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH || BFIN)
361 default y if DEBUG_INFO && UML 357 default y if DEBUG_INFO && UML
362 help 358 help
363 If you say Y here the resulting kernel image will be slightly larger 359 If you say Y here the resulting kernel image will be slightly larger