[PATCH] selftests/ftrace: Remove non-existent CONFIG_RESERVE_MEM from config

From: Masami Hiramatsu (Google)

Date: Mon Nov 23 2026 - 17:32:41 EST


From: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

CONFIG_RESERVE_MEM does NEVER exist in Kconfig. The reserve_mem= boot
parameter and reserve_mem_find_by_name() are built unconditionally in
mm/memblock.c, and persistent ring buffer instances via trace_instance=
do not require a separate Kconfig option either.

Remove the non-existent CONFIG_RESERVE_MEM=y entry from the ftrace
selftest config fragment and the boottime test README.

Fixes: e666e6528359 ("selftests/ftrace: Add generic boot tracing test framework")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
---
tools/testing/selftests/ftrace/boottime/README | 1 -
tools/testing/selftests/ftrace/config | 1 -
2 files changed, 2 deletions(-)

diff --git a/tools/testing/selftests/ftrace/boottime/README b/tools/testing/selftests/ftrace/boottime/README
index 1eb0191d75d4..5371907c7f0d 100644
--- a/tools/testing/selftests/ftrace/boottime/README
+++ b/tools/testing/selftests/ftrace/boottime/README
@@ -45,7 +45,6 @@ Additional feature-specific config options enable respective testcases:
- `CONFIG_EPROBE_EVENTS=y` (for eprobe tests)
- `CONFIG_FPROBE_EVENTS=y` (for fprobe and tracepoint probe tests)
- `CONFIG_FUNCTION_TRACER=y` (for tracer options)
-- `CONFIG_RESERVE_MEM=y` (for persistent ring buffer tests)

Usage
-----
diff --git a/tools/testing/selftests/ftrace/config b/tools/testing/selftests/ftrace/config
index 29f05f7c6e2c..c43f24755c64 100644
--- a/tools/testing/selftests/ftrace/config
+++ b/tools/testing/selftests/ftrace/config
@@ -22,7 +22,6 @@ CONFIG_MODULE_UNLOAD=y
CONFIG_PREEMPTIRQ_DELAY_TEST=m
CONFIG_PREEMPT_TRACER=y
CONFIG_PROBE_EVENTS_BTF_ARGS=y
-CONFIG_RESERVE_MEM=y
CONFIG_SAMPLES=y
CONFIG_SAMPLE_FTRACE_DIRECT=m
CONFIG_SAMPLE_TRACE_EVENTS=m