lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v2 2/6] perf vendor events arm64: Add TLB metrics for neoverse-n2
Date
Add TLB related metrics.

Signed-off-by: Jing Zhang <renyu.zj@linux.alibaba.com>
---
.../arch/arm64/arm/neoverse-n2/metrics.json | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)

diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json
index 0048dfe..324ca12 100644
--- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json
+++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json
@@ -26,5 +26,33 @@
"BriefDescription": "Backend Bound L1 topdown metric",
"MetricGroup": "TopDownL1",
"MetricName": "backend_bound"
+ },
+ {
+ "MetricExpr": "ITLB_WALK / INST_RETIRED * 1000",
+ "PublicDescription": "The rate of TLB Walks per kilo instructions for instruction accesses",
+ "BriefDescription": "The rate of TLB Walks per kilo instructions for instruction accesses",
+ "MetricGroup": "TLB",
+ "MetricName": "itlb_mpki"
+ },
+ {
+ "MetricExpr": "ITLB_WALK / L1I_TLB",
+ "PublicDescription": "The rate of ITLB Walks to the overall TLB lookups initiated from the instruction side",
+ "BriefDescription": "The rate of ITLB Walks to the overall TLB lookups",
+ "MetricGroup": "TLB",
+ "MetricName": "itlb_walk_rate"
+ },
+ {
+ "MetricExpr": "DTLB_WALK / INST_RETIRED * 1000",
+ "PublicDescription": "The rate of TLB Walks per kilo instructions for data accesses",
+ "BriefDescription": "The rate of TLB Walks per kilo instructions for data accesses",
+ "MetricGroup": "TLB",
+ "MetricName": "dtlb_mpki"
+ },
+ {
+ "MetricExpr": "DTLB_WALK / L1D_TLB",
+ "PublicDescription": "The rate of DTLB Walks to the overall TLB lookups made by the program",
+ "BriefDescription": "The rate of DTLB Walks to the overall TLB lookups",
+ "MetricGroup": "TLB",
+ "MetricName": "dtlb_walk_rate"
}
]
\ No newline at end of file
--
1.8.3.1
\
 
 \ /
  Last update: 2022-11-14 08:44    [W:0.212 / U:2.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site