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 report' reports statistical data.
'perf lock script' shows raw lock events.
'perf lock info' shows metadata like threads or addresses
of lock instances.
Input file name. (default: perf.data unless stdin is a fifo)
Be more verbose (show symbol address, etc).
Dump raw trace in ASCII.
Don’t complan, do it.
This page is part of the perf (Performance analysis tools for
Linux (in Linux source tree)) project. Information about the
project can be found at
⟨https://perf.wiki.kernel.org/index.php/Main_Page⟩. If you have a
bug report for this manual page, send it to
firstname.lastname@example.org. This page was obtained from the
project's upstream Git repository
on 2021-04-01. (At that time, the date of the most recent commit
that was found in the repository was 2021-03-31.) If you
discover any rendering problems in this HTML version of the page,
or you believe there is a better or more up-to-date source for
the page, or you have corrections or improvements to the
information in this COLOPHON (which is not part of the original
manual page), send a mail to email@example.com
perf 2017-11-16 PERF-LOCK(1)