perf-annotate.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. perf-annotate(1)
  2. ================
  3. NAME
  4. ----
  5. perf-annotate - Read perf.data (created by perf record) and display annotated code
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf annotate' [-i <file> | --input=file] [symbol_name]
  10. DESCRIPTION
  11. -----------
  12. This command reads the input file and displays an annotated version of the
  13. code. If the object file has debug symbols then the source code will be
  14. displayed alongside assembly code.
  15. If there is no debug info in the object, then annotated assembly is displayed.
  16. OPTIONS
  17. -------
  18. -i::
  19. --input=::
  20. Input file name. (default: perf.data)
  21. -d::
  22. --dsos=<dso[,dso...]>::
  23. Only consider symbols in these dsos.
  24. -s::
  25. --symbol=<symbol>::
  26. Symbol to annotate.
  27. -f::
  28. --force::
  29. Don't complain, do it.
  30. -v::
  31. --verbose::
  32. Be more verbose. (Show symbol address, etc)
  33. -D::
  34. --dump-raw-trace::
  35. Dump raw trace in ASCII.
  36. -k::
  37. --vmlinux=<file>::
  38. vmlinux pathname.
  39. -m::
  40. --modules::
  41. Load module symbols. WARNING: use only with -k and LIVE kernel.
  42. -l::
  43. --print-line::
  44. Print matching source lines (may be slow).
  45. -P::
  46. --full-paths::
  47. Don't shorten the displayed pathnames.
  48. --stdio:: Use the stdio interface.
  49. --tui:: Use the TUI interface Use of --tui requires a tty, if one is not
  50. present, as when piping to other commands, the stdio interface is
  51. used. This interfaces starts by centering on the line with more
  52. samples, TAB/UNTAB cycles through the lines with more samples.
  53. SEE ALSO
  54. --------
  55. linkperf:perf-record[1], linkperf:perf-report[1]