diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-10-19 23:18:42 -0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-10-21 21:10:50 -0700 |
commit | 915a377627f7ad91983377f68c3096b3594961a4 (patch) | |
tree | 095ee3d78e45a73e58216445f1e2052d69a0bfc3 | |
parent | 13c138308d15cb194db53d0f24a4dd9de37193f3 (diff) | |
download | lwn-915a377627f7ad91983377f68c3096b3594961a4.tar.gz lwn-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>
-rw-r--r-- | tools/perf/Documentation/perf-test.txt | 17 |
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. |