summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf-mem.txt
diff options
context:
space:
mode:
authorJames Clark <james.clark@arm.com>2023-01-24 14:59:29 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-01-27 15:00:34 -0300
commit86569c0ab166abdd268032a25ecd369cf0959d2b (patch)
tree63ec353824b4a4f4a5ac925be5175c77fb070ac0 /tools/perf/Documentation/perf-mem.txt
parent6bc75b4c9042325e62fe43f73161b17b5687be6c (diff)
downloadlinux-86569c0ab166abdd268032a25ecd369cf0959d2b.tar.gz
linux-86569c0ab166abdd268032a25ecd369cf0959d2b.tar.bz2
linux-86569c0ab166abdd268032a25ecd369cf0959d2b.zip
perf mem/c2c: Document that SPE is used for mem and c2c on ARM
Setup is non-trivial so also link to the full SPE docs. Signed-off-by: James Clark <james.clark@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-perf-users@vger.kernel.or Link: https://lore.kernel.org/r/20230124145929.557891-1-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-mem.txt')
-rw-r--r--tools/perf/Documentation/perf-mem.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf-mem.txt b/tools/perf/Documentation/perf-mem.txt
index 005c95580b1e..19862572e3f2 100644
--- a/tools/perf/Documentation/perf-mem.txt
+++ b/tools/perf/Documentation/perf-mem.txt
@@ -23,6 +23,11 @@ Note that on Intel systems the memory latency reported is the use-latency,
not the pure load (or store latency). Use latency includes any pipeline
queueing delays in addition to the memory subsystem latency.
+On Arm64 this uses SPE to sample load and store operations, therefore hardware
+and kernel support is required. See linkperf:perf-arm-spe[1] for a setup guide.
+Due to the statistical nature of SPE sampling, not every memory operation will
+be sampled.
+
OPTIONS
-------
<command>...::
@@ -93,4 +98,4 @@ all perf record options.
SEE ALSO
--------
-linkperf:perf-record[1], linkperf:perf-report[1]
+linkperf:perf-record[1], linkperf:perf-report[1], linkperf:perf-arm-spe[1]