summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-test.txt
blob: 9acb8d1f658890e9af9999f3fd93e20466c04cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
perf-test(1)
============

NAME
----
perf-test - Runs sanity tests.

SYNOPSIS
--------
[verse]
'perf test [<options>] [{list <test-name-fragment>|[<test-name-fragments>|<test-numbers>]}]'

DESCRIPTION
-----------
This command does assorted sanity tests, initially through linked routines but
also will look for a directory with more tests in the form of scripts.

To get a list of available tests use 'perf test list', specifying a test name
fragment will show all tests that have it.

To run just specific tests, inform test name fragments or the numbers obtained
from 'perf test list'.

OPTIONS
-------
-s::
--skip::
	Tests to skip (comma separated numeric list).

-v::
--verbose::
	Be more verbose.

-S::
--sequential::
	Run tests one after the other, this is the default mode.

-p:: 
--parallel::
	Run tests in parallel, speeds up the whole process but is not safe with
	the current infrastructure, where some tests that compete for some resources,
	for instance, 'perf probe' tests that add/remove probes or clean all probes, etc.

-F::
--dont-fork::
	Do not fork child for each test, run all tests within single process, this
	sets sequential mode.

--dso::
	Specify a DSO for the "Symbols" test.