Re: [PATCH 3/4] rtla/timerlat: Add example for BPF action program
From: Crystal Wood
Date: Mon Oct 27 2025 - 08:38:07 EST
On Mon, 2025-10-27 at 11:34 +0100, Tomas Glozar wrote:
> pá 24. 10. 2025 v 3:49 odesílatel Crystal Wood <crwood@xxxxxxxxxx> napsal:
> >
> > 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.
> >
>
> I'm not sure what you mean. The --bpf-action functionality is
> exclusive for BPF mode, bpf_trace_printk() / bpf_printk(), as Steven
> clarified, is a BPF helper that triggers a trace event, defined in
> kernel/trace/bpf_trace.c and kernel/trace/bpf_trace.h.
This was from a tangential comment, not about --bpf-action.
-Crystal