summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-test.txt
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2024-10-20 04:18:42 +0200
committerNamhyung Kim <namhyung@kernel.org>2024-10-22 06:10:50 +0200
commit915a377627f7ad91983377f68c3096b3594961a4 (patch)
tree095ee3d78e45a73e58216445f1e2052d69a0bfc3 /tools/perf/Documentation/perf-test.txt
parentperf test: Introduce --list-workloads to list the available workloads (diff)
downloadlinux-915a377627f7ad91983377f68c3096b3594961a4.tar.xz
linux-915a377627f7ad91983377f68c3096b3594961a4.zip
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 <acme@redhat.com> Reviewed-by: James Clark <james.clark@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Clark Williams <williams@redhat.com> Link: https://lore.kernel.org/r/20241020021842.1752770-4-acme@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/Documentation/perf-test.txt')
-rw-r--r--tools/perf/Documentation/perf-test.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-test.txt b/tools/perf/Documentation/perf-test.txt
index 9acb8d1f6588..efcdec528a8f 100644
--- a/tools/perf/Documentation/perf-test.txt
+++ b/tools/perf/Documentation/perf-test.txt
@@ -48,3 +48,20 @@ OPTIONS
--dso::
Specify a DSO for the "Symbols" test.
+
+-w::
+--workload=::
+ Run a built-in workload, to list them use '--list-workloads', current ones include:
+ noploop, thloop, leafloop, sqrtloop, brstack, datasym and landlock.
+
+ Used with the shell script regression tests.
+
+ Some accept an extra parameter:
+
+ seconds: leafloop, noploop, sqrtloop, thloop
+ nrloops: brstack
+
+ The datasym and landlock workloads don't accept any.
+
+--list-workloads::
+ List the available workloads to use with -w/--workload.