perf-lock.txt 967 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
perf-lock(1)
============

NAME
----
perf-lock - Analyze lock events

SYNOPSIS
--------
[verse]
'perf lock' {record|report|trace}

DESCRIPTION
-----------
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 trace' shows raw lock events.

  'perf lock report' reports statistical data.

27 28
COMMON OPTIONS
--------------
S
Shawn Bohrer 已提交
29 30 31

-i::
--input=<file>::
32
        Input file name. (default: perf.data unless stdin is a fifo)
S
Shawn Bohrer 已提交
33 34 35 36 37 38 39 40 41

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

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

42 43 44 45 46 47 48 49
REPORT OPTIONS
--------------

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

50 51 52
SEE ALSO
--------
linkperf:perf[1]