perf-lock(1) — Linux manual page

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.

       -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 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 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 man-pages@man7.org

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

Pages that refer to this page: perf(1)