perf-lock.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. -f::
  34. --force::
  35. Don't complan, do it.
  36. REPORT OPTIONS
  37. --------------
  38. -k::
  39. --key=<value>::
  40. Sorting key. Possible values: acquired (default), contended,
  41. avg_wait, wait_total, wait_max, wait_min.
  42. INFO OPTIONS
  43. ------------
  44. -t::
  45. --threads::
  46. dump thread list in perf.data
  47. -m::
  48. --map::
  49. dump map of lock instances (address:name table)
  50. SEE ALSO
  51. --------
  52. linkperf:perf[1]