The patch titled Subject: kernel-hacking: move DEBUG_BUGVERBOSE to 'printk and dmesg options' has been added to the -mm tree. Its filename is hacking-move-debug_bugverbose-to-printk-and-dmesg-options.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/hacking-move-debug_bugverbose-to-printk-and-dmesg-options.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/hacking-move-debug_bugverbose-to-printk-and-dmesg-options.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Changbin Du <changbin.du@xxxxxxxxx> Subject: kernel-hacking: move DEBUG_BUGVERBOSE to 'printk and dmesg options' I think DEBUG_BUGVERBOSE is a dmesg option which gives more debug info to dmesg. Link: http://lkml.kernel.org/r/20190909144453.3520-9-changbin.du@xxxxxxxxx Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/Kconfig.debug | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- a/lib/Kconfig.debug~hacking-move-debug_bugverbose-to-printk-and-dmesg-options +++ a/lib/Kconfig.debug @@ -172,6 +172,15 @@ config SYMBOLIC_ERRCODE the number 28. It makes the kernel image slightly larger (about 3KB), but can make the kernel logs easier to read. +config DEBUG_BUGVERBOSE + bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT + depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE) + default y + help + Say Y here to make BUG() panics output the file name and line number + of the BUG call as well as the EIP and oops trace. This aids + debugging but costs about 70-100K of memory. + endmenu # "printk and dmesg options" menu "Compile-time checks and compiler options" @@ -1313,15 +1322,6 @@ config DEBUG_KOBJECT_RELEASE config HAVE_DEBUG_BUGVERBOSE bool -config DEBUG_BUGVERBOSE - bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT - depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE) - default y - help - Say Y here to make BUG() panics output the file name and line number - of the BUG call as well as the EIP and oops trace. This aids - debugging but costs about 70-100K of memory. - menu "Debug kernel data structures" config DEBUG_LIST _ Patches currently in -mm which might be from changbin.du@xxxxxxxxx are hacking-group-sysrq-kgdb-ubsan-into-generic-kernel-debugging-instruments.patch hacking-create-submenu-for-arch-special-debugging-options.patch hacking-group-kernel-data-structures-debugging-together.patch hacking-move-kernel-testing-and-coverage-options-to-same-submenu.patch hacking-move-oops-into-lockups-and-hangs.patch hacking-move-sched_stack_end_check-after-debug_stack_usage.patch hacking-create-a-submenu-for-scheduler-debugging-options.patch hacking-move-debug_bugverbose-to-printk-and-dmesg-options.patch hacking-move-debug_fs-to-generic-kernel-debugging-instruments.patch