aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug84
1 files changed, 59 insertions, 25 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index b75fed737f25..0701ddda1df8 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -47,6 +47,30 @@ config UNUSED_SYMBOLS
47 you really need it, and what the merge plan to the mainline kernel for 47 you really need it, and what the merge plan to the mainline kernel for
48 your module is. 48 your module is.
49 49
50config DEBUG_FS
51 bool "Debug Filesystem"
52 depends on SYSFS
53 help
54 debugfs is a virtual file system that kernel developers use to put
55 debugging files into. Enable this option to be able to read and
56 write to these files.
57
58 If unsure, say N.
59
60config HEADERS_CHECK
61 bool "Run 'make headers_check' when building vmlinux"
62 depends on !UML
63 help
64 This option will extract the user-visible kernel headers whenever
65 building the kernel, and will run basic sanity checks on them to
66 ensure that exported files do not attempt to include files which
67 were not exported, etc.
68
69 If you're making modifications to header files which are
70 relevant for userspace, say 'Y', and check the headers
71 exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in
72 your build tree), to make sure they're suitable.
73
50config DEBUG_KERNEL 74config DEBUG_KERNEL
51 bool "Kernel debugging" 75 bool "Kernel debugging"
52 help 76 help
@@ -285,7 +309,7 @@ config DEBUG_HIGHMEM
285config DEBUG_BUGVERBOSE 309config DEBUG_BUGVERBOSE
286 bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED 310 bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED
287 depends on BUG 311 depends on BUG
288 depends on ARM || ARM26 || AVR32 || M32R || M68K || SPARC32 || SPARC64 || X86_32 || FRV || SUPERH 312 depends on ARM || ARM26 || AVR32 || M32R || M68K || SPARC32 || SPARC64 || FRV || SUPERH || GENERIC_BUG
289 default !EMBEDDED 313 default !EMBEDDED
290 help 314 help
291 Say Y here to make BUG() panics output the file name and line number 315 Say Y here to make BUG() panics output the file name and line number
@@ -302,16 +326,6 @@ config DEBUG_INFO
302 326
303 If unsure, say N. 327 If unsure, say N.
304 328
305config DEBUG_FS
306 bool "Debug Filesystem"
307 depends on SYSFS
308 help
309 debugfs is a virtual file system that kernel developers use to put
310 debugging files into. Enable this option to be able to read and
311 write to these files.
312
313 If unsure, say N.
314
315config DEBUG_VM 329config DEBUG_VM
316 bool "Debug VM" 330 bool "Debug VM"
317 depends on DEBUG_KERNEL 331 depends on DEBUG_KERNEL
@@ -372,20 +386,6 @@ config FORCED_INLINING
372 become the default in the future, until then this option is there to 386 become the default in the future, until then this option is there to
373 test gcc for this. 387 test gcc for this.
374 388
375config HEADERS_CHECK
376 bool "Run 'make headers_check' when building vmlinux"
377 depends on !UML
378 help
379 This option will extract the user-visible kernel headers whenever
380 building the kernel, and will run basic sanity checks on them to
381 ensure that exported files do not attempt to include files which
382 were not exported, etc.
383
384 If you're making modifications to header files which are
385 relevant for userspace, say 'Y', and check the headers
386 exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in
387 your build tree), to make sure they're suitable.
388
389config RCU_TORTURE_TEST 389config RCU_TORTURE_TEST
390 tristate "torture tests for RCU" 390 tristate "torture tests for RCU"
391 depends on DEBUG_KERNEL 391 depends on DEBUG_KERNEL
@@ -402,6 +402,7 @@ config RCU_TORTURE_TEST
402 402
403config LKDTM 403config LKDTM
404 tristate "Linux Kernel Dump Test Tool Module" 404 tristate "Linux Kernel Dump Test Tool Module"
405 depends on DEBUG_KERNEL
405 depends on KPROBES 406 depends on KPROBES
406 default n 407 default n
407 help 408 help
@@ -413,3 +414,36 @@ config LKDTM
413 414
414 Documentation on how to use the module can be found in 415 Documentation on how to use the module can be found in
415 drivers/misc/lkdtm.c 416 drivers/misc/lkdtm.c
417
418config FAULT_INJECTION
419 bool "Fault-injection framework"
420 depends on DEBUG_KERNEL
421 depends on STACKTRACE
422 select FRAME_POINTER
423 help
424 Provide fault-injection framework.
425 For more details, see Documentation/fault-injection/.
426
427config FAILSLAB
428 bool "Fault-injection capability for kmalloc"
429 depends on FAULT_INJECTION
430 help
431 Provide fault-injection capability for kmalloc.
432
433config FAIL_PAGE_ALLOC
434 bool "Fault-injection capabilitiy for alloc_pages()"
435 depends on FAULT_INJECTION
436 help
437 Provide fault-injection capability for alloc_pages().
438
439config FAIL_MAKE_REQUEST
440 bool "Fault-injection capabilitiy for disk IO"
441 depends on FAULT_INJECTION
442 help
443 Provide fault-injection capability for disk IO.
444
445config FAULT_INJECTION_DEBUG_FS
446 bool "Debugfs entries for fault-injection capabilities"
447 depends on FAULT_INJECTION && SYSFS && DEBUG_FS
448 help
449 Enable configuration of fault-injection capabilities via debugfs.