]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tracing: Make tracing_selftest_running global to the tracing subsystem
authorSteven Rostedt <rostedt@goodmis.org>
Sun, 8 Feb 2026 03:24:19 +0000 (22:24 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 9 Feb 2026 02:01:11 +0000 (21:01 -0500)
commita4f77ffc8eb6247ad00c53d297a145e47594ce76
tree284c11e0704f897b80ea05db45df9cfbc4ab67bb
parent64dee86ad7de3d59bae041e0d8f80ef89ddc4cf6
tracing: Make tracing_selftest_running global to the tracing subsystem

The file trace.c has become a catchall for most things tracing. Start
making it smaller by breaking out various aspects into their own files.

Make the variable tracing_selftest_running global so that it can be used
by other files in the tracing subsystem and trace.c can be split up.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
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/20260208032449.648932796@kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h