[PATCH 0/2] perf test: Add --skip-name to skip tests by name

From: James Clark

Date: Fri Oct 23 2026 - 05:03:09 EST


We've had to update skip list numbers a few times in our CI, so I think
it's useful to be able to skip tests by name as well.

There are some decisions to make like whether we could put test numbers
into the tests themselves, or re-use the --skip argument for names etc.
But I think the --skip-name in these patches is the simplest and easiest
to use compromise.

I'm sure test names will change sometimes, but it's much rarer than
adding a new test or compiling with a different config which can change
the numbers. No matches resulting in an error means that the same CI
command on different architectures could cause a fatal error, but I
can't see a real use case where this would be an issue because skip
lists are arch and device dependent.

Signed-off-by: James Clark <james.clark@xxxxxxxxxx>
---
James Clark (2):
perf test: Factor out the --skip check and its output
perf test: Add --skip-name to skip tests by name

tools/perf/Documentation/perf-test.txt | 4 +
tools/perf/tests/builtin-test.c | 146 ++++++++++++++++++++++++---------
2 files changed, 110 insertions(+), 40 deletions(-)
---
base-commit: 1c90f0a3c8a1c4e38f9edd97af9e20848805a7fb
change-id: 20261022-james-perf-test-skip-c923ea7198fe

Best regards,
--
James Clark <james.clark@xxxxxxxxxx>