diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2024-10-19 23:18:41 -0300 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-10-21 21:10:33 -0700 |
commit | 13c138308d15cb194db53d0f24a4dd9de37193f3 (patch) | |
tree | ec5585e0d878587597515b3742dcb7abd9390dd6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 18b63d63cd0148fef02c6c3f33a596ad7ee97a9a (diff) |
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 <[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]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions