On Thu, 2025-10-23 at 09:27 +0200, Tomas Glozar wrote:
> Ășt 21. 10. 2025 v 19:32 odesĂ­latel Crystal Wood <[email protected]> napsal:
> > 
> > On Tue, 2025-10-21 at 13:02 -0400, Steven Rostedt wrote:
> > > 
> > > Note, trace_array_printk() (which trace_array_init_printk()) only works 
> > > for
> > > instances and does not print into the top level trace buffer.
> > 
> > Yes, it's for instances, such as the ones rtla creates.
> > 
> > -Crystal
> > 
> 
> Right, it actually works with the trace instance, when set up properly:
[snip]
>  Saving trace to timerlat_trace.txt
>     timerlatu/0-47791   [000] ...22 863353.286497: bpf_trace_printk:
> Latency: 21282

OK, but as far as I can tell there's no way to get the non-BPF "stop
tracing hit" messages without adding a call to trace_array_init_printk()
into trace_osnoise.c.

-Crystal


Reply via email to