perf-lock.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. perf-lock(1)
  2. ============
  3. NAME
  4. ----
  5. perf-lock - Analyze lock events
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf lock' {record|report|script|info}
  10. DESCRIPTION
  11. -----------
  12. You can analyze various lock behaviours
  13. and statistics with this 'perf lock' command.
  14. 'perf lock record <command>' records lock events
  15. between start and end <command>. And this command
  16. produces the file "perf.data" which contains tracing
  17. results of lock events.
  18. 'perf lock report' reports statistical data.
  19. 'perf lock script' shows raw lock events.
  20. 'perf lock info' shows metadata like threads or addresses
  21. of lock instances.
  22. COMMON OPTIONS
  23. --------------
  24. -i::
  25. --input=<file>::
  26. Input file name. (default: perf.data unless stdin is a fifo)
  27. -v::
  28. --verbose::
  29. Be more verbose (show symbol address, etc).
  30. -D::
  31. --dump-raw-trace::
  32. Dump raw trace in ASCII.
  33. REPORT OPTIONS
  34. --------------
  35. -k::
  36. --key=<value>::
  37. Sorting key. Possible values: acquired (default), contended,
  38. avg_wait, wait_total, wait_max, wait_min.
  39. INFO OPTIONS
  40. ------------
  41. -t::
  42. --threads::
  43. dump thread list in perf.data
  44. -m::
  45. --map::
  46. dump map of lock instances (address:name table)
  47. SEE ALSO
  48. --------
  49. linkperf:perf[1]