Re: [PATCH 3/4] rtla/timerlat: Add example for BPF action program

From: Tomas Glozar

Date: Tue Oct 21 2025 - 10:55:13 EST


po 20. 10. 2025 v 19:53 odesílatel Crystal Wood <crwood@xxxxxxxxxx> napsal:
>
> We should have the makefile build this, and add a test that uses it.
>

I agree. I tried to use the example, but it would be also good to
check if the BPF program was actually executed.

That is hard to do reliably for the current example, as it writes into
the global tracefs instance, which might conflict with another user of
the same instance. I will write another BPF program that will create a
map instead, and a script that will check the map value via
--on-threshold in the test.

Tomas