diff options
author | Dave Jones <davej@redhat.com> | 2014-08-29 18:18:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-29 19:28:16 -0400 |
commit | 0c38e1fe0fced6aa06dbf444f7203dd7f325e369 (patch) | |
tree | cdef74dbbce508e8bfb48b7a8af7e9dd287580a8 /lib | |
parent | ce8369bcbeeea6dfe24a6c8f60d2fcfce0432830 (diff) |
lib: turn CONFIG_STACKTRACE into an actual option.
I was puzzled why /proc/$$/stack had disappeared, until I figured out I
had disabled the last debug option that did a 'select STACKTRACE'. This
patch makes the option show up at config time, so it can be enabled
without enabling any of the more heavyweight debug options.
Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1b233fc67466..a28590083622 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1036,8 +1036,13 @@ config TRACE_IRQFLAGS | |||
1036 | either tracing or lock debugging. | 1036 | either tracing or lock debugging. |
1037 | 1037 | ||
1038 | config STACKTRACE | 1038 | config STACKTRACE |
1039 | bool | 1039 | bool "Stack backtrace support" |
1040 | 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. | ||
1041 | 1046 | ||
1042 | config DEBUG_KOBJECT | 1047 | config DEBUG_KOBJECT |
1043 | bool "kobject debugging" | 1048 | bool "kobject debugging" |