diff options
author | Don Zickus <dzickus@redhat.com> | 2014-05-23 12:41:23 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-06-09 07:34:47 -0400 |
commit | 75e906c9601aee73b88d6e6dc02371f8c3ca24d7 (patch) | |
tree | a24f444c8a2fe8d851837493ceffe8e390c34d1c /tools/perf/Documentation | |
parent | a5a5ba72843dd05f991184d6cb9a4471acce1005 (diff) |
perf report: Add mem-mode documentation to report command
Add mem-mode sorting types and mem-mode itself to perf-report documentation.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/1400526833-141779-5-git-send-email-dzickus@redhat.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf-report.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-report.txt b/tools/perf/Documentation/perf-report.txt index cefdf430d1b4..00fbfb6d7f14 100644 --- a/tools/perf/Documentation/perf-report.txt +++ b/tools/perf/Documentation/perf-report.txt | |||
@@ -117,6 +117,21 @@ OPTIONS | |||
117 | By default, every sort keys not specified in -F will be appended | 117 | By default, every sort keys not specified in -F will be appended |
118 | automatically. | 118 | automatically. |
119 | 119 | ||
120 | If --mem-mode option is used, following sort keys are also available | ||
121 | (incompatible with --branch-stack): | ||
122 | symbol_daddr, dso_daddr, locked, tlb, mem, snoop. | ||
123 | |||
124 | - symbol_daddr: name of data symbol being executed on at the time of sample | ||
125 | - dso_daddr: name of library or module containing the data being executed | ||
126 | on at the time of sample | ||
127 | - locked: whether the bus was locked at the time of sample | ||
128 | - tlb: type of tlb access for the data at the time of sample | ||
129 | - mem: type of memory access for the data at the time of sample | ||
130 | - snoop: type of snoop (if any) for the data at the time of sample | ||
131 | |||
132 | And default sort keys are changed to local_weight, mem, sym, dso, | ||
133 | symbol_daddr, dso_daddr, snoop, tlb, locked, see '--mem-mode'. | ||
134 | |||
120 | -p:: | 135 | -p:: |
121 | --parent=<regex>:: | 136 | --parent=<regex>:: |
122 | A regex filter to identify parent. The parent is a caller of this | 137 | A regex filter to identify parent. The parent is a caller of this |
@@ -260,6 +275,13 @@ OPTIONS | |||
260 | Demangle symbol names to human readable form. It's enabled by default, | 275 | Demangle symbol names to human readable form. It's enabled by default, |
261 | disable with --no-demangle. | 276 | disable with --no-demangle. |
262 | 277 | ||
278 | --mem-mode:: | ||
279 | Use the data addresses of samples in addition to instruction addresses | ||
280 | to build the histograms. To generate meaningful output, the perf.data | ||
281 | file must have been obtained using perf record -d -W and using a | ||
282 | special event -e cpu/mem-loads/ or -e cpu/mem-stores/. See | ||
283 | 'perf mem' for simpler access. | ||
284 | |||
263 | --percent-limit:: | 285 | --percent-limit:: |
264 | Do not show entries which have an overhead under that percent. | 286 | Do not show entries which have an overhead under that percent. |
265 | (Default: 0). | 287 | (Default: 0). |