[GIT PULL] RTLA changes for 7.4

From: Tomas Glozar

Date: Fri Oct 02 2026 - 12:41:52 EST


Steven,

The following changes since commit 93f51579e7df248780214094418f205253383cc5:

Linux 7.3-rc4 (2026-09-20 13:48:15 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tglozar/linux.git tags/rtla-v7.4

for you to fetch changes up to 5ddc4497508a628b6c18653a0d5208edc6228aaf:

rtla: Simplify osnoise tracer option setting code (2026-09-30 13:26:57 +0200)

----------------------------------------------------------------
RTLA patches for 7.4

- Test actions in absence of threshold

Cover the case which regressed in the past in tests.

- More robust CPU count detection

Parse /sys/devices/system/cpu/possible directly instead of going through
libc for CPU count and sanity check against any mismatch with the number
reported by tracefs / osnoise.

- Add option to record IPI count in osnoise top

In addition to counting IRQs, add an option to enable counting IPIs
targetting the measurement CPU to the rtla-osnoise-top tool.

- Improve runtime test usability

Catch up with increased complexity of runtime tests with better defaults
and more options available to the developer running the tests.

- Simplify osnoise tracer option setting code

Deduplicate osnoise tracer option setting code with macros to make it
less error-prone and to make it easier to add new tracer options in
the future.

Signed-off-by: Tomas Glozar <tglozar@xxxxxxxxxx>

----------------------------------------------------------------
Crystal Wood (3):
rtla/tests: Use absolute path for $RTLA
rtla/tests: Show the command line for failing tests
rtla/tests: Add $SUBTESTS and $STOPONFAIL

Tomas Glozar (7):
rtla/tests: Test actions in absence of threshold
rtla: Replace get_nprocs_conf() with sysfs possible cpus
rtla: Discard trace entries with cpu >= nr_cpus
rtla: Abort on nr_cpus mismatch with tracer
rtla/tests: Add unit test for cpu_list_iterate()
rtla/tests: Add unit test for get_max_cpu_from_list()
rtla: Simplify osnoise tracer option setting code

Valentin Schneider (8):
rtla/osnoise: Add IPI tracking cmdline option
rtla/osnoise: Record IPI count in osnoise top
rtla/osnoise: Leverage IPI event filters when tracing a subset of CPUs
rtla/osnoise: Allow IPI filters to gracefully fail
rtla: Make struct trace_events double linked
rtla: Enable and disable events in the user-defined order
rtla: Unconditionally clean any pre-existing filters for user-provided events
rtla/osnoise: Trace IPI events when recording a trace file

Documentation/tools/rtla/common_options.txt | 9 +-
Documentation/tools/rtla/rtla-osnoise-top.rst | 4 +
tools/tracing/rtla/src/cli.c | 1 +
tools/tracing/rtla/src/cli_p.h | 7 +-
tools/tracing/rtla/src/common.c | 31 +-
tools/tracing/rtla/src/common.h | 102 +-
tools/tracing/rtla/src/osnoise.c | 1291 ++++++++++---------------
tools/tracing/rtla/src/osnoise.h | 38 +-
tools/tracing/rtla/src/osnoise_hist.c | 1 +
tools/tracing/rtla/src/osnoise_top.c | 156 ++-
tools/tracing/rtla/src/timerlat_hist.c | 1 +
tools/tracing/rtla/src/timerlat_top.c | 1 +
tools/tracing/rtla/src/trace.c | 35 +-
tools/tracing/rtla/src/trace.h | 2 +
tools/tracing/rtla/src/utils.c | 181 +++-
tools/tracing/rtla/src/utils.h | 6 +
tools/tracing/rtla/tests/engine.sh | 23 +-
tools/tracing/rtla/tests/osnoise.t | 2 +
tools/tracing/rtla/tests/timerlat.t | 2 +
tools/tracing/rtla/tests/unit/utils.c | 71 ++
20 files changed, 1049 insertions(+), 915 deletions(-)