1PERF-LOCK(1)                      perf Manual                     PERF-LOCK(1)
2
3
4

NAME

6       perf-lock - Analyze lock events
7

SYNOPSIS

9       perf lock {record|report|script|info}
10

DESCRIPTION

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

COMMON OPTIONS

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 complain, do it.
39

REPORT OPTIONS

41       -k, --key=<value>
42           Sorting key. Possible values: acquired (default), contended,
43           avg_wait, wait_total, wait_max, wait_min.
44
45       -F, --field=<value>
46           Output fields. By default it shows all the fields but users can
47           customize that using this. Possible values: acquired, contended,
48           avg_wait, wait_total, wait_max, wait_min.
49
50       -c, --combine-locks
51           Merge lock instances in the same class (based on name).
52

INFO OPTIONS

54       -t, --threads
55           dump thread list in perf.data
56
57       -m, --map
58           dump map of lock instances (address:name table)
59

SEE ALSO

61       perf(1)
62
63
64
65perf                              06/14/2022                      PERF-LOCK(1)
Impressum