提交 575c3640 编写于 作者: Z Zhengjun Xing 提交者: Arnaldo Carvalho de Melo

perf vendor events: Update events and metrics for haswellx

Update the events to v25, the metrics are based on TMA 4.4 full, update
events and metrics for haswellx 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 haswellx files into perf.
Signed-off-by: NXing Zhengjun <zhengjun.xing@linux.intel.com>
Tested-by: NIan Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220812085239.3089231-5-zhengjun.xing@linux.intel.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 c6e9c044
...@@ -964,20 +964,19 @@ ...@@ -964,20 +964,19 @@
"Unit": "CBO" "Unit": "CBO"
}, },
{ {
"BriefDescription": "PCIe writes (partial cache line). Derived from unc_c_tor_inserts.opcode", "BriefDescription": "TOR Inserts; Opcode Match",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x35", "EventCode": "0x35",
"EventName": "LLC_REFERENCES.PCIE_NS_PARTIAL_WRITE", "EventName": "UNC_C_TOR_INSERTS.OPCODE",
"Filter": "filter_opc=0x180,filter_tid=0x3e",
"PerPkg": "1", "PerPkg": "1",
"UMask": "0x1", "UMask": "0x1",
"Unit": "CBO" "Unit": "CBO"
}, },
{ {
"BriefDescription": "PCIe writes (partial cache line)", "BriefDescription": "PCIe writes (partial cache line). Derived from unc_c_tor_inserts.opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x35", "EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.OPCODE", "EventName": "LLC_REFERENCES.PCIE_NS_PARTIAL_WRITE",
"Filter": "filter_opc=0x180,filter_tid=0x3e", "Filter": "filter_opc=0x180,filter_tid=0x3e",
"PerPkg": "1", "PerPkg": "1",
"UMask": "0x1", "UMask": "0x1",
...@@ -994,17 +993,6 @@ ...@@ -994,17 +993,6 @@
"UMask": "0x1", "UMask": "0x1",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "L2 demand and L2 prefetch code references to LLC",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.OPCODE",
"Filter": "filter_opc=0x181",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x1",
"Unit": "CBO"
},
{ {
"BriefDescription": "Streaming stores (full cache line). Derived from unc_c_tor_inserts.opcode", "BriefDescription": "Streaming stores (full cache line). Derived from unc_c_tor_inserts.opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1016,17 +1004,6 @@ ...@@ -1016,17 +1004,6 @@
"UMask": "0x1", "UMask": "0x1",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "Streaming stores (full cache line)",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.OPCODE",
"Filter": "filter_opc=0x18c",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x1",
"Unit": "CBO"
},
{ {
"BriefDescription": "Streaming stores (partial cache line). Derived from unc_c_tor_inserts.opcode", "BriefDescription": "Streaming stores (partial cache line). Derived from unc_c_tor_inserts.opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1038,17 +1015,6 @@ ...@@ -1038,17 +1015,6 @@
"UMask": "0x1", "UMask": "0x1",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "Streaming stores (partial cache line)",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.OPCODE",
"Filter": "filter_opc=0x18d",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x1",
"Unit": "CBO"
},
{ {
"BriefDescription": "PCIe read current. Derived from unc_c_tor_inserts.opcode", "BriefDescription": "PCIe read current. Derived from unc_c_tor_inserts.opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1060,17 +1026,6 @@ ...@@ -1060,17 +1026,6 @@
"UMask": "0x1", "UMask": "0x1",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "PCIe read current",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.OPCODE",
"Filter": "filter_opc=0x19e",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x1",
"Unit": "CBO"
},
{ {
"BriefDescription": "PCIe write references (full cache line). Derived from unc_c_tor_inserts.opcode", "BriefDescription": "PCIe write references (full cache line). Derived from unc_c_tor_inserts.opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1082,17 +1037,6 @@ ...@@ -1082,17 +1037,6 @@
"UMask": "0x1", "UMask": "0x1",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "PCIe write references (full cache line)",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.OPCODE",
"Filter": "filter_opc=0x1c8,filter_tid=0x3e",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x1",
"Unit": "CBO"
},
{ {
"BriefDescription": "TOR Inserts; Evictions", "BriefDescription": "TOR Inserts; Evictions",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1121,21 +1065,19 @@ ...@@ -1121,21 +1065,19 @@
"Unit": "CBO" "Unit": "CBO"
}, },
{ {
"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "TOR Inserts; Miss Opcode Match",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x35", "EventCode": "0x35",
"EventName": "LLC_MISSES.DATA_READ", "EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x182",
"PerPkg": "1", "PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{ {
"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches", "BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x35", "EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE", "EventName": "LLC_MISSES.DATA_READ",
"Filter": "filter_opc=0x182", "Filter": "filter_opc=0x182",
"PerPkg": "1", "PerPkg": "1",
"ScaleUnit": "64Bytes", "ScaleUnit": "64Bytes",
...@@ -1153,17 +1095,6 @@ ...@@ -1153,17 +1095,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "LLC misses - Uncacheable reads (from cpu) ",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x187",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "MMIO reads. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "MMIO reads. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1175,17 +1106,6 @@ ...@@ -1175,17 +1106,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "MMIO reads",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x187,filter_nc=1",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "MMIO writes. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "MMIO writes. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1197,17 +1117,6 @@ ...@@ -1197,17 +1117,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "MMIO writes",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x18f,filter_nc=1",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "LLC prefetch misses for RFO. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "LLC prefetch misses for RFO. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1219,17 +1128,6 @@ ...@@ -1219,17 +1128,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "LLC prefetch misses for RFO",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x190",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "LLC prefetch misses for code reads. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "LLC prefetch misses for code reads. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1241,17 +1139,6 @@ ...@@ -1241,17 +1139,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "LLC prefetch misses for code reads",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x191",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "LLC prefetch misses for data reads. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "LLC prefetch misses for data reads. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1263,17 +1150,6 @@ ...@@ -1263,17 +1150,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "LLC prefetch misses for data reads",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x192",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "LLC misses for PCIe read current. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "LLC misses for PCIe read current. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1285,17 +1161,6 @@ ...@@ -1285,17 +1161,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "LLC misses for PCIe read current",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x19e",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line writes. Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line writes. Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1307,17 +1172,6 @@ ...@@ -1307,17 +1172,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line writes",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x1c8",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "PCIe write misses (full cache line). Derived from unc_c_tor_inserts.miss_opcode", "BriefDescription": "PCIe write misses (full cache line). Derived from unc_c_tor_inserts.miss_opcode",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
...@@ -1329,17 +1183,6 @@ ...@@ -1329,17 +1183,6 @@
"UMask": "0x3", "UMask": "0x3",
"Unit": "CBO" "Unit": "CBO"
}, },
{
"BriefDescription": "PCIe write misses (full cache line)",
"Counter": "0,1,2,3",
"EventCode": "0x35",
"EventName": "UNC_C_TOR_INSERTS.MISS_OPCODE",
"Filter": "filter_opc=0x1c8,filter_tid=0x3e",
"PerPkg": "1",
"ScaleUnit": "64Bytes",
"UMask": "0x3",
"Unit": "CBO"
},
{ {
"BriefDescription": "TOR Inserts; NID and Opcode Matched", "BriefDescription": "TOR Inserts; NID and Opcode Matched",
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册