diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 35228b3e7e92..c7f567a57d7d 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -417,6 +417,13 @@ config LKDTM | |||
417 | config FAULT_INJECTION | 417 | config FAULT_INJECTION |
418 | bool | 418 | bool |
419 | 419 | ||
420 | config FAILSLAB | ||
421 | bool "Fault-injection capabilitiy for kmalloc" | ||
422 | depends on DEBUG_KERNEL | ||
423 | select FAULT_INJECTION | ||
424 | help | ||
425 | This option provides fault-injection capabilitiy for kmalloc. | ||
426 | |||
420 | config FAULT_INJECTION_DEBUG_FS | 427 | config FAULT_INJECTION_DEBUG_FS |
421 | bool "Debugfs entries for fault-injection capabilities" | 428 | bool "Debugfs entries for fault-injection capabilities" |
422 | depends on FAULT_INJECTION && SYSFS | 429 | depends on FAULT_INJECTION && SYSFS |