xref: /linux/tools/perf/Documentation/perf-test.txt (revision 266aa3b4812e97942a8ce5c7aafa7da059f7b5b8)
1perf-test(1)
2============
3
4NAME
5----
6perf-test - Runs sanity tests.
7
8SYNOPSIS
9--------
10[verse]
11'perf test [<options>] [{list <test-name-fragment>|[<test-name-fragments>|<test-numbers>]}]'
12
13DESCRIPTION
14-----------
15This command does assorted sanity tests, initially through linked routines but
16also will look for a directory with more tests in the form of scripts.
17
18To get a list of available tests use 'perf test list', specifying a test name
19fragment will show all tests that have it.
20
21To run just specific tests, inform test name fragments or the numbers obtained
22from 'perf test list'.
23
24OPTIONS
25-------
26-s::
27--skip::
28	Tests to skip (comma separated numeric list).
29
30-v::
31--verbose::
32	Be more verbose.
33
34-S::
35--sequential::
36	Run tests one after the other, this is the default mode.
37
38-p::
39--parallel::
40	Run tests in parallel, speeds up the whole process but is not safe with
41	the current infrastructure, where some tests that compete for some resources,
42	for instance, 'perf probe' tests that add/remove probes or clean all probes, etc.
43
44-F::
45--dont-fork::
46	Do not fork child for each test, run all tests within single process, this
47	sets sequential mode.
48
49--dso::
50	Specify a DSO for the "Symbols" test.
51