]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing: Move trace_printk functions out of trace.c and into trace_printk.c
authorSteven Rostedt <rostedt@goodmis.org>
Sun, 8 Feb 2026 03:24:26 +0000 (22:24 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 9 Feb 2026 02:01:12 +0000 (21:01 -0500)
commit27931ee8f45415db3a10586f9d5b6f77ef7d7d84
treef542f9763c1cd93e81fe6291c2d3a7a3bf7ead1c
parentaf1eea12ad24f62d65714c5318841894278a7aaa
tracing: Move trace_printk functions out of trace.c and into trace_printk.c

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.

Move the functions associated to the trace_printk operations out of trace.c and
into trace_printk.c.

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/20260208032450.828744197@kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_printk.c