diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4448f91b865c..79afd00bbe5f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -261,7 +261,7 @@ config LOCKDEP | |||
261 | bool | 261 | bool |
262 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT | 262 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT |
263 | select STACKTRACE | 263 | select STACKTRACE |
264 | select FRAME_POINTER if !X86 | 264 | select FRAME_POINTER if !X86 && !MIPS |
265 | select KALLSYMS | 265 | select KALLSYMS |
266 | select KALLSYMS_ALL | 266 | select KALLSYMS_ALL |
267 | 267 | ||
@@ -411,8 +411,6 @@ config LKDTM | |||
411 | config FAULT_INJECTION | 411 | config 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 | |||
442 | config 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 | ||