From: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Shuah Khan <shuah@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org
Subject: [PATCH] selftests/ftrace: Remove non-existent CONFIG_RESERVE_MEM from config
Date: Tue, 24 Nov 2026 07:32:32 +0900 [thread overview]
Message-ID: <179547315291.329986.16935545207857031949.stgit@devnote2> (raw)
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
next reply other threads:[~2026-11-23 22:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 22:32 Masami Hiramatsu (Google) [this message]
2026-11-24 14:18 ` [PATCH] selftests/ftrace: Remove non-existent CONFIG_RESERVE_MEM from config Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179547315291.329986.16935545207857031949.stgit@devnote2 \
--to=mhiramat@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=rostedt@goodmis.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.