]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Append repeated boot-time tracing parameters
authorWesley Atwell <atwellwea@gmail.com>
Mon, 30 Mar 2026 18:11:02 +0000 (12:11 -0600)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 31 Mar 2026 18:52:56 +0000 (14:52 -0400)
commit842b74e5ce05bb12f270689937092333c6c73f0e
tree7d9b37d96bb088a385a5ec91e1928780501eea18
parente197453eb0c110d3d83fd1d2b324a93d5fcfa314
tracing: Append repeated boot-time tracing parameters

Some tracing boot parameters already accept delimited value lists, but
their __setup() handlers keep only the last instance seen at boot.
Make repeated instances append to the same boot-time buffer in the
format each parser already consumes.

Use a shared trace_append_boot_param() helper for the ftrace filters,
trace_options, and kprobe_event boot parameters.

This also lets Bootconfig array values work naturally when they expand
to repeated param=value entries.

Before this change, only the last instance from each repeated
parameter survived boot.

Link: https://patch.msgid.link/20260330181103.1851230-1-atwellwea@gmail.com
Signed-off-by: Wesley Atwell <atwellwea@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ftrace.c
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_kprobe.c