[PATCH 3/3] perf test: Document the -w/--workload option

From: Arnaldo Carvalho de Melo
Date: Fri Oct 11 2024 - 10:40:39 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Wasn't documented so far, mention that it is mostly used in the shell
regression tests.

Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Ian Rogers <irogers@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/Documentation/perf-test.txt | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/tools/perf/Documentation/perf-test.txt b/tools/perf/Documentation/perf-test.txt
index 9acb8d1f658890e9..e03c1cabdcd37594 100644
--- a/tools/perf/Documentation/perf-test.txt
+++ b/tools/perf/Documentation/perf-test.txt
@@ -48,3 +48,9 @@ OPTIONS

--dso::
Specify a DSO for the "Symbols" test.
+
+-w::
+--workload=::
+ Run a built-in workload, to list them use '-w --list', current ones include:
+ noploop, thloop, leafloop, sqrtloop, brstack, datasym and landlock.
+ Used with the shell script regression tests.
--
2.47.0