perf-mem.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. OPTIONS
  17. -------
  18. <command>...::
  19. Any command you can specify in a shell.
  20. -t::
  21. --type=::
  22. Select the memory operation type: load or store (default: load)
  23. -D::
  24. --dump-raw-samples=::
  25. Dump the raw decoded samples on the screen in a format that is easy to parse with
  26. one sample per line.
  27. -x::
  28. --field-separator::
  29. Specify the field separator used when dump raw samples (-D option). By default,
  30. The separator is the space character.
  31. -C::
  32. --cpu-list::
  33. Restrict dump of raw samples to those provided via this option. Note that the same
  34. option can be passed in record mode. It will be interpreted the same way as perf
  35. record.
  36. SEE ALSO
  37. --------
  38. linkperf:perf-record[1], linkperf:perf-report[1]