diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-10-19 23:18:41 -0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2024-10-21 21:10:33 -0700 |
| commit | 13c138308d15cb194db53d0f24a4dd9de37193f3 (patch) | |
| tree | ec5585e0d878587597515b3742dcb7abd9390dd6 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | perf test: Introduce workloads__for_each() (diff) | |
| download | linux-13c138308d15cb194db53d0f24a4dd9de37193f3.tar.gz linux-13c138308d15cb194db53d0f24a4dd9de37193f3.zip | |
perf test: Introduce --list-workloads to list the available workloads
Using it:
$ perf test -w noplop
No workload found: noplop
$
$ perf test -w
Error: switch `w' requires a value
Usage: perf test [<options>] [{list <test-name-fragment>|[<test-name-fragments>|<test-numbers>]}]
-w, --workload <work>
workload to run for testing, use '--list-workloads' to list the available ones.
$
$ perf test --list-workloads
noploop
thloop
leafloop
sqrtloop
brstack
datasym
landlock
$
Would be good at some point to have a description in 'struct test_workload'.
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-3-acme@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
