Skip to content

Commit 556fd66

Browse files
Kan Liangacmel
authored andcommitted
perf vendor events arm64: Add default tags into topdown L1 metrics
Add the default tags for ARM as well. Signed-off-by: Kan Liang <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ahmad Yasin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jing Zhang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent e259555 commit 556fd66

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tools/perf/pmu-events/arch/arm64/sbsa.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,32 @@
22
{
33
"MetricExpr": "stall_slot_frontend / (#slots * cpu_cycles)",
44
"BriefDescription": "Frontend bound L1 topdown metric",
5-
"MetricGroup": "TopdownL1",
5+
"DefaultMetricgroupName": "TopdownL1",
6+
"MetricGroup": "Default;TopdownL1",
67
"MetricName": "frontend_bound",
78
"ScaleUnit": "100%"
89
},
910
{
1011
"MetricExpr": "(1 - op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles))",
1112
"BriefDescription": "Bad speculation L1 topdown metric",
12-
"MetricGroup": "TopdownL1",
13+
"DefaultMetricgroupName": "TopdownL1",
14+
"MetricGroup": "Default;TopdownL1",
1315
"MetricName": "bad_speculation",
1416
"ScaleUnit": "100%"
1517
},
1618
{
1719
"MetricExpr": "(op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles))",
1820
"BriefDescription": "Retiring L1 topdown metric",
19-
"MetricGroup": "TopdownL1",
21+
"DefaultMetricgroupName": "TopdownL1",
22+
"MetricGroup": "Default;TopdownL1",
2023
"MetricName": "retiring",
2124
"ScaleUnit": "100%"
2225
},
2326
{
2427
"MetricExpr": "stall_slot_backend / (#slots * cpu_cycles)",
2528
"BriefDescription": "Backend Bound L1 topdown metric",
26-
"MetricGroup": "TopdownL1",
29+
"DefaultMetricgroupName": "TopdownL1",
30+
"MetricGroup": "Default;TopdownL1",
2731
"MetricName": "backend_bound",
2832
"ScaleUnit": "100%"
2933
}

0 commit comments

Comments
 (0)