aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-12-09 11:30:16 +0000
committerLuka Perkov <luka@openwrt.org>2013-12-09 11:30:16 +0000
commit82a0abbcf7770a126eaef090561542d166dd0ae7 (patch)
tree6801a4a597f522841cb2417c3edfa1cea336f802
parentd723a38780ea983a8b8a0a6c834ad9d5312e43eb (diff)
downloadmaster-187ad058-82a0abbcf7770a126eaef090561542d166dd0ae7.tar.gz
master-187ad058-82a0abbcf7770a126eaef090561542d166dd0ae7.tar.bz2
master-187ad058-82a0abbcf7770a126eaef090561542d166dd0ae7.zip
config: add KERNEL_DYNAMIC_DEBUG option
Useful when debugging kernel which uses this infrastructure, for example ubi/ubifs. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39007 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--config/Config-kernel.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index d5b565ea5e..3347254cb6 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -68,6 +68,18 @@ config KERNEL_DEBUG_LL
help
ARM low level debugging
+config KERNEL_DYNAMIC_DEBUG
+ bool "Compile the kernel with dynamic printk"
+ select KERNEL_DEBUG_FS
+ default n
+ help
+ Compiles debug level messages into the kernel, which would not
+ otherwise be available at runtime. These messages can then be
+ enabled/disabled based on various levels of scope - per source file,
+ function, module, format string, and line number. This mechanism
+ implicitly compiles in all pr_debug() and dev_dbg() calls, which
+ enlarges the kernel text size by about 2%.
+
config KERNEL_EARLY_PRINTK
bool "Compile the kernel with early printk"
default n