linux/tools/tracing/rtla/example
Tomas Glozar 0304a3b7ec rtla/timerlat: Add example for BPF action program
Add an example BPF action program that prints the measured latency to
the tracefs buffer via bpf_printk().

A new Makefile target, "examples", is added to build the example. In
addition, "sample/" subfolder is renamed to "example".

If BPF skeleton support is unavailable or disabled, a warning will be
displayed when building the BPF action program example.

Link: https://lore.kernel.org/r/20251126144205.331954-4-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
2026-01-07 15:57:16 +01:00
..
timerlat_bpf_action.c rtla/timerlat: Add example for BPF action program 2026-01-07 15:57:16 +01:00
timerlat_load.py rtla/timerlat: Add example for BPF action program 2026-01-07 15:57:16 +01:00