[PATCH v1 10/11] perf c2c: Update documentation for new display option 'peer'

From: Leo Yan
Date: Wed Apr 27 2022 - 11:51:47 EST


Since the new display option 'peer' is introduced, this patch is to
update the documentation to reflect it.

Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
Tested-by: Ali Saidi <alisaidi@xxxxxxxxxx>
---
tools/perf/Documentation/perf-c2c.txt | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/tools/perf/Documentation/perf-c2c.txt b/tools/perf/Documentation/perf-c2c.txt
index b39e3f3df272..aa560ce1a192 100644
--- a/tools/perf/Documentation/perf-c2c.txt
+++ b/tools/perf/Documentation/perf-c2c.txt
@@ -109,7 +109,8 @@ REPORT OPTIONS

-d::
--display::
- Switch to HITM type (rmt, lcl) to display and sort on. Total HITMs as default.
+ Switch to HITM type (rmt, lcl) or peer snooping type (peer) to display
+ and sort on. Total HITMs (tot) as default.

--stitch-lbr::
Show callgraph with stitched LBRs, which may have more complete
@@ -174,12 +175,18 @@ For each cacheline in the 1) list we display following data:
Cacheline
- cacheline address (hex number)

- Rmt/Lcl Hitm
+ Rmt/Lcl Hitm (For display with HITM types)
- cacheline percentage of all Remote/Local HITM accesses

+ Snoop Peer (For display with peer type)
+ - cacheline percentage of peer access
+
LLC Load Hitm - Total, LclHitm, RmtHitm
- count of Total/Local/Remote load HITMs

+ Snoop Peer
+ - count of peer access
+
Total records
- sum of all cachelines accesses

@@ -211,6 +218,9 @@ For each offset in the 2) list we display following data:
HITM - Rmt, Lcl
- % of Remote/Local HITM accesses for given offset within cacheline

+ Snoop Peer
+ - % of peer accesses for given offset within cacheline
+
Store Refs - L1 Hit, L1 Miss, Any Lvl
- % of store accesses that hit L1, missed L1 and any cache level for given
offset within cacheline
@@ -227,8 +237,9 @@ For each offset in the 2) list we display following data:
Code address
- code address responsible for the accesses

- cycles - rmt hitm, lcl hitm, load
- - sum of cycles for given accesses - Remote/Local HITM and generic load
+ cycles - rmt hitm, lcl hitm, load, peer
+ - sum of cycles for given accesses - Remote/Local HITM, generic load and
+ peer access

cpu cnt
- number of cpus that participated on the access
@@ -251,7 +262,8 @@ The 'Node' field displays nodes that accesses given cacheline
offset. Its output comes in 3 flavors:
- node IDs separated by ','
- node IDs with stats for each ID, in following format:
- Node{cpus %hitms %stores}
+ Node{cpus %hitms %stores} (For display with HITM types)
+ Node{cpus %peers %stores} (For display with "peer" type)
- node IDs with list of affected CPUs in following format:
Node{cpu list}

--
2.25.1