Thread (7 messages) 7 messages, 3 authors, 4d ago

Re: [PATCH v3 2/2] tracing: Remove trace_printk.h from kernel.h

From: David Laight <hidden>
Date: 2026-06-24 10:11:55
Also in: lkml

On Wed, 24 Jun 2026 04:18:08 -0400
Steven Rostedt [off-list ref] wrote:
From: Steven Rostedt <rostedt@goodmis.org>

There have been complaints about trace_printk.h causing more build time
for being in kernel.h. Move it out of kernel.h and place it in the headers
and C files that use it.

Link: https://lore.kernel.org/all/CAHk-=wikCBeVFjVXiY4o-oepdbjAoir5+TcAgtL12c4u1TpZLQ@mail.gmail.com/ (local)
That is all about changes to the file causing everything to be rebuilt,
not the contents of the file slowing down builds.
The two are different.

The part you are moving out of normal builds is just a few #defines.
They won't have a significant effect on build times either.

So there is no point splitting out trace_controls.h.

	David

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help