OSDN Git Service

perf report: Fix description for --mem-mode
authorAndi Kleen <ak@linux.intel.com>
Fri, 9 Feb 2018 16:39:09 +0000 (08:39 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 17:55:46 +0000 (14:55 -0300)
The "mem-loads" event only works when PEBS is enabled, so add the "/p"
("precise") suffix to the examples.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
LPU-Reference: 20180209163909.9240-1-andi@firstfloor.org
Link: https://lkml.kernel.org/n/tip-v0gcd4u9tktrvjjsp6y7ouv4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-report.txt

index a76b871..cba16d8 100644 (file)
@@ -368,7 +368,7 @@ OPTIONS
        Use the data addresses of samples in addition to instruction addresses
        to build the histograms.  To generate meaningful output, the perf.data
        file must have been obtained using perf record -d -W and using a
-       special event -e cpu/mem-loads/ or -e cpu/mem-stores/. See
+       special event -e cpu/mem-loads/p or -e cpu/mem-stores/p. See
        'perf mem' for simpler access.
 
 --percent-limit::