rtla: Fixes for 7.2
Steven Rostedt
maintainerLinus,
rtla fixes for 7.2:
- Fix and cleanup .gitignore
- Fix pgrep filter in get_workload_pids.sh
Fix parsing of kernel thread names in get_workload_pids() helper function. On some systems pgrep matches kernel thread names including the brackets (e.g. "[osnoise/0]") and other systems brackets are not included. Fix the tests to handle both.
Please pull the latest trace-tools-7.2-2 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-tools-7.2-2
Tag SHA1: b50d6b0eaa77794f077cb1b3a9f574f150807ec0 Head SHA1: c35eb77a67515d4201bc91294f40761591f43bbd
Tomas Glozar (2):
rtla: Fix and clean up .gitignore rtla/tests: Fix pgrep filter in get_workload_pids.sh
----
tools/tracing/rtla/.gitignore | 13 ++++--------- tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-)
---------------------------
tools/tracing/rtla/.gitignore +4 -9
@@ -1,14 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only -rtla -rtla-static -unit_tests +/rtla +/rtla-static +/unit_tests fixdep feature FEATURE-DUMP *.skel.h -custom_filename.txt -osnoise_irq_noise_hist.txt -osnoise_trace.txt -timerlat_trace.txt -libsubcmd/ -lib/ +/libsubcmd/
tools/tracing/rtla/tests/scripts/lib/get_workload_pids.sh +1 -1
@@ -5,7 +5,7 @@ get_workload_pids() { local rtla_pid=$(ps -o ppid= $shell_pid) # kernel threads - pgrep -P $(pgrep ^kthreadd$) -f '^(osnoise|timerlat)/[0-9]+$' + pgrep -P $(pgrep ^kthreadd$) -f '^\[?(osnoise|timerlat)/[0-9]+\]?$' # user threads pgrep -P $rtla_pid | grep -v "^$shell_pid$" }
The pull request you sent on Thu, 25 Jun 2026 09:47:55 -0400:
The pull request you sent on Thu, 25 Jun 2026 09:47:55 -0400:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.gittrace-tools-7.2-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/75218b7acec35b0306572bf5fdf179486d463c9e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html