Skip to content

Commit aa0d6e9

Browse files
ZhengjunXingacmel
authored andcommitted
perf vendor events: Update events for snowridgex
Update the events to v1.20, update events for snowridgex by the latest event converter tools. Use script at: https://github.com/intel/event-converter-for-linux-perf/blob/master/download_and_gen.py to download and generate the latest events and metrics. Manually copy the snowridgex files into perf. Signed-off-by: Xing Zhengjun <[email protected]> Tested-by: Ian Rogers <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent ce87616 commit aa0d6e9

File tree

1 file changed

+27
-84
lines changed

1 file changed

+27
-84
lines changed

tools/perf/pmu-events/arch/x86/snowridgex/uncore-other.json

Lines changed: 27 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -132,23 +132,22 @@
132132
"Unit": "CHA"
133133
},
134134
{
135-
"BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_cha_tor_inserts.ia_miss",
135+
"BriefDescription": "TOR Inserts : All requests from iA Cores that Missed the LLC",
136136
"Counter": "0,1,2,3",
137137
"CounterType": "PGMABLE",
138138
"EventCode": "0x35",
139-
"EventName": "LLC_MISSES.UNCACHEABLE",
140-
"Filter": "config1=0x40e33",
139+
"EventName": "UNC_CHA_TOR_INSERTS.IA_MISS",
141140
"PerPkg": "1",
142141
"UMask": "0xC001FE01",
143142
"UMaskExt": "0xC001FE",
144143
"Unit": "CHA"
145144
},
146145
{
147-
"BriefDescription": "LLC misses - Uncacheable reads (from cpu) ",
146+
"BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_cha_tor_inserts.ia_miss",
148147
"Counter": "0,1,2,3",
149148
"CounterType": "PGMABLE",
150149
"EventCode": "0x35",
151-
"EventName": "UNC_CHA_TOR_INSERTS.IA_MISS",
150+
"EventName": "LLC_MISSES.UNCACHEABLE",
152151
"Filter": "config1=0x40e33",
153152
"PerPkg": "1",
154153
"UMask": "0xC001FE01",
@@ -167,18 +166,6 @@
167166
"UMaskExt": "0xC001FE",
168167
"Unit": "CHA"
169168
},
170-
{
171-
"BriefDescription": "MMIO reads",
172-
"Counter": "0,1,2,3",
173-
"CounterType": "PGMABLE",
174-
"EventCode": "0x35",
175-
"EventName": "UNC_CHA_TOR_INSERTS.IA_MISS",
176-
"Filter": "config1=0x40040e33",
177-
"PerPkg": "1",
178-
"UMask": "0xC001FE01",
179-
"UMaskExt": "0xC001FE",
180-
"Unit": "CHA"
181-
},
182169
{
183170
"BriefDescription": "MMIO writes. Derived from unc_cha_tor_inserts.ia_miss",
184171
"Counter": "0,1,2,3",
@@ -191,18 +178,6 @@
191178
"UMaskExt": "0xC001FE",
192179
"Unit": "CHA"
193180
},
194-
{
195-
"BriefDescription": "MMIO writes",
196-
"Counter": "0,1,2,3",
197-
"CounterType": "PGMABLE",
198-
"EventCode": "0x35",
199-
"EventName": "UNC_CHA_TOR_INSERTS.IA_MISS",
200-
"Filter": "config1=0x40041e33",
201-
"PerPkg": "1",
202-
"UMask": "0xC001FE01",
203-
"UMaskExt": "0xC001FE",
204-
"Unit": "CHA"
205-
},
206181
{
207182
"BriefDescription": "Streaming stores (full cache line). Derived from unc_cha_tor_inserts.ia_miss",
208183
"Counter": "0,1,2,3",
@@ -216,19 +191,6 @@
216191
"UMaskExt": "0xC001FE",
217192
"Unit": "CHA"
218193
},
219-
{
220-
"BriefDescription": "Streaming stores (full cache line)",
221-
"Counter": "0,1,2,3",
222-
"CounterType": "PGMABLE",
223-
"EventCode": "0x35",
224-
"EventName": "UNC_CHA_TOR_INSERTS.IA_MISS",
225-
"Filter": "config1=0x41833",
226-
"PerPkg": "1",
227-
"ScaleUnit": "64Bytes",
228-
"UMask": "0xC001FE01",
229-
"UMaskExt": "0xC001FE",
230-
"Unit": "CHA"
231-
},
232194
{
233195
"BriefDescription": "Streaming stores (partial cache line). Derived from unc_cha_tor_inserts.ia_miss",
234196
"Counter": "0,1,2,3",
@@ -242,19 +204,6 @@
242204
"UMaskExt": "0xC001FE",
243205
"Unit": "CHA"
244206
},
245-
{
246-
"BriefDescription": "Streaming stores (partial cache line)",
247-
"Counter": "0,1,2,3",
248-
"CounterType": "PGMABLE",
249-
"EventCode": "0x35",
250-
"EventName": "UNC_CHA_TOR_INSERTS.IA_MISS",
251-
"Filter": "config1=0x41a33",
252-
"PerPkg": "1",
253-
"ScaleUnit": "64Bytes",
254-
"UMask": "0xC001FE01",
255-
"UMaskExt": "0xC001FE",
256-
"Unit": "CHA"
257-
},
258207
{
259208
"BriefDescription": "TOR Inserts : CRds issued by iA Cores that Missed the LLC",
260209
"Counter": "0,1,2,3",
@@ -829,31 +778,12 @@
829778
"Unit": "IIO"
830779
},
831780
{
832-
"BriefDescription": "PCI Express bandwidth writing at IIO. Derived from unc_iio_data_req_of_cpu.mem_write.part0",
833-
"Counter": "0,1",
834-
"CounterType": "PGMABLE",
835-
"EventCode": "0x83",
836-
"EventName": "LLC_MISSES.PCIE_WRITE",
837-
"FCMask": "0x07",
838-
"Filter": "ch_mask=0x1f",
839-
"MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART3",
840-
"MetricName": "LLC_MISSES.PCIE_WRITE",
841-
"PerPkg": "1",
842-
"PortMask": "0x01",
843-
"ScaleUnit": "4Bytes",
844-
"UMask": "0x01",
845-
"Unit": "IIO"
846-
},
847-
{
848-
"BriefDescription": "PCI Express bandwidth writing at IIO",
781+
"BriefDescription": "PCI Express bandwidth writing at IIO, part 0",
849782
"Counter": "0,1",
850783
"CounterType": "PGMABLE",
851784
"EventCode": "0x83",
852785
"EventName": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0",
853786
"FCMask": "0x07",
854-
"Filter": "ch_mask=0x1f",
855-
"MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART3",
856-
"MetricName": "LLC_MISSES.PCIE_WRITE",
857787
"PerPkg": "1",
858788
"PortMask": "0x01",
859789
"ScaleUnit": "4Bytes",
@@ -900,31 +830,28 @@
900830
"Unit": "IIO"
901831
},
902832
{
903-
"BriefDescription": "PCI Express bandwidth reading at IIO. Derived from unc_iio_data_req_of_cpu.mem_read.part0",
833+
"BriefDescription": "PCI Express bandwidth writing at IIO. Derived from unc_iio_data_req_of_cpu.mem_write.part0",
904834
"Counter": "0,1",
905835
"CounterType": "PGMABLE",
906836
"EventCode": "0x83",
907-
"EventName": "LLC_MISSES.PCIE_READ",
837+
"EventName": "LLC_MISSES.PCIE_WRITE",
908838
"FCMask": "0x07",
909839
"Filter": "ch_mask=0x1f",
910-
"MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3",
911-
"MetricName": "LLC_MISSES.PCIE_READ",
840+
"MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.PART3",
841+
"MetricName": "LLC_MISSES.PCIE_WRITE",
912842
"PerPkg": "1",
913843
"PortMask": "0x01",
914844
"ScaleUnit": "4Bytes",
915-
"UMask": "0x04",
845+
"UMask": "0x01",
916846
"Unit": "IIO"
917847
},
918848
{
919-
"BriefDescription": "PCI Express bandwidth reading at IIO",
849+
"BriefDescription": "PCI Express bandwidth reading at IIO, part 0",
920850
"Counter": "0,1",
921851
"CounterType": "PGMABLE",
922852
"EventCode": "0x83",
923853
"EventName": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0",
924854
"FCMask": "0x07",
925-
"Filter": "ch_mask=0x1f",
926-
"MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3",
927-
"MetricName": "LLC_MISSES.PCIE_READ",
928855
"PerPkg": "1",
929856
"PortMask": "0x01",
930857
"ScaleUnit": "4Bytes",
@@ -970,6 +897,22 @@
970897
"UMask": "0x04",
971898
"Unit": "IIO"
972899
},
900+
{
901+
"BriefDescription": "PCI Express bandwidth reading at IIO. Derived from unc_iio_data_req_of_cpu.mem_read.part0",
902+
"Counter": "0,1",
903+
"CounterType": "PGMABLE",
904+
"EventCode": "0x83",
905+
"EventName": "LLC_MISSES.PCIE_READ",
906+
"FCMask": "0x07",
907+
"Filter": "ch_mask=0x1f",
908+
"MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART0 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART1 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART2 + UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.PART3",
909+
"MetricName": "LLC_MISSES.PCIE_READ",
910+
"PerPkg": "1",
911+
"PortMask": "0x01",
912+
"ScaleUnit": "4Bytes",
913+
"UMask": "0x04",
914+
"Unit": "IIO"
915+
},
973916
{
974917
"BriefDescription": "Data requested of the CPU : CmpD - device sending completion to CPU request",
975918
"Counter": "0,1",

0 commit comments

Comments
 (0)