Skip to contentSkip to conversation

rtla: Updates for v7.4

GIT PULL Merged Steven Rostedt 2 participants 2 messages Oct 20 – Oct 23

lore
Share & tools
lore
#0 lore raw

Linus,

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.

Please pull the latest trace-tools-v7.4 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-tools-v7.4

Tag SHA1: be7bf0909051623c90d138aa7ee28694df6bd640 Head SHA1: 5ddc4497508a628b6c18653a0d5208edc6228aaf

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(-)

---------------------------

merge bot Merged
#1 lore raw
The pull request you sent on Tue, 20 Oct 2026 13:18:11 -0400:

The pull request you sent on Tue, 20 Oct 2026 13:18:11 -0400:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-tools-v7.4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/9ec665e5e7a955f0f5637e420ac5075bef475e33

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html