[PATCH v2 0/3] Document the 'perf test -w' workloads functionality

From: Arnaldo Carvalho de Melo
Date: Fri Oct 11 2024 - 13:15:07 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Hi,

I noticed that the 'perf test -w' code wasn't well exposed, so
add a '-w --list' option to list the existing workloads and document it
in the 'perf test' man page.

- Arnaldo

v2:

- Use --list-workloads, as suggesed by James Clark.

- Add info in the man page about the parameters the built-in workloads
accept.

Arnaldo Carvalho de Melo (3):
perf test: Introduce workloads__for_each()
perf test: Introduce '-w --list' to list the available workloads
perf test: Document the -w/--workload option

tools/perf/Documentation/perf-test.txt | 14 +++++++++++++
tools/perf/tests/builtin-test.c | 27 ++++++++++++++++++++++----
2 files changed, 37 insertions(+), 4 deletions(-)

--
2.47.0