1PERF-LOCK(1) perf Manual PERF-LOCK(1)
2
3
4
6 perf-lock - Analyze lock events
7
9 perf lock {record|report|script|info}
10
12 You can analyze various lock behaviours and statistics with this perf
13 lock command.
14
15 ´perf lock record <command>´ records lock events
16 between start and end <command>. And this command
17 produces the file "perf.data" which contains tracing
18 results of lock events.
19
20 ´perf lock report´ reports statistical data.
21
22 ´perf lock script´ shows raw lock events.
23
24 ´perf lock info´ shows metadata like threads or addresses
25 of lock instances.
26
28 -i, --input=<file>
29 Input file name. (default: perf.data unless stdin is a fifo)
30
31 -v, --verbose
32 Be more verbose (show symbol address, etc).
33
34 -D, --dump-raw-trace
35 Dump raw trace in ASCII.
36
38 -k, --key=<value>
39 Sorting key. Possible values: acquired (default), contended,
40 avg_wait, wait_total, wait_max, wait_min.
41
43 -t, --threads
44 dump thread list in perf.data
45
46 -m, --map
47 dump map of lock instances (address:name table)
48
50 perf(1)
51
52
53
54perf 06/18/2019 PERF-LOCK(1)