]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtla/timerlat: Test BPF mode
authorTomas Glozar <tglozar@redhat.com>
Tue, 18 Feb 2025 14:58:59 +0000 (15:58 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 4 Mar 2025 17:35:18 +0000 (12:35 -0500)
commit005682b403c5ecf7e1eb965e8dc9d6058061ee30
tree5b4d850f0b60b4f9e28207649f32e6fd1532bb51
parent9a82a3fd9ef2afaafbd6f8059609cdead0f97f15
rtla/timerlat: Test BPF mode

Using the RTLA_NO_BPF environmental variable, execute rtla-timerlat
tests both with and without BPF support to cover both paths.

If rtla is built without BPF or the osnoise:timerlat_sample trace event
is not available, test only the non-BPF path.

Cc: John Kacur <jkacur@redhat.com>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Cc: Gabriele Monaco <gmonaco@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Link: https://lore.kernel.org/20250218145859.27762-9-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/tests/timerlat.t