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

From: James Clark
Date: Mon Oct 14 2024 - 04:42:36 EST




On 11/10/2024 6:14 pm, Arnaldo Carvalho de Melo wrote:
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(-)


With the fix for the comment on patch 3:

Reviewed-by: James Clark <james.clark@xxxxxxxxxx>