]> Gentwo Git Trees - linux/.git/commit
tracing: Show the tracer options in boot-time created instance
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 19 Nov 2025 08:32:05 +0000 (17:32 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 26 Nov 2025 20:13:29 +0000 (15:13 -0500)
commit23c0e9cc76bf39c10a1c1927345dfdbc54947a97
tree58158baffe52d0bea6b6b0731ad09a1efa64594e
parent7a6735cc9b4c0b5cd6fa00c32217db8929a8c18f
tracing: Show the tracer options in boot-time created instance

Since tracer_init_tracefs_work_func() only updates the tracer options
for the global_trace, the instances created by the kernel cmdline
do not have those options.

Fix to update tracer options for those boot-time created instances
to show those options.

Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://patch.msgid.link/176354112555.2356172.3989277078358802353.stgit@mhiramat.tok.corp.google.com
Fixes: 428add559b69 ("tracing: Have tracer option be instance specific")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c