summaryrefslogtreecommitdiff
path: root/config
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
commitef5e13325ef7e4bf9f720ae89433dff8769c3781 (patch)
tree6a67f1123f6041c6a5bdb46dc436d7a411ca6166 /config
parent3ceb6b3274d75fb5dc05b9eb42f2a98ee445f122 (diff)
downloadmtk-20170518-ef5e13325ef7e4bf9f720ae89433dff8769c3781.zip
mtk-20170518-ef5e13325ef7e4bf9f720ae89433dff8769c3781.tar.gz
mtk-20170518-ef5e13325ef7e4bf9f720ae89433dff8769c3781.tar.bz2
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> SVN-Revision: 39007
Diffstat (limited to 'config')
-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 d5b565e..3347254 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