Allow CONFIG_STACKTRACE to be enabled by itself.
authorArve Hjønnevåg <arve@android.com>
Thu, 3 Jun 2010 23:33:07 +0000 (16:33 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:30 +0000 (13:40 -0700)
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>
lib/Kconfig.debug

index 566cf2bc08eaac44813dd9a1d1ac0d816a072237..8e642918a1c1aa17a250b783e8cc6e89634ea933 100644 (file)
@@ -669,8 +669,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"