On Tue, 21 Oct 2025 10:58:06 -0500
Crystal Wood <[email protected]> wrote:

> Huh, so I guess BPF is an exception to the "no generic printk to the
> global trace instance except for debugging that generates a big boot
> splat" rule?

bpf_printk() is an event and not the generic trace_printk() that would
cause that splat. You can turn it off.

> 
> Speaking of which, why doesn't trace_osnoise.c call
> trace_array_init_printk() given that it uses trace_array_printk_buf()?

Note, trace_array_printk() (which trace_array_init_printk()) only works for
instances and does not print into the top level trace buffer.

-- Steve

Reply via email to