PERF-MEM(1) | perf Manual | PERF-MEM(1) |
perf-mem - Profile memory accesses
perf mem [<options>] (record [<command>] | report)
"perf mem record" runs a command and gathers memory operation data from it, into perf.data. Perf record options are accepted and are passed through.
"perf mem report" displays the result. It invokes perf report with the right set of options to display a memory access profile. By default, loads and stores are sampled. Use the -t option to limit to loads or stores.
Note that on Intel systems the memory latency reported is the use-latency, not the pure load (or store latency). Use latency includes any pipeline queueing delays in addition to the memory subsystem latency.
<command>...
-i, --input=<file>
-f, --force
-t, --type=<type>
-D, --dump-raw-samples
-x, --field-separator=<separator>
-C, --cpu=<cpu>
-U, --hide-unresolved
-p, --phys-data
--data-page-size
-e, --event <event>
-K, --all-kernel
-U, --all-user
-v, --verbose
--ldlat <n>
In addition, for report all perf report options are valid, and for record all perf record options.
2024-02-01 | perf |