table of contents
PERF_5.4-MEM(1) | perf Manual | PERF_5.4-MEM(1) |
NAME¶
perf-mem - Profile memory accesses
SYNOPSIS¶
perf mem [<options>] (record [<command>] | report)
DESCRIPTION¶
"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.
OPTIONS¶
<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
RECORD OPTIONS¶
-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.
SEE ALSO¶
perf-record(1), perf-report(1)
2019-12-05 | perf |