perf-report.txt 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. perf-report(1)
  2. ==============
  3. NAME
  4. ----
  5. perf-report - Read perf.data (created by perf record) and display the profile
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf report' [-i <file> | --input=file]
  10. DESCRIPTION
  11. -----------
  12. This command displays the performance counter profile information recorded
  13. via perf record.
  14. OPTIONS
  15. -------
  16. -i::
  17. --input=::
  18. Input file name. (default: perf.data)
  19. -v::
  20. --verbose::
  21. Be more verbose. (show symbol address, etc)
  22. -d::
  23. --dsos=::
  24. Only consider symbols in these dsos. CSV that understands
  25. file://filename entries.
  26. -n::
  27. --show-nr-samples::
  28. Show the number of samples for each symbol
  29. --showcpuutilization::
  30. Show sample percentage for different cpu modes.
  31. -T::
  32. --threads::
  33. Show per-thread event counters
  34. -C::
  35. --comms=::
  36. Only consider symbols in these comms. CSV that understands
  37. file://filename entries.
  38. -S::
  39. --symbols=::
  40. Only consider these symbols. CSV that understands
  41. file://filename entries.
  42. -U::
  43. --hide-unresolved::
  44. Only display entries resolved to a symbol.
  45. -s::
  46. --sort=::
  47. Sort by key(s): pid, comm, dso, symbol, parent.
  48. -p::
  49. --parent=<regex>::
  50. regex filter to identify parent, see: '--sort parent'
  51. -x::
  52. --exclude-other::
  53. Only display entries with parent-match.
  54. -w::
  55. --column-widths=<width[,width...]>::
  56. Force each column width to the provided list, for large terminal
  57. readability.
  58. -t::
  59. --field-separator=::
  60. Use a special separator character and don't pad with spaces, replacing
  61. all occurrences of this separator in symbol names (and other output)
  62. with a '.' character, that thus it's the only non valid separator.
  63. -D::
  64. --dump-raw-trace::
  65. Dump raw trace in ASCII.
  66. -g [type,min]::
  67. --call-graph::
  68. Display call chains using type and min percent threshold.
  69. type can be either:
  70. - flat: single column, linear exposure of call chains.
  71. - graph: use a graph tree, displaying absolute overhead rates.
  72. - fractal: like graph, but displays relative rates. Each branch of
  73. the tree is considered as a new profiled object. +
  74. Default: fractal,0.5.
  75. --pretty=<key>::
  76. Pretty printing style. key: normal, raw
  77. --stdio:: Use the stdio interface.
  78. --tui:: Use the TUI interface, that is integrated with annotate and allows
  79. zooming into DSOs or threads, among other features. Use of --tui
  80. requires a tty, if one is not present, as when piping to other
  81. commands, the stdio interface is used.
  82. -k::
  83. --vmlinux=<file>::
  84. vmlinux pathname
  85. --kallsyms=<file>::
  86. kallsyms pathname
  87. -m::
  88. --modules::
  89. Load module symbols. WARNING: This should only be used with -k and
  90. a LIVE kernel.
  91. -f::
  92. --force::
  93. Don't complain, do it.
  94. --symfs=<directory>::
  95. Look for files with symbols relative to this directory.
  96. SEE ALSO
  97. --------
  98. linkperf:perf-stat[1]