summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2010-06-03 16:33:07 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:21 -0800
commit323c21a2d2c2a15fafde5f6c5b6c4204166d8dcd (patch)
tree3c437009922df11f1a6ea2e6bc3a7d1f4c311906
parent224969776d3a5996542156d3be091329b5b78a54 (diff)
Allow CONFIG_STACKTRACE to be enabled by itself.
This allows us to get a kernel stacktrace for a thread though /proc. Also enable it by default. Change-Id: If8c21cd02feaf9863f4841ace524fa30c7328d49 Signed-off-by: Arve Hjønnevåg <arve@android.com>
-rw-r--r--lib/Kconfig.debug3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c0cb9c4bc46d..36b60dbac3a1 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -670,8 +670,9 @@ config DEBUG_LOCKING_API_SELFTESTS
mutexes and rwsems.
config STACKTRACE
- bool
+ bool "Stacktrace"
depends on STACKTRACE_SUPPORT
+ default y
config DEBUG_STACK_USAGE
bool "Stack utilization instrumentation"