aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf-lock.txt
blob: 4a26a2f3a6a39a2da7e3954fdc8fed59c6647f20 (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
51
52
perf-lock(1)
============

NAME
----
perf-lock - Analyze lock events

SYNOPSIS
--------
[verse]
'perf lock' {record|report|trace}

DESCRIPTION
-----------
You can analyze various lock behaviours
and statistics with this 'perf lock' command.

  'perf lock record <command>' records lock events
  between start and end <command>. And this command
  produces the file "perf.data" which contains tracing
  results of lock events.

  'perf lock trace' shows raw lock events.

  'perf lock report' reports statistical data.

COMMON OPTIONS
--------------

-i::
--input=<file>::
        Input file name.

-v::
--verbose::
        Be more verbose (show symbol address, etc).

-D::
--dump-raw-trace::
        Dump raw trace in ASCII.

REPORT OPTIONS
--------------

-k::
--key=<value>::
        Sorting key. Possible values: acquired (default), contended,
        wait_total, wait_max, wait_min.

SEE ALSO
--------
linkperf:perf[1]