aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug27
1 files changed, 11 insertions, 16 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1449ca1bf572..c24db7221b55 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -415,7 +415,8 @@ config LKDTM
415 drivers/misc/lkdtm.c 415 drivers/misc/lkdtm.c
416 416
417config FAULT_INJECTION 417config FAULT_INJECTION
418 bool 418 bool "Fault-injection framework"
419 depends on DEBUG_KERNEL
419 select STACKTRACE 420 select STACKTRACE
420 select FRAME_POINTER 421 select FRAME_POINTER
421 help 422 help
@@ -423,31 +424,25 @@ config FAULT_INJECTION
423 For more details, see Documentation/fault-injection/. 424 For more details, see Documentation/fault-injection/.
424 425
425config FAILSLAB 426config FAILSLAB
426 bool "Fault-injection capabilitiy for kmalloc" 427 bool "Fault-injection capability for kmalloc"
427 depends on DEBUG_KERNEL 428 depends on FAULT_INJECTION
428 select FAULT_INJECTION
429 help 429 help
430 This option provides fault-injection capabilitiy for kmalloc. 430 Provide fault-injection capability for kmalloc.
431 431
432config FAIL_PAGE_ALLOC 432config FAIL_PAGE_ALLOC
433 bool "Fault-injection capabilitiy for alloc_pages()" 433 bool "Fault-injection capabilitiy for alloc_pages()"
434 depends on DEBUG_KERNEL 434 depends on FAULT_INJECTION
435 select FAULT_INJECTION
436 help 435 help
437 This option provides fault-injection capabilitiy for alloc_pages(). 436 Provide fault-injection capability for alloc_pages().
438 437
439config FAIL_MAKE_REQUEST 438config FAIL_MAKE_REQUEST
440 bool "Fault-injection capabilitiy for disk IO" 439 bool "Fault-injection capabilitiy for disk IO"
441 depends on DEBUG_KERNEL 440 depends on FAULT_INJECTION
442 select FAULT_INJECTION
443 help 441 help
444 This option provides fault-injection capabilitiy to disk IO. 442 Provide fault-injection capability for disk IO.
445 443
446config FAULT_INJECTION_DEBUG_FS 444config FAULT_INJECTION_DEBUG_FS
447 bool "Debugfs entries for fault-injection capabilities" 445 bool "Debugfs entries for fault-injection capabilities"
448 depends on FAULT_INJECTION && SYSFS 446 depends on FAULT_INJECTION && SYSFS && DEBUG_FS
449 select DEBUG_FS
450 help 447 help
451 This option enable configuration of fault-injection capabilities via 448 Enable configuration of fault-injection capabilities via debugfs.
452 debugfs.
453