aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug20
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index dd373c8..26af27a 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -10,6 +10,23 @@ config PRINTK_TIME
in kernel startup. Or add printk.time=1 at boot-time.
See Documentation/kernel-parameters.txt
+config PRINTK_CPU_ID
+ bool "Show cpu id on printks"
+ depends on PRINTK
+ help
+ Selecting this option causes current printk cpu id to be
+ included in printk output. Or add printk.cpu=1 at boot-time.
+ See Documentation/kernel-parameters.txt
+
+config PRINTK_PID
+ bool "Show pid on printks"
+ depends on PRINTK
+ help
+ Selecting this option causes current task's pid to be
+ included in printk output. Or add printk.pid=1 at boot-time.
+ This allows you to see the running process with kernel log.
+ See Documentation/kernel-parameters.txt
+
config DEFAULT_MESSAGE_LOGLEVEL
int "Default message log level (1-7)"
range 1 7
@@ -667,8 +684,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"