1PERF-MEM(1) perf Manual PERF-MEM(1)
2
3
4
6 perf-mem - Profile memory accesses
7
9 perf mem [<options>] (record [<command>] | report)
10
12 "perf mem record" runs a command and gathers memory operation data from
13 it, into perf.data. Perf record options are accepted and are passed
14 through.
15
16 "perf mem report" displays the result. It invokes perf report with the
17 right set of options to display a memory access profile. By default,
18 loads and stores are sampled. Use the -t option to limit to loads or
19 stores.
20
21 Note that on Intel systems the memory latency reported is the
22 use-latency, not the pure load (or store latency). Use latency includes
23 any pipeline queueing delays in addition to the memory subsystem
24 latency.
25
27 <command>...
28 Any command you can specify in a shell.
29
30 -t, --type=
31 Select the memory operation type: load or store (default:
32 load,store)
33
34 -D, --dump-raw-samples=
35 Dump the raw decoded samples on the screen in a format that is easy
36 to parse with one sample per line.
37
38 -x, --field-separator
39 Specify the field separator used when dump raw samples (-D option).
40 By default, The separator is the space character.
41
42 -C, --cpu-list
43 Restrict dump of raw samples to those provided via this option.
44 Note that the same option can be passed in record mode. It will be
45 interpreted the same way as perf record.
46
47 -K, --all-kernel
48 Configure all used events to run in kernel space.
49
50 -U, --all-user
51 Configure all used events to run in user space.
52
53 --ldload
54 Specify desired latency for loads event.
55
56 -p, --phys-data
57 Record/Report sample physical addresses
58
60 perf-record(1), perf-report(1)
61
62
63
64perf 06/18/2019 PERF-MEM(1)