From 0532fa408a47a3793e86b7cffc2cdc5b00af539b Mon Sep 17 00:00:00 2001 From: chenrun1 Date: Wed, 12 Feb 2025 17:41:07 +0800 Subject: [PATCH] coredump:adjust BOARD_COREDUMP_COMPRESSION Summary: In order to reduce the cost of using coredump, we disable BOARD_COREDUMP_COMPRESSION by default when it is not necessary. Signed-off-by: chenrun1 --- boards/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/boards/Kconfig b/boards/Kconfig index a1b4e1ee204..3eb829beeb1 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -4845,9 +4845,8 @@ config BOARD_COREDUMP_FULL config BOARD_COREDUMP_COMPRESSION bool "Enable Core Dump compression" - default y - select LIBC_LZF - depends on !BOARD_CRASHDUMP_NONE + default BOARD_COREDUMP_SYSLOG + depends on LIBC_LZF && !BOARD_CRASHDUMP_NONE ---help--- Enable LZF compression algorithm for core dump content