Re: [GIT PULL] tracing tools: RTLA updates for 7.2

From: Tomas Glozar

Date: Tue Jun 16 2026 - 02:48:30 EST


Hi Steven,

po 15. 6. 2026 v 22:25 odesílatel Steven Rostedt <rostedt@xxxxxxxxxxx> napsal:
>
>
> Linus,
>
> RTLA patches for v7.2
>
> - Fix discrepancy in --dump-tasks option
>
> Due to a mistake, rtla-timerlat-hist used the CLI syntax "--dump-task"
> instead of the documented "--dump-tasks". Change the option to match
> both documentation and the other timerlat tool, rtla-timerlat-top.
>
> - Extend coverage of runtime tests
>
> Cover both top and hist tools in all applicable test cases, add tests
> for a few uncovered options, and extend checks for some existing tests.
>
> - Add unit tests for actions
>
> rtla's actions feature is implemented in its source file and contains
> non-trivial parsing logic. Cover it with unit tests.
>
> - Stop record trace on interrupt
>
> Fix a bug where an interval exists after receiving a signal in which
> the main instance is stopped but the record instance is not, leading to
> discrepancies in reported results and sometimes rtla hanging.
>
> - Restore continue flag in actions_perform()
>
> Fix a bug where rtla always continues tracing after hitting a threshold
> even if the continue action was triggered just once, and add tests
> verifying that the flag is reset properly.
>
> - Migrate command line interface to libsubcmd
>
> Replace rtla's argument parsing using getopt_long() with libsubcmd, used
> by perf and objtool, to reuse existing code and auto-generate better
> help messages. Extensive unit tests are included to detect regressions.
>
> - Add -A/--aligned option to timerlat tools
>
> Add an option to align timerlat threads, based on the recently
> introduced TIMERLAT_ALIGN option of the timerlat tracer, together with
> unit tests and documentation.
>
> - Document tests in README
>
> Document how to run unit and runtime tests in rtla's README.txt,
> including the dependencies needed to run them.
>
>
> Please pull the latest trace-tools-v7.2 tree, which can be found at:
>
>
> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
> trace-tools-v7.2
>
> Tag SHA1: 4e96ba036db7ca92976274e0d3e6f35e4288f3db
> Head SHA1: db956bcf8d681b5a01ebe04c79f6a7b29b9934f9
>
>
> Costa Shulyupin (1):
> tools/rtla: Fix --dump-tasks usage in timerlat
>
> Crystal Wood (1):
> rtla: Stop the record trace on interrupt
>
> Tomas Glozar (24):
> rtla/tests: Cover both top and hist tools where possible
> rtla/tests: Add get_workload_pids() helper
> rtla/tests: Check -c/--cpus thread affinity
> rtla/tests: Use negative match when testing --aa-only
> rtla/tests: Extend timerlat top --aa-only coverage
> rtla/tests: Cover all hist options in runtime tests
> rtla/tests: Add runtime test for -H/--house-keeping
> rtla/tests: Add runtime test for -k and -u options
> rtla/tests: Add runtime tests for -C/--cgroup
> rtla/tests: Add unit tests for actions module
> rtla/actions: Restore continue flag in actions_perform()
> rtla/tests: Add unit test for restoring continue flag
> rtla/tests: Run runtime tests in temporary directory
> rtla/tests: Add runtime tests for restoring continue flag
> rtla: Add libsubcmd dependency
> tools subcmd: support optarg as separate argument
> tools subcmd: allow parsing distinct --opt and --no-opt
> rtla: Parse cmdline using libsubcmd
> rtla/tests: Add unit tests for _parse_args() functions
> rtla/tests: Add unit tests for CLI option callbacks
> rtla/timerlat: Add -A/--aligned CLI option
> rtla/tests: Add unit tests for -A/--aligned option
> Documentation/rtla: Add -A/--aligned option
> rtla: Document tests in README
>

It appears that you missed my second pull request [1] with two fixes
of issues that slipped through into the first one. Should I name it
differently, or perhaps ping you about it earlier (e.g. if you don't
pick it before the merge window) next time? (I did not do so, because
I thought you just did not push tools/for-next yet and will do so when
doing the 7.2 tag.)

[1] https://lore.kernel.org/linux-trace-kernel/20260605140209.101548-1-tglozar@xxxxxxxxxx/



Tomas