diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 07c28323f88f..a28590083622 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -892,6 +892,10 @@ config DEBUG_WW_MUTEX_SLOWPATH | |||
| 892 | the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this | 892 | the full mutex checks enabled with (CONFIG_PROVE_LOCKING) this |
| 893 | will test all possible w/w mutex interface abuse with the | 893 | will test all possible w/w mutex interface abuse with the |
| 894 | exception of simply not acquiring all the required locks. | 894 | exception of simply not acquiring all the required locks. |
| 895 | Note that this feature can introduce significant overhead, so | ||
| 896 | it really should not be enabled in a production or distro kernel, | ||
| 897 | even a debug kernel. If you are a driver writer, enable it. If | ||
| 898 | you are a distro, do not. | ||
| 895 | 899 | ||
| 896 | config DEBUG_LOCK_ALLOC | 900 | config DEBUG_LOCK_ALLOC |
| 897 | bool "Lock debugging: detect incorrect freeing of live locks" | 901 | bool "Lock debugging: detect incorrect freeing of live locks" |
| @@ -1032,8 +1036,13 @@ config TRACE_IRQFLAGS | |||
| 1032 | either tracing or lock debugging. | 1036 | either tracing or lock debugging. |
| 1033 | 1037 | ||
| 1034 | config STACKTRACE | 1038 | config STACKTRACE |
| 1035 | bool | 1039 | bool "Stack backtrace support" |
| 1036 | depends on STACKTRACE_SUPPORT | 1040 | depends on STACKTRACE_SUPPORT |
| 1041 | help | ||
| 1042 | This option causes the kernel to create a /proc/pid/stack for | ||
| 1043 | every process, showing its current stack trace. | ||
| 1044 | It is also used by various kernel debugging features that require | ||
| 1045 | stack trace generation. | ||
| 1037 | 1046 | ||
| 1038 | config DEBUG_KOBJECT | 1047 | config DEBUG_KOBJECT |
| 1039 | bool "kobject debugging" | 1048 | bool "kobject debugging" |
