[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1667214694-89839-3-git-send-email-renyu.zj@linux.alibaba.com>
Date: Mon, 31 Oct 2022 19:11:30 +0800
From: Jing Zhang <renyu.zj@...ux.alibaba.com>
To: linux-arm-kernel@...ts.infradead.org,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: John Garry <john.garry@...wei.com>, Will Deacon <will@...nel.org>,
James Clark <james.clark@....com>,
Mike Leach <mike.leach@...aro.org>,
Leo Yan <leo.yan@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Andrew Kilroy <andrew.kilroy@....com>,
Shuai Xue <xueshuai@...ux.alibaba.com>,
Zhuo Song <zhuo.song@...ux.alibaba.com>
Subject: [PATCH RFC 2/6] perf vendor events arm64: Add TLB metrics for neoverse-n2
Add TLB related metrics.
Signed-off-by: Jing Zhang <renyu.zj@...ux.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 b6b3b19..066d905 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
Powered by blists - more mailing lists