Skip to content

Commit e5e34e9

Browse files
Yoshihiro-Furuderaacmel
authored andcommitted
perf vendor events arm64: Add FUJITSU-MONAKA PMU event
Add PMU events for FUJITSU-MONAKA. And, also updated common-and-microarch.json and recommended.json. FUJITSU-MONAKA Specification URL: https://github.com/fujitsu/FUJITSU-MONAKA Reviewed-by: James Clark <[email protected]> Signed-off-by: Akio Kakuno <[email protected]> Signed-off-by: Yoshihiro Furudera <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ilkka Koskinen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jing Zhang <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Lucas Stach <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mike Leach <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Will Deacon <[email protected]> Cc: Xu Yang <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 876e80c commit e5e34e9

25 files changed

+2927
-0
lines changed

tools/perf/pmu-events/arch/arm64/common-and-microarch.json

Lines changed: 715 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"ArchStdEvent": "L1I_CACHE_PRF",
4+
"BriefDescription": "This event counts fetch counted by either Level 1 instruction hardware prefetch or Level 1 instruction software prefetch."
5+
}
6+
]
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
[
2+
{
3+
"EventCode": "0x0182",
4+
"EventName": "LD_COMP_WAIT_L1_MISS",
5+
"BriefDescription": "This event counts every cycle that no instruction was committed because the oldest and uncommitted load/store/prefetch operation waits for L2 cache access."
6+
},
7+
{
8+
"EventCode": "0x0183",
9+
"EventName": "LD_COMP_WAIT_L1_MISS_EX",
10+
"BriefDescription": "This event counts every cycle that no instruction was committed because the oldest and uncommitted integer load operation waits for L2 cache access."
11+
},
12+
{
13+
"EventCode": "0x0184",
14+
"EventName": "LD_COMP_WAIT",
15+
"BriefDescription": "This event counts every cycle that no instruction was committed because the oldest and uncommitted load/store/prefetch operation waits for L1D cache, L2 cache and memory access."
16+
},
17+
{
18+
"EventCode": "0x0185",
19+
"EventName": "LD_COMP_WAIT_EX",
20+
"BriefDescription": "This event counts every cycle that no instruction was committed because the oldest and uncommitted integer load operation waits for L1D cache, L2 cache and memory access."
21+
},
22+
{
23+
"EventCode": "0x0186",
24+
"EventName": "LD_COMP_WAIT_PFP_BUSY",
25+
"BriefDescription": "This event counts every cycle that no instruction was committed due to the lack of an available prefetch port."
26+
},
27+
{
28+
"EventCode": "0x0187",
29+
"EventName": "LD_COMP_WAIT_PFP_BUSY_EX",
30+
"BriefDescription": "This event counts the LD_COMP_WAIT_PFP_BUSY caused by an integer load operation."
31+
},
32+
{
33+
"EventCode": "0x0188",
34+
"EventName": "LD_COMP_WAIT_PFP_BUSY_SWPF",
35+
"BriefDescription": "This event counts the LD_COMP_WAIT_PFP_BUSY caused by a software prefetch instruction."
36+
},
37+
{
38+
"EventCode": "0x0189",
39+
"EventName": "EU_COMP_WAIT",
40+
"BriefDescription": "This event counts every cycle that no instruction was committed and the oldest and uncommitted instruction is an integer or floating-point/SIMD instruction."
41+
},
42+
{
43+
"EventCode": "0x018A",
44+
"EventName": "FL_COMP_WAIT",
45+
"BriefDescription": "This event counts every cycle that no instruction was committed and the oldest and uncommitted instruction is a floating-point/SIMD instruction."
46+
},
47+
{
48+
"EventCode": "0x018B",
49+
"EventName": "BR_COMP_WAIT",
50+
"BriefDescription": "This event counts every cycle that no instruction was committed and the oldest and uncommitted instruction is a branch instruction."
51+
},
52+
{
53+
"EventCode": "0x018C",
54+
"EventName": "ROB_EMPTY",
55+
"BriefDescription": "This event counts every cycle that no instruction was committed because the CSE is empty."
56+
},
57+
{
58+
"EventCode": "0x018D",
59+
"EventName": "ROB_EMPTY_STQ_BUSY",
60+
"BriefDescription": "This event counts every cycle that no instruction was committed because the CSE is empty and the store port (SP) is full."
61+
},
62+
{
63+
"EventCode": "0x018E",
64+
"EventName": "WFE_WFI_CYCLE",
65+
"BriefDescription": "This event counts every cycle that the instruction unit is halted by the WFE/WFI instruction."
66+
},
67+
{
68+
"EventCode": "0x018F",
69+
"EventName": "RETENTION_CYCLE",
70+
"BriefDescription": "This event counts every cycle that the instruction unit is halted by the RETENTION state."
71+
},
72+
{
73+
"EventCode": "0x0190",
74+
"EventName": "_0INST_COMMIT",
75+
"BriefDescription": "This event counts every cycle that no instruction was committed, but counts at the time when commits MOVPRFX only."
76+
},
77+
{
78+
"EventCode": "0x0191",
79+
"EventName": "_1INST_COMMIT",
80+
"BriefDescription": "This event counts every cycle that one instruction is committed."
81+
},
82+
{
83+
"EventCode": "0x0192",
84+
"EventName": "_2INST_COMMIT",
85+
"BriefDescription": "This event counts every cycle that two instructions are committed."
86+
},
87+
{
88+
"EventCode": "0x0193",
89+
"EventName": "_3INST_COMMIT",
90+
"BriefDescription": "This event counts every cycle that three instructions are committed."
91+
},
92+
{
93+
"EventCode": "0x0194",
94+
"EventName": "_4INST_COMMIT",
95+
"BriefDescription": "This event counts every cycle that four instructions are committed."
96+
},
97+
{
98+
"EventCode": "0x0195",
99+
"EventName": "_5INST_COMMIT",
100+
"BriefDescription": "This event counts every cycle that five instructions are committed."
101+
},
102+
{
103+
"EventCode": "0x0198",
104+
"EventName": "UOP_ONLY_COMMIT",
105+
"BriefDescription": "This event counts every cycle that only any micro-operations are committed."
106+
},
107+
{
108+
"EventCode": "0x0199",
109+
"EventName": "SINGLE_MOVPRFX_COMMIT",
110+
"BriefDescription": "This event counts every cycle that only the MOVPRFX instruction is committed."
111+
},
112+
{
113+
"EventCode": "0x019C",
114+
"EventName": "LD_COMP_WAIT_L2_MISS",
115+
"BriefDescription": "This event counts every cycle that no instruction was committed because the oldest and uncommitted load/store/prefetch operation waits for L2 cache miss."
116+
},
117+
{
118+
"EventCode": "0x019D",
119+
"EventName": "LD_COMP_WAIT_L2_MISS_EX",
120+
"BriefDescription": "This event counts every cycle that no instruction was committed because the oldest and uncommitted integer load operation waits for L2 cache miss."
121+
}
122+
]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"EventCode": "0x01F0",
4+
"EventName": "EA_CORE",
5+
"BriefDescription": "This event counts energy consumption of core."
6+
},
7+
{
8+
"EventCode": "0x03F0",
9+
"EventName": "EA_L3",
10+
"BriefDescription": "This event counts energy consumption of L3 cache."
11+
},
12+
{
13+
"EventCode": "0x03F1",
14+
"EventName": "EA_LDO_LOSS",
15+
"BriefDescription": "This event counts energy consumption of LDO loss."
16+
}
17+
]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[
2+
{
3+
"ArchStdEvent": "EXC_TAKEN",
4+
"BriefDescription": "This event counts each exception taken."
5+
},
6+
{
7+
"ArchStdEvent": "EXC_RETURN",
8+
"BriefDescription": "This event counts each executed exception return instruction."
9+
},
10+
{
11+
"ArchStdEvent": "EXC_UNDEF",
12+
"BriefDescription": "This event counts only other synchronous exceptions that are taken locally."
13+
},
14+
{
15+
"ArchStdEvent": "EXC_SVC",
16+
"BriefDescription": "This event counts only Supervisor Call exceptions that are taken locally."
17+
},
18+
{
19+
"ArchStdEvent": "EXC_PABORT",
20+
"BriefDescription": "This event counts only Instruction Abort exceptions that are taken locally."
21+
},
22+
{
23+
"ArchStdEvent": "EXC_DABORT",
24+
"BriefDescription": "This event counts only Data Abort or SError interrupt exceptions that are taken locally."
25+
},
26+
{
27+
"ArchStdEvent": "EXC_IRQ",
28+
"BriefDescription": "This event counts only IRQ exceptions that are taken locally, including Virtual IRQ exceptions."
29+
},
30+
{
31+
"ArchStdEvent": "EXC_FIQ",
32+
"BriefDescription": "This event counts only FIQ exceptions that are taken locally, including Virtual FIQ exceptions."
33+
},
34+
{
35+
"ArchStdEvent": "EXC_SMC",
36+
"BriefDescription": "This event counts only Secure Monitor Call exceptions. The counter does not increment on SMC instructions trapped as a Hyp Trap exception."
37+
},
38+
{
39+
"ArchStdEvent": "EXC_HVC",
40+
"BriefDescription": "This event counts for both Hypervisor Call exceptions taken locally in the hypervisor and those taken as an exception from Non-secure EL1."
41+
}
42+
]

0 commit comments

Comments
 (0)