Skip to content

Commit 7f76b31

Browse files
Thomas Richteracmel
authored andcommitted
perf list: Add IBM z16 event description for s390
Update IBM z16 counter description using document SA23-2260-07: "The Load-Program-Parameter and the CPU-Measurement Facilities" released in May, 2022, to include counter definitions for IBM z16 counter sets: * Basic counter set * Problem/user counter set * Crypto counter set Use document SA23-2261-07: "The CPU-Measurement Facility Extended Counters Definition for z10, z196/z114, zEC12/zBC12, z13/z13s, z14, z15 and z16" released on April 29, 2022 to include counter definitions for IBM z16 * Extended counter set * MT-Diagnostic counter set Signed-off-by: Thomas Richter <[email protected]> Acked-by: Sumanth Korikkar <[email protected]> Acked-by: Ian Rogers <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
1 parent 151e7d7 commit 7f76b31

File tree

5 files changed

+700
-0
lines changed

5 files changed

+700
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[
2+
{
3+
"Unit": "CPU-M-CF",
4+
"EventCode": "0",
5+
"EventName": "CPU_CYCLES",
6+
"BriefDescription": "Cycle Count",
7+
"PublicDescription": "This counter counts the total number of CPU cycles, excluding the number of cycles while the CPU is in the wait state."
8+
},
9+
{
10+
"Unit": "CPU-M-CF",
11+
"EventCode": "1",
12+
"EventName": "INSTRUCTIONS",
13+
"BriefDescription": "Instruction Count",
14+
"PublicDescription": "This counter counts the total number of instructions executed by the CPU."
15+
},
16+
{
17+
"Unit": "CPU-M-CF",
18+
"EventCode": "2",
19+
"EventName": "L1I_DIR_WRITES",
20+
"BriefDescription": "Level-1 I-Cache Directory Write Count",
21+
"PublicDescription": "This counter counts the total number of level-1 instruction-cache or unified-cache directory writes."
22+
},
23+
{
24+
"Unit": "CPU-M-CF",
25+
"EventCode": "3",
26+
"EventName": "L1I_PENALTY_CYCLES",
27+
"BriefDescription": "Level-1 I-Cache Penalty Cycle Count",
28+
"PublicDescription": "This counter counts the total number of cache penalty cycles for level-1 instruction cache or unified cache."
29+
},
30+
{
31+
"Unit": "CPU-M-CF",
32+
"EventCode": "4",
33+
"EventName": "L1D_DIR_WRITES",
34+
"BriefDescription": "Level-1 D-Cache Directory Write Count",
35+
"PublicDescription": "This counter counts the total number of level-1 data-cache directory writes."
36+
},
37+
{
38+
"Unit": "CPU-M-CF",
39+
"EventCode": "5",
40+
"EventName": "L1D_PENALTY_CYCLES",
41+
"BriefDescription": "Level-1 D-Cache Penalty Cycle Count",
42+
"PublicDescription": "This counter counts the total number of cache penalty cycles for level-1 data cache."
43+
},
44+
{
45+
"Unit": "CPU-M-CF",
46+
"EventCode": "32",
47+
"EventName": "PROBLEM_STATE_CPU_CYCLES",
48+
"BriefDescription": "Problem-State Cycle Count",
49+
"PublicDescription": "This counter counts the total number of CPU cycles when the CPU is in the problem state, excluding the number of cycles while the CPU is in the wait state."
50+
},
51+
{
52+
"Unit": "CPU-M-CF",
53+
"EventCode": "33",
54+
"EventName": "PROBLEM_STATE_INSTRUCTIONS",
55+
"BriefDescription": "Problem-State Instruction Count",
56+
"PublicDescription": "This counter counts the total number of instructions executed by the CPU while in the problem state."
57+
}
58+
]
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
[
2+
{
3+
"Unit": "CPU-M-CF",
4+
"EventCode": "64",
5+
"EventName": "PRNG_FUNCTIONS",
6+
"BriefDescription": "PRNG Function Count",
7+
"PublicDescription": "This counter counts the total number of the pseudorandom-number-generation functions issued by the CPU."
8+
},
9+
{
10+
"Unit": "CPU-M-CF",
11+
"EventCode": "65",
12+
"EventName": "PRNG_CYCLES",
13+
"BriefDescription": "PRNG Cycle Count",
14+
"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES/SHA coprocessor is busy performing the pseudorandom- number-generation functions issued by the CPU."
15+
},
16+
{
17+
"Unit": "CPU-M-CF",
18+
"EventCode": "66",
19+
"EventName": "PRNG_BLOCKED_FUNCTIONS",
20+
"BriefDescription": "PRNG Blocked Function Count",
21+
"PublicDescription": "This counter counts the total number of the pseudorandom-number-generation functions that are issued by the CPU and are blocked because the DEA/AES/SHA coprocessor is busy performing a function issued by another CPU."
22+
},
23+
{
24+
"Unit": "CPU-M-CF",
25+
"EventCode": "67",
26+
"EventName": "PRNG_BLOCKED_CYCLES",
27+
"BriefDescription": "PRNG Blocked Cycle Count",
28+
"PublicDescription": "This counter counts the total number of CPU cycles blocked for the pseudorandom-number-generation functions issued by the CPU because the DEA/AES/SHA coprocessor is busy performing a function issued by another CPU."
29+
},
30+
{
31+
"Unit": "CPU-M-CF",
32+
"EventCode": "68",
33+
"EventName": "SHA_FUNCTIONS",
34+
"BriefDescription": "SHA Function Count",
35+
"PublicDescription": "This counter counts the total number of the SHA functions issued by the CPU."
36+
},
37+
{
38+
"Unit": "CPU-M-CF",
39+
"EventCode": "69",
40+
"EventName": "SHA_CYCLES",
41+
"BriefDescription": "SHA Cycle Count",
42+
"PublicDescription": "This counter counts the total number of CPU cycles when the SHA coprocessor is busy performing the SHA functions issued by the CPU."
43+
},
44+
{
45+
"Unit": "CPU-M-CF",
46+
"EventCode": "70",
47+
"EventName": "SHA_BLOCKED_FUNCTIONS",
48+
"BriefDescription": "SHA Blocked Function Count",
49+
"PublicDescription": "This counter counts the total number of the SHA functions that are issued by the CPU and are blocked because the SHA coprocessor is busy performing a function issued by another CPU."
50+
},
51+
{
52+
"Unit": "CPU-M-CF",
53+
"EventCode": "71",
54+
"EventName": "SHA_BLOCKED_CYCLES",
55+
"BriefDescription": "SHA Blocked Cycle Count",
56+
"PublicDescription": "This counter counts the total number of CPU cycles blocked for the SHA functions issued by the CPU because the SHA coprocessor is busy performing a function issued by another CPU."
57+
},
58+
{
59+
"Unit": "CPU-M-CF",
60+
"EventCode": "72",
61+
"EventName": "DEA_FUNCTIONS",
62+
"BriefDescription": "DEA Function Count",
63+
"PublicDescription": "This counter counts the total number of the DEA functions issued by the CPU."
64+
},
65+
{
66+
"Unit": "CPU-M-CF",
67+
"EventCode": "73",
68+
"EventName": "DEA_CYCLES",
69+
"BriefDescription": "DEA Cycle Count",
70+
"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the DEA functions issued by the CPU."
71+
},
72+
{
73+
"Unit": "CPU-M-CF",
74+
"EventCode": "74",
75+
"EventName": "DEA_BLOCKED_FUNCTIONS",
76+
"BriefDescription": "DEA Blocked Function Count",
77+
"PublicDescription": "This counter counts the total number of the DEA functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a function issued by another CPU."
78+
},
79+
{
80+
"Unit": "CPU-M-CF",
81+
"EventCode": "75",
82+
"EventName": "DEA_BLOCKED_CYCLES",
83+
"BriefDescription": "DEA Blocked Cycle Count",
84+
"PublicDescription": "This counter counts the total number of CPU cycles blocked for the DEA functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU."
85+
},
86+
{
87+
"Unit": "CPU-M-CF",
88+
"EventCode": "76",
89+
"EventName": "AES_FUNCTIONS",
90+
"BriefDescription": "AES Function Count",
91+
"PublicDescription": "This counter counts the total number of the AES functions issued by the CPU."
92+
},
93+
{
94+
"Unit": "CPU-M-CF",
95+
"EventCode": "77",
96+
"EventName": "AES_CYCLES",
97+
"BriefDescription": "AES Cycle Count",
98+
"PublicDescription": "This counter counts the total number of CPU cycles when the DEA/AES coprocessor is busy performing the AES functions issued by the CPU."
99+
},
100+
{
101+
"Unit": "CPU-M-CF",
102+
"EventCode": "78",
103+
"EventName": "AES_BLOCKED_FUNCTIONS",
104+
"BriefDescription": "AES Blocked Function Count",
105+
"PublicDescription": "This counter counts the total number of the AES functions that are issued by the CPU and are blocked because the DEA/AES coprocessor is busy performing a function issued by another CPU."
106+
},
107+
{
108+
"Unit": "CPU-M-CF",
109+
"EventCode": "79",
110+
"EventName": "AES_BLOCKED_CYCLES",
111+
"BriefDescription": "AES Blocked Cycle Count",
112+
"PublicDescription": "This counter counts the total number of CPU cycles blocked for the AES functions issued by the CPU because the DEA/AES coprocessor is busy performing a function issued by another CPU."
113+
},
114+
{
115+
"Unit": "CPU-M-CF",
116+
"EventCode": "80",
117+
"EventName": "ECC_FUNCTION_COUNT",
118+
"BriefDescription": "ECC Function Count",
119+
"PublicDescription": "This counter counts the total number of the elliptic-curve cryptography (ECC) functions issued by the CPU."
120+
},
121+
{
122+
"Unit": "CPU-M-CF",
123+
"EventCode": "81",
124+
"EventName": "ECC_CYCLES_COUNT",
125+
"BriefDescription": "ECC Cycles Count",
126+
"PublicDescription": "This counter counts the total number of CPU cycles when the ECC coprocessor is busy performing the elliptic-curve cryptography (ECC) functions issued by the CPU."
127+
},
128+
{
129+
"Unit": "CPU-M-CF",
130+
"EventCode": "82",
131+
"EventName": "ECC_BLOCKED_FUNCTION_COUNT",
132+
"BriefDescription": "Ecc Blocked Function Count",
133+
"PublicDescription": "This counter counts the total number of the elliptic-curve cryptography (ECC) functions that are issued by the CPU and are blocked because the ECC coprocessor is busy performing a function issued by another CPU."
134+
},
135+
{
136+
"Unit": "CPU-M-CF",
137+
"EventCode": "83",
138+
"EventName": "ECC_BLOCKED_CYCLES_COUNT",
139+
"BriefDescription": "ECC Blocked Cycles Count",
140+
"PublicDescription": "This counter counts the total number of CPU cycles blocked for the elliptic-curve cryptography (ECC) functions issued by the CPU because the ECC coprocessor is busy performing a function issued by another CPU."
141+
}
142+
]

0 commit comments

Comments
 (0)