perf-lock(1) — Linux manual page


PERF-LOCK(1)                   perf Manual                  PERF-LOCK(1)

NAME         top

       perf-lock - Analyze lock events

SYNOPSIS         top

       perf lock {record|report|script|info}

DESCRIPTION         top

       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 "" 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.

COMMON OPTIONS         top

       -i, --input=<file>
           Input file name. (default: unless stdin is a fifo)

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

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

       -f, --force
           Don’t complan, do it.

REPORT OPTIONS         top

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

INFO OPTIONS         top

       -t, --threads
           dump thread list in

       -m, --map
           dump map of lock instances (address:name table)

SEE ALSO         top


COLOPHON         top

       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 
       ⟨⟩.  If you have a
       bug report for this manual page, send it to  This page was obtained from the
       project's upstream Git repository
       on 2021-08-27.  (At that time, the date of the most recent commit
       that was found in the repository was 2021-08-26.)  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

perf                           2017-11-16                   PERF-LOCK(1)

Pages that refer to this page: perf(1)