Skip to content

Commit

Permalink
lib: Kconfig: Make DEBUG_BUGVERBOSE depend on DEBUG_KERNEL
Browse files Browse the repository at this point in the history
DEBUG_BUGVERBOSE prints the file name and line number of BUG() panic
call as well as OOPS trace. It is slightly memory expensive. It has no
point of enabling in a production kernel.

Change-Id: I8e43841c089cba9ec6311a86d273cd90a75f5b3a
Signed-off-by: Panchajanya1999 <[email protected]>
Signed-off-by: K A R T H I K <[email protected]>
(cherry picked from commit 06da16b)
  • Loading branch information
Panchajanya1999 authored and karthik558 committed Jun 12, 2021
1 parent bd2f9c0 commit a6f2f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ config HAVE_DEBUG_BUGVERBOSE

config DEBUG_BUGVERBOSE
bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT
depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE)
depends on DEBUG_KERNEL
default y
help
Say Y here to make BUG() panics output the file name and line number
Expand Down

0 comments on commit a6f2f6b

Please sign in to comment.