summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2006-12-08 02:39:43 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 08:29:02 -0800
commit6ff1cb355e628f8fc55fa2d01e269e5e1bbc2fe9 (patch)
tree393d94b6d7585e4c804d6415afaa11e1d6ec350d /lib/Kconfig.debug
parentde1ba09b214056365d9082982905b255caafb7a2 (diff)
downloadlinux-6ff1cb355e628f8fc55fa2d01e269e5e1bbc2fe9.tar.gz
linux-6ff1cb355e628f8fc55fa2d01e269e5e1bbc2fe9.tar.bz2
linux-6ff1cb355e628f8fc55fa2d01e269e5e1bbc2fe9.zip
[PATCH] fault-injection capabilities infrastructure
This patch provides base functions implement to fault-injection capabilities. - The function should_fail() is taken from failmalloc-1.0 (http://www.nongnu.org/failmalloc/) [akpm@osdl.org: cleanups, comments, add __init] Cc: <okuji@enbug.org> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Don Mullis <dwm@meer.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2c133c098607..35228b3e7e92 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -413,3 +413,15 @@ config LKDTM
Documentation on how to use the module can be found in
drivers/misc/lkdtm.c
+
+config FAULT_INJECTION
+ bool
+
+config FAULT_INJECTION_DEBUG_FS
+ bool "Debugfs entries for fault-injection capabilities"
+ depends on FAULT_INJECTION && SYSFS
+ select DEBUG_FS
+ help
+ This option enable configuration of fault-injection capabilities via
+ debugfs.
+