Skip to contentSkip to conversation

selftests/ftrace: Remove non-existent CONFIG_RESERVE_MEM from config

PATCH New Masami Hiramatsu (Google) 1 participant 1 message Nov 23

Subsystems (2)
lore
Share & tools
lore

Masami Hiramatsu (Google)

author maintainer
#0 lore raw

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

From: Masami Hiramatsu <[email protected]>

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")
---
 tools/testing/selftests/ftrace/boottime/README |    1 -
 tools/testing/selftests/ftrace/config          |    1 -
 2 files changed, 2 deletions(-)
tools/testing/selftests/ftrace/boottime/README +0 -1
index 1eb0191d75d4..5371907c7f0d 100644
@@ -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
 -----
tools/testing/selftests/ftrace/config +0 -1
index 29f05f7c6e2c..c43f24755c64 100644
@@ -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