perf-mem.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. perf-mem(1)
  2. ===========
  3. NAME
  4. ----
  5. perf-mem - Profile memory accesses
  6. SYNOPSIS
  7. --------
  8. [verse]
  9. 'perf mem' [<options>] (record [<command>] | report)
  10. DESCRIPTION
  11. -----------
  12. "perf mem -t <TYPE> record" runs a command and gathers memory operation data
  13. from it, into perf.data. Perf record options are accepted and are passed through.
  14. "perf mem -t <TYPE> report" displays the result. It invokes perf report with the
  15. right set of options to display a memory access profile.
  16. Note that on Intel systems the memory latency reported is the use-latency,
  17. not the pure load (or store latency). Use latency includes any pipeline
  18. queueing delays in addition to the memory subsystem latency.
  19. OPTIONS
  20. -------
  21. <command>...::
  22. Any command you can specify in a shell.
  23. -t::
  24. --type=::
  25. Select the memory operation type: load or store (default: load)
  26. -D::
  27. --dump-raw-samples=::
  28. Dump the raw decoded samples on the screen in a format that is easy to parse with
  29. one sample per line.
  30. -x::
  31. --field-separator::
  32. Specify the field separator used when dump raw samples (-D option). By default,
  33. The separator is the space character.
  34. -C::
  35. --cpu-list::
  36. Restrict dump of raw samples to those provided via this option. Note that the same
  37. option can be passed in record mode. It will be interpreted the same way as perf
  38. record.
  39. SEE ALSO
  40. --------
  41. linkperf:perf-record[1], linkperf:perf-report[1]