1028f12eeSStephane Eranianperf-mem(1) 2028f12eeSStephane Eranian=========== 3028f12eeSStephane Eranian 4028f12eeSStephane EranianNAME 5028f12eeSStephane Eranian---- 6028f12eeSStephane Eranianperf-mem - Profile memory accesses 7028f12eeSStephane Eranian 8028f12eeSStephane EranianSYNOPSIS 9028f12eeSStephane Eranian-------- 10028f12eeSStephane Eranian[verse] 11028f12eeSStephane Eranian'perf mem' [<options>] (record [<command>] | report) 12028f12eeSStephane Eranian 13028f12eeSStephane EranianDESCRIPTION 14028f12eeSStephane Eranian----------- 15028f12eeSStephane Eranian"perf mem -t <TYPE> record" runs a command and gathers memory operation data 16028f12eeSStephane Eranianfrom it, into perf.data. Perf record options are accepted and are passed through. 17028f12eeSStephane Eranian 18028f12eeSStephane Eranian"perf mem -t <TYPE> report" displays the result. It invokes perf report with the 19028f12eeSStephane Eranianright set of options to display a memory access profile. 20028f12eeSStephane Eranian 21028f12eeSStephane EranianOPTIONS 22028f12eeSStephane Eranian------- 23028f12eeSStephane Eranian<command>...:: 24028f12eeSStephane Eranian Any command you can specify in a shell. 25028f12eeSStephane Eranian 26028f12eeSStephane Eranian-t:: 27028f12eeSStephane Eranian--type=:: 28028f12eeSStephane Eranian Select the memory operation type: load or store (default: load) 29028f12eeSStephane Eranian 30028f12eeSStephane Eranian-D:: 31028f12eeSStephane Eranian--dump-raw-samples=:: 32028f12eeSStephane Eranian Dump the raw decoded samples on the screen in a format that is easy to parse with 33028f12eeSStephane Eranian one sample per line. 34028f12eeSStephane Eranian 35028f12eeSStephane Eranian-x:: 36028f12eeSStephane Eranian--field-separator:: 37028f12eeSStephane Eranian Specify the field separator used when dump raw samples (-D option). By default, 38028f12eeSStephane Eranian The separator is the space character. 39028f12eeSStephane Eranian 40028f12eeSStephane Eranian-C:: 41028f12eeSStephane Eranian--cpu-list:: 42028f12eeSStephane Eranian Restrict dump of raw samples to those provided via this option. Note that the same 43028f12eeSStephane Eranian option can be passed in record mode. It will be interpreted the same way as perf 44028f12eeSStephane Eranian record. 45028f12eeSStephane Eranian 46028f12eeSStephane EranianSEE ALSO 47028f12eeSStephane Eranian-------- 48028f12eeSStephane Eranianlinkperf:perf-record[1], linkperf:perf-report[1] 49