Skip to content

Commit 6191de8

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390/configs: move CONFIG_DEBUG_INFO_BTF into btf.config addon config
CONFIG_DEBUG_INFO_BTF significantly increases compile time for the kernel. E.g. when changing a single C file compile time for a new bzImage is increased by ~50% if BTF debug info is generated. Therefore remove CONFIG_DEBUG_INFO_BTF from all defconfigs and introduce a btf.config addon config file. Quickly enabling CONFIG_DEBUG_INFO_BTF into the current kernel config can be done by simply invoking make btf.config Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent bb87388 commit 6191de8

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

arch/s390/configs/btf.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_DEBUG_INFO_BTF=y

arch/s390/configs/debug_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,6 @@ CONFIG_CMA_SIZE_MBYTES=0
797797
CONFIG_PRINTK_TIME=y
798798
CONFIG_DYNAMIC_DEBUG=y
799799
CONFIG_DEBUG_INFO_DWARF4=y
800-
CONFIG_DEBUG_INFO_BTF=y
801800
CONFIG_GDB_SCRIPTS=y
802801
CONFIG_HEADERS_INSTALL=y
803802
CONFIG_DEBUG_SECTION_MISMATCH=y

arch/s390/configs/defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,6 @@ CONFIG_CMA_SIZE_MBYTES=0
781781
CONFIG_PRINTK_TIME=y
782782
CONFIG_DYNAMIC_DEBUG=y
783783
CONFIG_DEBUG_INFO_DWARF4=y
784-
CONFIG_DEBUG_INFO_BTF=y
785784
CONFIG_GDB_SCRIPTS=y
786785
CONFIG_DEBUG_SECTION_MISMATCH=y
787786
CONFIG_MAGIC_SYSRQ=y

arch/s390/configs/zfcpdump_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ CONFIG_PRINTK_TIME=y
7474
# CONFIG_SYMBOLIC_ERRNAME is not set
7575
CONFIG_DEBUG_KERNEL=y
7676
CONFIG_DEBUG_INFO_DWARF4=y
77-
CONFIG_DEBUG_INFO_BTF=y
7877
CONFIG_DEBUG_FS=y
7978
CONFIG_PANIC_ON_OOPS=y
8079
# CONFIG_SCHED_DEBUG is not set

0 commit comments

Comments
 (0)