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
37 -f, --force
38 Don’t complan, do it.
39
41 -k, --key=<value>
42 Sorting key. Possible values: acquired (default), contended,
43 avg_wait, wait_total, wait_max, wait_min.
44
46 -t, --threads
47 dump thread list in perf.data
48
49 -m, --map
50 dump map of lock instances (address:name table)
51
53 perf(1)
54
55
56
57perf 11/12/2019 PERF-LOCK(1)