NAME | SYNOPSIS | DESCRIPTION | COMMON OPTIONS | REPORT OPTIONS | INFO OPTIONS | SEE ALSO | COLOPHON

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

COMMON OPTIONS         top

       -i, --input=<file>
           Input file name. (default: perf.data unless stdin is a fifo)
       -v, --verbose
           Be more verbose (show symbol address, etc).
       -D, --dump-raw-trace
           Dump raw trace in ASCII.

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 perf.data
       -m, --map
           dump map of lock instances (address:name table)

SEE ALSO         top

       perf(1)

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 ⟨https://perf.wiki.kernel.org/index.php/Main_Page⟩.  If
       you have a bug report for this manual page, send it to
       linux-kernel@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository 
       ⟨http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git⟩ on
       2017-07-05.  If you discover any rendering problems in this HTML ver‐
       sion 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 man‐
       ual page), send a mail to man-pages@man7.org
perf                             02/18/2017                     PERF-LOCK(1)