aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2007-02-20 16:57:56 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-20 20:10:14 -0500
commit1df49008f4ddec9d4f6862b47ea5bdba82078aa4 (patch)
treeaf5c77fa8de93a8d48654a4c30c2418e7993a3e7 /lib/Kconfig.debug
parent94412a96c4553255bda7a232a349059dd7543338 (diff)
[PATCH] fault injection: split up stacktrace filter Kconfig option
There is no prompt for CONFIG_STACKTRACE, so FAULT_INJECTION cannot be selected without LOCKDEP enabled. (found by Paolo 'Blaisorblade' Giarrusso) In order to fix such broken Kconfig dependency, this patch splits up the stacktrace filter support for fault injection by new Kconfig option, which enables to use fault injection on the architecture which doesn't have general stacktrace support. Cc: "Paolo 'Blaisorblade' Giarrusso" <blaisorblade@yahoo.it> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 4448f91b865c..3f3e7403dcac 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -411,8 +411,6 @@ config LKDTM
411config FAULT_INJECTION 411config FAULT_INJECTION
412 bool "Fault-injection framework" 412 bool "Fault-injection framework"
413 depends on DEBUG_KERNEL 413 depends on DEBUG_KERNEL
414 depends on STACKTRACE
415 select FRAME_POINTER
416 help 414 help
417 Provide fault-injection framework. 415 Provide fault-injection framework.
418 For more details, see Documentation/fault-injection/. 416 For more details, see Documentation/fault-injection/.
@@ -440,3 +438,11 @@ config FAULT_INJECTION_DEBUG_FS
440 depends on FAULT_INJECTION && SYSFS && DEBUG_FS 438 depends on FAULT_INJECTION && SYSFS && DEBUG_FS
441 help 439 help
442 Enable configuration of fault-injection capabilities via debugfs. 440 Enable configuration of fault-injection capabilities via debugfs.
441
442config FAULT_INJECTION_STACKTRACE_FILTER
443 bool "stacktrace filter for fault-injection capabilities"
444 depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
445 select STACKTRACE
446 select FRAME_POINTER
447 help
448 Provide stacktrace filter for fault-injection capabilities