[PATCH v1 06/19] perf vendor events: Update grandridge metrics
Ian Rogers
irogers at google.com
Fri Jul 18 20:45:02 PDT 2025
Update metrics from TMA 5.0 to 5.1.
Signed-off-by: Ian Rogers <irogers at google.com>
---
.../arch/x86/grandridge/grr-metrics.json | 20 +++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/tools/perf/pmu-events/arch/x86/grandridge/grr-metrics.json b/tools/perf/pmu-events/arch/x86/grandridge/grr-metrics.json
index 878b1caf12de..a0d637a24c1b 100644
--- a/tools/perf/pmu-events/arch/x86/grandridge/grr-metrics.json
+++ b/tools/perf/pmu-events/arch/x86/grandridge/grr-metrics.json
@@ -1,56 +1,56 @@
[
{
"BriefDescription": "C10 residency percent per package",
- "MetricExpr": "cstate_pkg at c10\\-residency@ / TSC",
+ "MetricExpr": "cstate_pkg at c10\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C10_Pkg_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C1 residency percent per core",
- "MetricExpr": "cstate_core at c1\\-residency@ / TSC",
+ "MetricExpr": "cstate_core at c1\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C1_Core_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C2 residency percent per package",
- "MetricExpr": "cstate_pkg at c2\\-residency@ / TSC",
+ "MetricExpr": "cstate_pkg at c2\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C2_Pkg_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C3 residency percent per package",
- "MetricExpr": "cstate_pkg at c3\\-residency@ / TSC",
+ "MetricExpr": "cstate_pkg at c3\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C3_Pkg_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C6 residency percent per core",
- "MetricExpr": "cstate_core at c6\\-residency@ / TSC",
+ "MetricExpr": "cstate_core at c6\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C6_Core_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C6 residency percent per package",
- "MetricExpr": "cstate_pkg at c6\\-residency@ / TSC",
+ "MetricExpr": "cstate_pkg at c6\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C6_Pkg_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C7 residency percent per core",
- "MetricExpr": "cstate_core at c7\\-residency@ / TSC",
+ "MetricExpr": "cstate_core at c7\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C7_Core_Residency",
"ScaleUnit": "100%"
},
{
"BriefDescription": "C8 residency percent per package",
- "MetricExpr": "cstate_pkg at c8\\-residency@ / TSC",
+ "MetricExpr": "cstate_pkg at c8\\-residency@ / msr at tsc@",
"MetricGroup": "Power",
"MetricName": "C8_Pkg_Residency",
"ScaleUnit": "100%"
@@ -633,7 +633,7 @@
},
{
"BriefDescription": "Average CPU Utilization",
- "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC",
+ "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr at tsc@",
"MetricName": "tma_info_system_cpu_utilization"
},
{
@@ -645,7 +645,7 @@
},
{
"BriefDescription": "Fraction of cycles spent in Kernel mode",
- "MetricExpr": "cpu at CPU_CLK_UNHALTED.CORE_P@k / CPU_CLK_UNHALTED.CORE",
+ "MetricExpr": "CPU_CLK_UNHALTED.CORE_P:k / CPU_CLK_UNHALTED.CORE",
"MetricGroup": "Summary",
"MetricName": "tma_info_system_kernel_utilization"
},
--
2.50.0.727.gbf7dc18ff4-goog
More information about the linux-arm-kernel
mailing list