diff options
Diffstat (limited to 'tools/perf/Documentation/perf-mem.txt')
-rw-r--r-- | tools/perf/Documentation/perf-mem.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/perf/Documentation/perf-mem.txt b/tools/perf/Documentation/perf-mem.txt index 1d78a4064da4..43310d8661fe 100644 --- a/tools/perf/Documentation/perf-mem.txt +++ b/tools/perf/Documentation/perf-mem.txt | |||
@@ -12,11 +12,12 @@ SYNOPSIS | |||
12 | 12 | ||
13 | DESCRIPTION | 13 | DESCRIPTION |
14 | ----------- | 14 | ----------- |
15 | "perf mem -t <TYPE> record" runs a command and gathers memory operation data | 15 | "perf mem record" runs a command and gathers memory operation data |
16 | from it, into perf.data. Perf record options are accepted and are passed through. | 16 | from it, into perf.data. Perf record options are accepted and are passed through. |
17 | 17 | ||
18 | "perf mem -t <TYPE> report" displays the result. It invokes perf report with the | 18 | "perf mem report" displays the result. It invokes perf report with the |
19 | right set of options to display a memory access profile. | 19 | right set of options to display a memory access profile. By default, loads |
20 | and stores are sampled. Use the -t option to limit to loads or stores. | ||
20 | 21 | ||
21 | Note that on Intel systems the memory latency reported is the use-latency, | 22 | Note that on Intel systems the memory latency reported is the use-latency, |
22 | not the pure load (or store latency). Use latency includes any pipeline | 23 | not the pure load (or store latency). Use latency includes any pipeline |
@@ -29,7 +30,7 @@ OPTIONS | |||
29 | 30 | ||
30 | -t:: | 31 | -t:: |
31 | --type=:: | 32 | --type=:: |
32 | Select the memory operation type: load or store (default: load) | 33 | Select the memory operation type: load or store (default: load,store) |
33 | 34 | ||
34 | -D:: | 35 | -D:: |
35 | --dump-raw-samples=:: | 36 | --dump-raw-samples=:: |