forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/perf/pmu-events/arch/x86/broadwellx/pipeline.json
....@@ -1,6 +1,5 @@
11 [
22 {
3
- "EventCode": "0x00",
43 "UMask": "0x1",
54 "BriefDescription": "Instructions retired from execution.",
65 "Counter": "Fixed counter 0",
....@@ -10,7 +9,6 @@
109 "CounterHTOff": "Fixed counter 0"
1110 },
1211 {
13
- "EventCode": "0x00",
1412 "UMask": "0x2",
1513 "BriefDescription": "Core cycles when the thread is not in halt state",
1614 "Counter": "Fixed counter 1",
....@@ -20,7 +18,6 @@
2018 "CounterHTOff": "Fixed counter 1"
2119 },
2220 {
23
- "EventCode": "0x00",
2421 "UMask": "0x2",
2522 "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
2623 "Counter": "Fixed counter 1",
....@@ -30,7 +27,6 @@
3027 "CounterHTOff": "Fixed counter 1"
3128 },
3229 {
33
- "EventCode": "0x00",
3430 "UMask": "0x3",
3531 "BriefDescription": "Reference cycles when the core is not in halt state.",
3632 "Counter": "Fixed counter 2",
....@@ -786,12 +782,12 @@
786782 "CounterHTOff": "0,1,2,3,4,5,6,7"
787783 },
788784 {
789
- "EventCode": "0xA2",
785
+ "EventCode": "0xa2",
790786 "UMask": "0x1",
791787 "BriefDescription": "Resource-related stall cycles",
792788 "Counter": "0,1,2,3",
793789 "EventName": "RESOURCE_STALLS.ANY",
794
- "PublicDescription": "This event counts resource-related stall cycles. Reasons for stalls can be as follows:\n - *any* u-arch structure got full (LB, SB, RS, ROB, BOB, LM, Physical Register Reclaim Table (PRRT), or Physical History Table (PHT) slots)\n - *any* u-arch structure got empty (like INT/SIMD FreeLists)\n - FPU control word (FPCW), MXCSR\nand others. This counts cycles that the pipeline backend blocked uop delivery from the front end.",
790
+ "PublicDescription": "This event counts resource-related stall cycles.",
795791 "SampleAfterValue": "2000003",
796792 "CounterHTOff": "0,1,2,3,4,5,6,7"
797793 },
....@@ -1168,12 +1164,12 @@
11681164 {
11691165 "EventCode": "0xC2",
11701166 "UMask": "0x1",
1171
- "BriefDescription": "Actually retired uops. (Precise Event - PEBS)",
1167
+ "BriefDescription": "Actually retired uops.",
11721168 "Data_LA": "1",
11731169 "PEBS": "1",
11741170 "Counter": "0,1,2,3",
11751171 "EventName": "UOPS_RETIRED.ALL",
1176
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts all actually retired uops. Counting increments by two for micro-fused uops, and by one for macro-fused and other uops. Maximal increment value for one cycle is eight.",
1172
+ "PublicDescription": "This event counts all actually retired uops. Counting increments by two for micro-fused uops, and by one for macro-fused and other uops. Maximal increment value for one cycle is eight.",
11771173 "SampleAfterValue": "2000003",
11781174 "CounterHTOff": "0,1,2,3,4,5,6,7"
11791175 },
....@@ -1204,11 +1200,11 @@
12041200 {
12051201 "EventCode": "0xC2",
12061202 "UMask": "0x2",
1207
- "BriefDescription": "Retirement slots used. (Precise Event - PEBS)",
1203
+ "BriefDescription": "Retirement slots used.",
12081204 "PEBS": "1",
12091205 "Counter": "0,1,2,3",
12101206 "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1211
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts the number of retirement slots used.",
1207
+ "PublicDescription": "This event counts the number of retirement slots used.",
12121208 "SampleAfterValue": "2000003",
12131209 "CounterHTOff": "0,1,2,3,4,5,6,7"
12141210 },
....@@ -1266,33 +1262,33 @@
12661262 {
12671263 "EventCode": "0xC4",
12681264 "UMask": "0x1",
1269
- "BriefDescription": "Conditional branch instructions retired. (Precise Event - PEBS)",
1265
+ "BriefDescription": "Conditional branch instructions retired.",
12701266 "PEBS": "1",
12711267 "Counter": "0,1,2,3",
12721268 "EventName": "BR_INST_RETIRED.CONDITIONAL",
1273
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts conditional branch instructions retired.",
1269
+ "PublicDescription": "This event counts conditional branch instructions retired.",
12741270 "SampleAfterValue": "400009",
12751271 "CounterHTOff": "0,1,2,3,4,5,6,7"
12761272 },
12771273 {
12781274 "EventCode": "0xC4",
12791275 "UMask": "0x2",
1280
- "BriefDescription": "Direct and indirect near call instructions retired. (Precise Event - PEBS)",
1276
+ "BriefDescription": "Direct and indirect near call instructions retired.",
12811277 "PEBS": "1",
12821278 "Counter": "0,1,2,3",
12831279 "EventName": "BR_INST_RETIRED.NEAR_CALL",
1284
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts both direct and indirect near call instructions retired.",
1280
+ "PublicDescription": "This event counts both direct and indirect near call instructions retired.",
12851281 "SampleAfterValue": "100007",
12861282 "CounterHTOff": "0,1,2,3,4,5,6,7"
12871283 },
12881284 {
12891285 "EventCode": "0xC4",
12901286 "UMask": "0x2",
1291
- "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3). (Precise Event - PEBS)",
1287
+ "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).",
12921288 "PEBS": "1",
12931289 "Counter": "0,1,2,3",
12941290 "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
1295
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts both direct and indirect macro near call instructions retired (captured in ring 3).",
1291
+ "PublicDescription": "This event counts both direct and indirect macro near call instructions retired (captured in ring 3).",
12961292 "SampleAfterValue": "100007",
12971293 "CounterHTOff": "0,1,2,3,4,5,6,7"
12981294 },
....@@ -1311,11 +1307,11 @@
13111307 {
13121308 "EventCode": "0xC4",
13131309 "UMask": "0x8",
1314
- "BriefDescription": "Return instructions retired. (Precise Event - PEBS)",
1310
+ "BriefDescription": "Return instructions retired.",
13151311 "PEBS": "1",
13161312 "Counter": "0,1,2,3",
13171313 "EventName": "BR_INST_RETIRED.NEAR_RETURN",
1318
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts return instructions retired.",
1314
+ "PublicDescription": "This event counts return instructions retired.",
13191315 "SampleAfterValue": "100007",
13201316 "CounterHTOff": "0,1,2,3,4,5,6,7"
13211317 },
....@@ -1332,11 +1328,11 @@
13321328 {
13331329 "EventCode": "0xC4",
13341330 "UMask": "0x20",
1335
- "BriefDescription": "Taken branch instructions retired. (Precise Event - PEBS)",
1331
+ "BriefDescription": "Taken branch instructions retired.",
13361332 "PEBS": "1",
13371333 "Counter": "0,1,2,3",
13381334 "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
1339
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts taken branch instructions retired.",
1335
+ "PublicDescription": "This event counts taken branch instructions retired.",
13401336 "SampleAfterValue": "400009",
13411337 "CounterHTOff": "0,1,2,3,4,5,6,7"
13421338 },
....@@ -1364,11 +1360,11 @@
13641360 {
13651361 "EventCode": "0xC5",
13661362 "UMask": "0x1",
1367
- "BriefDescription": "Mispredicted conditional branch instructions retired. (Precise Event - PEBS)",
1363
+ "BriefDescription": "Mispredicted conditional branch instructions retired.",
13681364 "PEBS": "1",
13691365 "Counter": "0,1,2,3",
13701366 "EventName": "BR_MISP_RETIRED.CONDITIONAL",
1371
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts mispredicted conditional branch instructions retired.",
1367
+ "PublicDescription": "This event counts mispredicted conditional branch instructions retired.",
13721368 "SampleAfterValue": "400009",
13731369 "CounterHTOff": "0,1,2,3,4,5,6,7"
13741370 },
....@@ -1386,22 +1382,22 @@
13861382 {
13871383 "EventCode": "0xC5",
13881384 "UMask": "0x8",
1389
- "BriefDescription": "This event counts the number of mispredicted ret instructions retired.(Precise Event)",
1385
+ "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
13901386 "PEBS": "1",
13911387 "Counter": "0,1,2,3",
13921388 "EventName": "BR_MISP_RETIRED.RET",
1393
- "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts mispredicted return instructions retired.",
1389
+ "PublicDescription": "This event counts mispredicted return instructions retired.",
13941390 "SampleAfterValue": "100007",
13951391 "CounterHTOff": "0,1,2,3,4,5,6,7"
13961392 },
13971393 {
13981394 "EventCode": "0xC5",
13991395 "UMask": "0x20",
1400
- "BriefDescription": "number of near branch instructions retired that were mispredicted and taken. (Precise Event - PEBS).",
1396
+ "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.",
14011397 "PEBS": "1",
14021398 "Counter": "0,1,2,3",
14031399 "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
1404
- "PublicDescription": "Number of near branch instructions retired that were mispredicted and taken. (Precise Event - PEBS).",
1400
+ "PublicDescription": "Number of near branch instructions retired that were mispredicted and taken.",
14051401 "SampleAfterValue": "400009",
14061402 "CounterHTOff": "0,1,2,3,4,5,6,7"
14071403 },