Skip to content

Commit 9b42408

Browse files
captain5050acmel
authored andcommitted
perf vendor events intel: Refresh snowridgex events
Update the snowridgex events using the new tooling from: https://github.com/intel/perfmon The events are unchanged but unused json values are removed and descriptions improved. This increases consistency across the json files. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Kan Liang <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Caleb Biggers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Perry Taylor <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent ecabdc6 commit 9b42408

File tree

10 files changed

+11934
-15994
lines changed

10 files changed

+11934
-15994
lines changed

tools/perf/pmu-events/arch/x86/snowridgex/cache.json

Lines changed: 0 additions & 252 deletions
Large diffs are not rendered by default.

tools/perf/pmu-events/arch/x86/snowridgex/floating-point.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,25 @@
11
[
22
{
33
"BriefDescription": "Counts the number of cycles the floating point divider is busy.",
4-
"CollectPEBSRecord": "2",
5-
"Counter": "0,1,2,3",
64
"EventCode": "0xcd",
75
"EventName": "CYCLES_DIV_BUSY.FPDIV",
8-
"PDIR_COUNTER": "NA",
9-
"PEBScounters": "0,1,2,3",
106
"PublicDescription": "Counts the number of cycles the floating point divider is busy. Does not imply a stall waiting for the divider.",
117
"SampleAfterValue": "200003",
128
"UMask": "0x2"
139
},
1410
{
1511
"BriefDescription": "Counts the number of floating point operations retired that required microcode assist.",
16-
"CollectPEBSRecord": "2",
17-
"Counter": "0,1,2,3",
1812
"EventCode": "0xc3",
1913
"EventName": "MACHINE_CLEARS.FP_ASSIST",
20-
"PDIR_COUNTER": "NA",
21-
"PEBScounters": "0,1,2,3",
2214
"PublicDescription": "Counts the number of floating point operations retired that required microcode assist, which is not a reflection of the number of FP operations, instructions or uops.",
2315
"SampleAfterValue": "20003",
2416
"UMask": "0x4"
2517
},
2618
{
2719
"BriefDescription": "Counts the number of floating point divide uops retired (x87 and SSE, including x87 sqrt).",
28-
"CollectPEBSRecord": "2",
29-
"Counter": "0,1,2,3",
3020
"EventCode": "0xc2",
3121
"EventName": "UOPS_RETIRED.FPDIV",
3222
"PEBS": "1",
33-
"PEBScounters": "0,1,2,3",
3423
"SampleAfterValue": "2000003",
3524
"UMask": "0x8"
3625
}

tools/perf/pmu-events/arch/x86/snowridgex/frontend.json

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,67 @@
11
[
22
{
33
"BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
4-
"CollectPEBSRecord": "2",
5-
"Counter": "0,1,2,3",
64
"EventCode": "0xe6",
75
"EventName": "BACLEARS.ANY",
8-
"PDIR_COUNTER": "NA",
9-
"PEBScounters": "0,1,2,3",
106
"PublicDescription": "Counts the total number of BACLEARS, which occur when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
117
"SampleAfterValue": "200003",
128
"UMask": "0x1"
139
},
1410
{
1511
"BriefDescription": "Counts the number of BACLEARS due to a conditional jump.",
16-
"CollectPEBSRecord": "2",
17-
"Counter": "0,1,2,3",
1812
"EventCode": "0xe6",
1913
"EventName": "BACLEARS.COND",
20-
"PDIR_COUNTER": "NA",
21-
"PEBScounters": "0,1,2,3",
2214
"SampleAfterValue": "200003",
2315
"UMask": "0x10"
2416
},
2517
{
2618
"BriefDescription": "Counts the number of BACLEARS due to an indirect branch.",
27-
"CollectPEBSRecord": "2",
28-
"Counter": "0,1,2,3",
2919
"EventCode": "0xe6",
3020
"EventName": "BACLEARS.INDIRECT",
31-
"PDIR_COUNTER": "NA",
32-
"PEBScounters": "0,1,2,3",
3321
"SampleAfterValue": "200003",
3422
"UMask": "0x2"
3523
},
3624
{
3725
"BriefDescription": "Counts the number of BACLEARS due to a return branch.",
38-
"CollectPEBSRecord": "2",
39-
"Counter": "0,1,2,3",
4026
"EventCode": "0xe6",
4127
"EventName": "BACLEARS.RETURN",
42-
"PDIR_COUNTER": "NA",
43-
"PEBScounters": "0,1,2,3",
4428
"SampleAfterValue": "200003",
4529
"UMask": "0x8"
4630
},
4731
{
4832
"BriefDescription": "Counts the number of BACLEARS due to a direct, unconditional jump.",
49-
"CollectPEBSRecord": "2",
50-
"Counter": "0,1,2,3",
5133
"EventCode": "0xe6",
5234
"EventName": "BACLEARS.UNCOND",
53-
"PDIR_COUNTER": "NA",
54-
"PEBScounters": "0,1,2,3",
5535
"SampleAfterValue": "200003",
5636
"UMask": "0x4"
5737
},
5838
{
5939
"BriefDescription": "Counts the number of times a decode restriction reduces the decode throughput due to wrong instruction length prediction.",
60-
"CollectPEBSRecord": "2",
61-
"Counter": "0,1,2,3",
6240
"EventCode": "0xe9",
6341
"EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
64-
"PDIR_COUNTER": "NA",
65-
"PEBScounters": "0,1,2,3",
6642
"SampleAfterValue": "200003",
6743
"UMask": "0x1"
6844
},
6945
{
7046
"BriefDescription": "Counts the number of requests to the instruction cache for one or more bytes of a cache line.",
71-
"CollectPEBSRecord": "2",
72-
"Counter": "0,1,2,3",
7347
"EventCode": "0x80",
7448
"EventName": "ICACHE.ACCESSES",
75-
"PDIR_COUNTER": "NA",
76-
"PEBScounters": "0,1,2,3",
7749
"PublicDescription": "Counts the total number of requests to the instruction cache. The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line or byte chunk count as one. Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
7850
"SampleAfterValue": "200003",
7951
"UMask": "0x3"
8052
},
8153
{
8254
"BriefDescription": "Counts the number of instruction cache hits.",
83-
"CollectPEBSRecord": "2",
84-
"Counter": "0,1,2,3",
8555
"EventCode": "0x80",
8656
"EventName": "ICACHE.HIT",
87-
"PDIR_COUNTER": "NA",
88-
"PEBScounters": "0,1,2,3",
8957
"PublicDescription": "Counts the number of requests that hit in the instruction cache. The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line and byte chunk count as one. Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
9058
"SampleAfterValue": "200003",
9159
"UMask": "0x1"
9260
},
9361
{
9462
"BriefDescription": "Counts the number of instruction cache misses.",
95-
"CollectPEBSRecord": "2",
96-
"Counter": "0,1,2,3",
9763
"EventCode": "0x80",
9864
"EventName": "ICACHE.MISSES",
99-
"PDIR_COUNTER": "NA",
100-
"PEBScounters": "0,1,2,3",
10165
"PublicDescription": "Counts the number of missed requests to the instruction cache. The event only counts new cache line accesses, so that multiple back to back fetches to the exact same cache line and byte chunk count as one. Specifically, the event counts when accesses from sequential code crosses the cache line boundary, or when a branch target is moved to a new line or to a non-sequential byte chunk of the same line.",
10266
"SampleAfterValue": "200003",
10367
"UMask": "0x2"

0 commit comments

Comments
 (0)