]> git.ipfire.org Git - thirdparty/linux.git/commit
rtla/timerlat: Support tail call from BPF program
authorTomas Glozar <tglozar@redhat.com>
Wed, 26 Nov 2025 14:41:59 +0000 (15:41 +0100)
committerTomas Glozar <tglozar@redhat.com>
Wed, 7 Jan 2026 14:57:15 +0000 (15:57 +0100)
commit8cd0f08ac72e25e2a048c72d76730676ab0106f3
tree26728aa6446550f2a24484049661fadc0b396a0e
parenta08e012e814d346c191726a877b18901c3bc204f
rtla/timerlat: Support tail call from BPF program

Add a map to the rtla-timerlat BPF program that holds a file descriptor
of another BPF program, to be executed on threshold overflow.

timerlat_bpf_set_action() is added as an interface to set the program.

Link: https://lore.kernel.org/r/20251126144205.331954-2-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/timerlat.bpf.c
tools/tracing/rtla/src/timerlat_bpf.c
tools/tracing/rtla/src/timerlat_bpf.h