The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] selftests/ftrace: Remove non-existent CONFIG_RESERVE_MEM from config
@ 2026-11-23 22:32 Masami Hiramatsu (Google)
  0 siblings, 0 replies; only message in thread
From: Masami Hiramatsu (Google) @ 2026-11-23 22:32 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu, Shuah Khan
  Cc: Mathieu Desnoyers, linux-kernel, linux-trace-kernel,
	linux-kselftest

From: Masami Hiramatsu <mhiramat@kernel.org>

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@kernel.org>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 22:32 [PATCH] selftests/ftrace: Remove non-existent CONFIG_RESERVE_MEM from config Masami Hiramatsu (Google)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox