From a4005faeb7f279c4bb619fa09619df80351baee5 Mon Sep 17 00:00:00 2001 From: Yanteng Si Date: Mon, 27 May 2024 10:20:21 +0800 Subject: [PATCH] LoongArch: enable CONFIG_DEBUG_INFO_BTF by default CONFIG_DEBUG_INFO_BTF is required by bpftool,so enable it. Signed-off-by: Hongchen Zhang Signed-off-by: Tiezhu Yang Signed-off-by: Yanteng Si --- arch/loongarch/configs/deepin_loongarch_desktop_defconfig | 2 ++ arch/loongarch/configs/loongson3_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/loongarch/configs/deepin_loongarch_desktop_defconfig b/arch/loongarch/configs/deepin_loongarch_desktop_defconfig index 0803165607da0..b02f99191e0c2 100644 --- a/arch/loongarch/configs/deepin_loongarch_desktop_defconfig +++ b/arch/loongarch/configs/deepin_loongarch_desktop_defconfig @@ -5977,6 +5977,8 @@ CONFIG_FONT_TER16x32=y CONFIG_FONT_6x8=y CONFIG_PRINTK_TIME=y CONFIG_DYNAMIC_DEBUG=y +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y +CONFIG_DEBUG_INFO_BTF=y CONFIG_DEBUG_INFO_DWARF5=y CONFIG_GDB_SCRIPTS=y CONFIG_STRIP_ASM_SYMS=y diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index a44b465b6a338..cc7c3747e2e26 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -2184,6 +2184,8 @@ CONFIG_PRINTK_TIME=y CONFIG_PRINTK_CALLER=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_DYNAMIC_DEBUG=y +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y +CONFIG_DEBUG_INFO_BTF=y CONFIG_FRAME_WARN=4096 CONFIG_STRIP_ASM_SYMS=y CONFIG_DEBUG_SECTION_MISMATCH=y