Skip to content

Commit 915a377

Browse files
acmelnamhyung
authored andcommitted
perf test: Document the -w/--workload option
Wasn't documented so far, mention that it is mostly used in the shell regression tests. Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Reviewed-by: James Clark <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Clark Williams <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent 13c1383 commit 915a377

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tools/perf/Documentation/perf-test.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,20 @@ OPTIONS
4848

4949
--dso::
5050
Specify a DSO for the "Symbols" test.
51+
52+
-w::
53+
--workload=::
54+
Run a built-in workload, to list them use '--list-workloads', current ones include:
55+
noploop, thloop, leafloop, sqrtloop, brstack, datasym and landlock.
56+
57+
Used with the shell script regression tests.
58+
59+
Some accept an extra parameter:
60+
61+
seconds: leafloop, noploop, sqrtloop, thloop
62+
nrloops: brstack
63+
64+
The datasym and landlock workloads don't accept any.
65+
66+
--list-workloads::
67+
List the available workloads to use with -w/--workload.

0 commit comments

Comments
 (0)