Skip to content

Commit

Permalink
[TESTING] gki: disable debug core
Browse files Browse the repository at this point in the history
Trying to speed up the system

Signed-off-by: acuicultor <[email protected]>
  • Loading branch information
Jaegeuk Kim authored and celtare21 committed Oct 23, 2022
1 parent bdcca70 commit 491d826
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions android/abi_gki_aarch64_generic
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,6 @@
dw_pcie_read
dw_pcie_setup_rc
dw_pcie_write
__dynamic_dev_dbg
__dynamic_pr_debug
em_cpu_get
emergency_restart
enable_irq
Expand Down
3 changes: 0 additions & 3 deletions arch/arm64/configs/gki_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -681,10 +681,7 @@ CONFIG_DMA_CMA=y
CONFIG_STACK_HASH_ORDER=12
CONFIG_PRINTK_TIME=y
CONFIG_PRINTK_CALLER=y
CONFIG_DYNAMIC_DEBUG_CORE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_DWARF4=y
CONFIG_DEBUG_INFO_BTF=y
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_HEADERS_INSTALL=y
# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set
Expand Down
5 changes: 3 additions & 2 deletions lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ config SYMBOLIC_ERRNAME
config DEBUG_BUGVERBOSE
bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT
depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE)
default y
default n
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
Expand All @@ -201,7 +201,7 @@ menu "Compile-time checks and compiler options"

config DEBUG_INFO
bool "Compile the kernel with debug info"
depends on DEBUG_KERNEL && !COMPILE_TEST
depends on !COMPILE_TEST
help
If you say Y here the resulting kernel image will include
debugging info resulting in a larger kernel image.
Expand Down Expand Up @@ -525,6 +525,7 @@ endmenu

config DEBUG_KERNEL
bool "Kernel debugging"
default n
help
Say Y here if you are developing drivers or trying to debug and
identify kernel problems.
Expand Down

0 comments on commit 491d826

Please sign in to comment.