[PATCH 0/3 v3] Expose the 'perf test -w' workloads functionality

From: Arnaldo Carvalho de Melo
Date: Sat Oct 19 2024 - 22:18:58 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Hi,

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

- Arnaldo

v3:

- Fixup references to --list-workloads in a patch subject (Namhyumg)

- Fixup references to --list-workloads in the 'perf test' man page (James)

- Add an entry for --list-workloads in the 'perf test' man page.

v2:

- Use --list-workloads, as suggested 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 --list-workloads to list the available workloads
perf test: Document the -w/--workload option

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

--
2.46.2