]> git.ipfire.org Git - thirdparty/xz.git/commit
CI: Valgrind: Improve the skipping of traced child processes
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 22 Apr 2025 18:12:50 +0000 (21:12 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 22 Apr 2025 18:26:21 +0000 (21:26 +0300)
commit56aa9a07968a6a73fada6f9b96122c5165829f3b
tree5b1e70b2d58e6a19ca07d1515f8c9afef31bdc37
parentf33da20b75a45caad25c9a4daf7906e4f056ce91
CI: Valgrind: Improve the skipping of traced child processes

Use --trace-children-skip instead of --trace-children-skip-by-arg
so that the skipping is only done based on the executable names.
(--trace-children-skip-by-arg can match other args than argv[0].)

Update the list of executables to skip to match what the scripts run.

Do not skip bash or sh. If Valgrind didn't trace the shell, then the
xz and xzdec programs run by the shell wouldn't be analyzed either.

Fixes: 7e99856f66c0 ("CI: Speed up Valgrind job by using --trace-children-skip-by-arg=...")
.github/workflows/ci.yml