Re: [PATCH v2 1/2] tracing: Move non-trace_printk prototypes into trace_controls.h

From: Steven Rostedt

Date: Mon Jun 22 2026 - 11:23:15 EST


On Mon, 22 Jun 2026 09:41:16 -0400
Yury Norov <yury.norov@xxxxxxxxx> wrote:

> On Mon, Jun 22, 2026 at 09:07:40AM -0400, Steven Rostedt wrote:
> > From: Steven Rostedt <rostedt@xxxxxxxxxxx>
> >
> > In order to remove the include to trace_printk.h from kernel.h the tracing
> > control prototypes need to be separated into their own header file as they
> > are used in other common header files like rcu.h. There's no point in
> > removing trace_printk.h from kernel.h if it just gets added back to other
> > common headers.
> >
> > Prototypes are very cheap for the compiler and should not be an issue.
> >
> > Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> Suggested-by: Yury Norov <yury.norov@xxxxxxxxx>

Thanks, I'll add you tag.

-- Steve