Skip to content

Commit 2b05bb7

Browse files
changbindutorvalds
authored andcommitted
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/[email protected] Signed-off-by: Changbin Du <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent ebebdd0 commit 2b05bb7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/Kconfig.debug

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ config SYMBOLIC_ERRNAME
173173
of the number 28. It makes the kernel image slightly larger
174174
(about 3KB), but can make the kernel logs easier to read.
175175

176+
config DEBUG_BUGVERBOSE
177+
bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT
178+
depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE)
179+
default y
180+
help
181+
Say Y here to make BUG() panics output the file name and line number
182+
of the BUG call as well as the EIP and oops trace. This aids
183+
debugging but costs about 70-100K of memory.
184+
176185
endmenu # "printk and dmesg options"
177186

178187
menu "Compile-time checks and compiler options"
@@ -1303,15 +1312,6 @@ config DEBUG_KOBJECT_RELEASE
13031312
config HAVE_DEBUG_BUGVERBOSE
13041313
bool
13051314

1306-
config DEBUG_BUGVERBOSE
1307-
bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT
1308-
depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE)
1309-
default y
1310-
help
1311-
Say Y here to make BUG() panics output the file name and line number
1312-
of the BUG call as well as the EIP and oops trace. This aids
1313-
debugging but costs about 70-100K of memory.
1314-
13151315
menu "Debug kernel data structures"
13161316

13171317
config DEBUG_LIST

0 commit comments

Comments
 (0)