From b1f001b202a1b425cd43d3c8ec2a8a62946c3264 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Wed, 1 Apr 2026 16:51:29 +0800 Subject: [PATCH] LoongArch: config: enable tracer snapshot support Upstream: no Conflict: none Checkpatch: pass This patch enables CONFIG_TRACER_SNAPSHOT in loongson3_defconfig so that the kernel provides snapshot buffer support for ftrace. With this config enabled, trace-cmd snapshot -s and related snapshot operations can work correctly on LoongArch systems. Signed-off-by: Ming Wang --- arch/loongarch/configs/loongson3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index 5d48a0d1b0e6..628fbc071020 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -2229,6 +2229,7 @@ CONFIG_DEBUG_LIST=y CONFIG_RCU_CPU_STALL_TIMEOUT=60 # CONFIG_RCU_TRACE is not set CONFIG_FUNCTION_TRACER=y +CONFIG_TRACER_SNAPSHOT=y CONFIG_FTRACE_SYSCALLS=y CONFIG_BLK_DEV_IO_TRACE=y CONFIG_SAMPLES=y -- Gitee