Linux Perf Users
 help / color / mirror / Atom feed
* [PATCH 0/2] perf test: Add --skip-name to skip tests by name
@ 2026-10-23  9:01 James Clark
  2026-10-23  9:01 ` [PATCH 1/2] perf test: Factor out the --skip check and its output James Clark
  2026-10-23  9:01 ` [PATCH 2/2] perf test: Add --skip-name to skip tests by name James Clark
  0 siblings, 2 replies; 5+ messages in thread
From: James Clark @ 2026-10-23  9:01 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter, Alice Rogers, Leo Yan
  Cc: linux-perf-users, linux-kernel, Arnaldo Carvalho de Melo,
	James Clark

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@linaro.org>
---
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@linaro.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-23  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-23  9:01 [PATCH 0/2] perf test: Add --skip-name to skip tests by name James Clark
2026-10-23  9:01 ` [PATCH 1/2] perf test: Factor out the --skip check and its output James Clark
2026-10-23  9:05   ` sashiko-bot
2026-10-23  9:01 ` [PATCH 2/2] perf test: Add --skip-name to skip tests by name James Clark
2026-10-23  9:09   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox