Commit 387bc79f authored by Ian Rogers's avatar Ian Rogers Committed by Arnaldo Carvalho de Melo

perf vendor events intel: Refresh goldmont events

Update the goldmont events using the new tooling from:

  https://github.com/intel/perfmon

The events are unchanged but unused json values are removed. This
increases consistency across the json files.
Signed-off-by: default avatarIan Rogers <irogers@google.com>
Acked-by: default avatarKan Liang <kan.liang@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Perry Taylor <perry.taylor@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Link: https://lore.kernel.org/r/20221215065510.1621979-2-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 5cebe49c
[ [
{ {
"BriefDescription": "Cycles the FP divide unit is busy", "BriefDescription": "Cycles the FP divide unit is busy",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xCD", "EventCode": "0xCD",
"EventName": "CYCLES_DIV_BUSY.FPDIV", "EventName": "CYCLES_DIV_BUSY.FPDIV",
"PublicDescription": "Counts core cycles the floating point divide unit is busy.", "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
...@@ -11,8 +9,6 @@ ...@@ -11,8 +9,6 @@
}, },
{ {
"BriefDescription": "Machine clears due to FP assists", "BriefDescription": "Machine clears due to FP assists",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xC3", "EventCode": "0xC3",
"EventName": "MACHINE_CLEARS.FP_ASSIST", "EventName": "MACHINE_CLEARS.FP_ASSIST",
"PublicDescription": "Counts machine clears due to floating point (FP) operations needing assists. For instance, if the result was a floating point denormal, the hardware clears the pipeline and reissues uops to produce the correct IEEE compliant denormal result.", "PublicDescription": "Counts machine clears due to floating point (FP) operations needing assists. For instance, if the result was a floating point denormal, the hardware clears the pipeline and reissues uops to produce the correct IEEE compliant denormal result.",
...@@ -21,8 +17,6 @@ ...@@ -21,8 +17,6 @@
}, },
{ {
"BriefDescription": "Floating point divide uops retired. (Precise Event Capable)", "BriefDescription": "Floating point divide uops retired. (Precise Event Capable)",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xC2", "EventCode": "0xC2",
"EventName": "UOPS_RETIRED.FPDIV", "EventName": "UOPS_RETIRED.FPDIV",
"PEBS": "2", "PEBS": "2",
......
[ [
{ {
"BriefDescription": "BACLEARs asserted for any branch type", "BriefDescription": "BACLEARs asserted for any branch type",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xE6", "EventCode": "0xE6",
"EventName": "BACLEARS.ALL", "EventName": "BACLEARS.ALL",
"PublicDescription": "Counts the number of times a BACLEAR is signaled for any reason, including, but not limited to indirect branch/call, Jcc (Jump on Conditional Code/Jump if Condition is Met) branch, unconditional branch/call, and returns.", "PublicDescription": "Counts the number of times a BACLEAR is signaled for any reason, including, but not limited to indirect branch/call, Jcc (Jump on Conditional Code/Jump if Condition is Met) branch, unconditional branch/call, and returns.",
...@@ -11,8 +9,6 @@ ...@@ -11,8 +9,6 @@
}, },
{ {
"BriefDescription": "BACLEARs asserted for conditional branch", "BriefDescription": "BACLEARs asserted for conditional branch",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xE6", "EventCode": "0xE6",
"EventName": "BACLEARS.COND", "EventName": "BACLEARS.COND",
"PublicDescription": "Counts BACLEARS on Jcc (Jump on Conditional Code/Jump if Condition is Met) branches.", "PublicDescription": "Counts BACLEARS on Jcc (Jump on Conditional Code/Jump if Condition is Met) branches.",
...@@ -21,8 +17,6 @@ ...@@ -21,8 +17,6 @@
}, },
{ {
"BriefDescription": "BACLEARs asserted for return branch", "BriefDescription": "BACLEARs asserted for return branch",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xE6", "EventCode": "0xE6",
"EventName": "BACLEARS.RETURN", "EventName": "BACLEARS.RETURN",
"PublicDescription": "Counts BACLEARS on return instructions.", "PublicDescription": "Counts BACLEARS on return instructions.",
...@@ -31,8 +25,6 @@ ...@@ -31,8 +25,6 @@
}, },
{ {
"BriefDescription": "Decode restrictions due to predicting wrong instruction length", "BriefDescription": "Decode restrictions due to predicting wrong instruction length",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xE9", "EventCode": "0xE9",
"EventName": "DECODE_RESTRICTION.PREDECODE_WRONG", "EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
"PublicDescription": "Counts the number of times the prediction (from the predecode cache) for instruction length is incorrect.", "PublicDescription": "Counts the number of times the prediction (from the predecode cache) for instruction length is incorrect.",
...@@ -41,8 +33,6 @@ ...@@ -41,8 +33,6 @@
}, },
{ {
"BriefDescription": "References per ICache line. This event counts differently than Intel processors based on Silvermont microarchitecture", "BriefDescription": "References per ICache line. This event counts differently than Intel processors based on Silvermont microarchitecture",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x80", "EventCode": "0x80",
"EventName": "ICACHE.ACCESSES", "EventName": "ICACHE.ACCESSES",
"PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line. The event strives to count on a cache line basis, so that multiple fetches to a single cache line count as one ICACHE.ACCESS. Specifically, the event counts when accesses from straight line code crosses the cache line boundary, or when a branch target is to a new line.\r\nThis event counts differently than Intel processors based on Silvermont microarchitecture.", "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line. The event strives to count on a cache line basis, so that multiple fetches to a single cache line count as one ICACHE.ACCESS. Specifically, the event counts when accesses from straight line code crosses the cache line boundary, or when a branch target is to a new line.\r\nThis event counts differently than Intel processors based on Silvermont microarchitecture.",
...@@ -51,8 +41,6 @@ ...@@ -51,8 +41,6 @@
}, },
{ {
"BriefDescription": "References per ICache line that are available in the ICache (hit). This event counts differently than Intel processors based on Silvermont microarchitecture", "BriefDescription": "References per ICache line that are available in the ICache (hit). This event counts differently than Intel processors based on Silvermont microarchitecture",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x80", "EventCode": "0x80",
"EventName": "ICACHE.HIT", "EventName": "ICACHE.HIT",
"PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis, so that multiple accesses which hit in a single cache line count as one ICACHE.HIT. Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.", "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis, so that multiple accesses which hit in a single cache line count as one ICACHE.HIT. Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.",
...@@ -61,8 +49,6 @@ ...@@ -61,8 +49,6 @@
}, },
{ {
"BriefDescription": "References per ICache line that are not available in the ICache (miss). This event counts differently than Intel processors based on Silvermont microarchitecture", "BriefDescription": "References per ICache line that are not available in the ICache (miss). This event counts differently than Intel processors based on Silvermont microarchitecture",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x80", "EventCode": "0x80",
"EventName": "ICACHE.MISSES", "EventName": "ICACHE.MISSES",
"PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line and that cache line is not in the ICache (miss). The event strives to count on a cache line basis, so that multiple accesses which miss in a single cache line count as one ICACHE.MISS. Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is not in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.", "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line and that cache line is not in the ICache (miss). The event strives to count on a cache line basis, so that multiple accesses which miss in a single cache line count as one ICACHE.MISS. Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is not in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.",
...@@ -71,8 +57,6 @@ ...@@ -71,8 +57,6 @@
}, },
{ {
"BriefDescription": "MS decode starts", "BriefDescription": "MS decode starts",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xE7", "EventCode": "0xE7",
"EventName": "MS_DECODED.MS_ENTRY", "EventName": "MS_DECODED.MS_ENTRY",
"PublicDescription": "Counts the number of times the Microcode Sequencer (MS) starts a flow of uops from the MSROM. It does not count every time a uop is read from the MSROM. The most common case that this counts is when a micro-coded instruction is encountered by the front end of the machine. Other cases include when an instruction encounters a fault, trap, or microcode assist of any sort that initiates a flow of uops. The event will count MS startups for uops that are speculative, and subsequently cleared by branch mispredict or a machine clear.", "PublicDescription": "Counts the number of times the Microcode Sequencer (MS) starts a flow of uops from the MSROM. It does not count every time a uop is read from the MSROM. The most common case that this counts is when a micro-coded instruction is encountered by the front end of the machine. Other cases include when an instruction encounters a fault, trap, or microcode assist of any sort that initiates a flow of uops. The event will count MS startups for uops that are speculative, and subsequently cleared by branch mispredict or a machine clear.",
......
[ [
{ {
"BriefDescription": "Machine clears due to memory ordering issue", "BriefDescription": "Machine clears due to memory ordering issue",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0xC3", "EventCode": "0xC3",
"EventName": "MACHINE_CLEARS.MEMORY_ORDERING", "EventName": "MACHINE_CLEARS.MEMORY_ORDERING",
"PublicDescription": "Counts machine clears due to memory ordering issues. This occurs when a snoop request happens and the machine is uncertain if memory ordering will be preserved as another core is in the process of modifying the data.", "PublicDescription": "Counts machine clears due to memory ordering issues. This occurs when a snoop request happens and the machine is uncertain if memory ordering will be preserved as another core is in the process of modifying the data.",
...@@ -11,8 +9,6 @@ ...@@ -11,8 +9,6 @@
}, },
{ {
"BriefDescription": "Load uops that split a page (Precise event capable)", "BriefDescription": "Load uops that split a page (Precise event capable)",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"EventCode": "0x13", "EventCode": "0x13",
"EventName": "MISALIGN_MEM_REF.LOAD_PAGE_SPLIT", "EventName": "MISALIGN_MEM_REF.LOAD_PAGE_SPLIT",
"PEBS": "2", "PEBS": "2",
...@@ -22,8 +18,6 @@ ...@@ -22,8 +18,6 @@
}, },
{ {
"BriefDescription": "Store uops that split a page (Precise event capable)", "BriefDescription": "Store uops that split a page (Precise event capable)",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"EventCode": "0x13", "EventCode": "0x13",
"EventName": "MISALIGN_MEM_REF.STORE_PAGE_SPLIT", "EventName": "MISALIGN_MEM_REF.STORE_PAGE_SPLIT",
"PEBS": "2", "PEBS": "2",
......
[ [
{ {
"BriefDescription": "Cycles code-fetch stalled due to any reason.", "BriefDescription": "Cycles code-fetch stalled due to any reason.",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x86", "EventCode": "0x86",
"EventName": "FETCH_STALL.ALL", "EventName": "FETCH_STALL.ALL",
"PublicDescription": "Counts cycles that fetch is stalled due to any reason. That is, the decoder queue is able to accept bytes, but the fetch unit is unable to provide bytes. This will include cycles due to an ITLB miss, ICache miss and other events.", "PublicDescription": "Counts cycles that fetch is stalled due to any reason. That is, the decoder queue is able to accept bytes, but the fetch unit is unable to provide bytes. This will include cycles due to an ITLB miss, ICache miss and other events.",
...@@ -10,8 +8,6 @@ ...@@ -10,8 +8,6 @@
}, },
{ {
"BriefDescription": "Cycles code-fetch stalled due to an outstanding ITLB miss.", "BriefDescription": "Cycles code-fetch stalled due to an outstanding ITLB miss.",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x86", "EventCode": "0x86",
"EventName": "FETCH_STALL.ITLB_FILL_PENDING_CYCLES", "EventName": "FETCH_STALL.ITLB_FILL_PENDING_CYCLES",
"PublicDescription": "Counts cycles that fetch is stalled due to an outstanding ITLB miss. That is, the decoder queue is able to accept bytes, but the fetch unit is unable to provide bytes due to an ITLB miss. Note: this event is not the same as page walk cycles to retrieve an instruction translation.", "PublicDescription": "Counts cycles that fetch is stalled due to an outstanding ITLB miss. That is, the decoder queue is able to accept bytes, but the fetch unit is unable to provide bytes due to an ITLB miss. Note: this event is not the same as page walk cycles to retrieve an instruction translation.",
...@@ -20,8 +16,6 @@ ...@@ -20,8 +16,6 @@
}, },
{ {
"BriefDescription": "Cycles hardware interrupts are masked", "BriefDescription": "Cycles hardware interrupts are masked",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"EventCode": "0xCB", "EventCode": "0xCB",
"EventName": "HW_INTERRUPTS.MASKED", "EventName": "HW_INTERRUPTS.MASKED",
"PublicDescription": "Counts the number of core cycles during which interrupts are masked (disabled). Increments by 1 each core cycle that EFLAGS.IF is 0, regardless of whether interrupts are pending or not.", "PublicDescription": "Counts the number of core cycles during which interrupts are masked (disabled). Increments by 1 each core cycle that EFLAGS.IF is 0, regardless of whether interrupts are pending or not.",
...@@ -30,8 +24,6 @@ ...@@ -30,8 +24,6 @@
}, },
{ {
"BriefDescription": "Cycles pending interrupts are masked", "BriefDescription": "Cycles pending interrupts are masked",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"EventCode": "0xCB", "EventCode": "0xCB",
"EventName": "HW_INTERRUPTS.PENDING_AND_MASKED", "EventName": "HW_INTERRUPTS.PENDING_AND_MASKED",
"PublicDescription": "Counts core cycles during which there are pending interrupts, but interrupts are masked (EFLAGS.IF = 0).", "PublicDescription": "Counts core cycles during which there are pending interrupts, but interrupts are masked (EFLAGS.IF = 0).",
...@@ -40,8 +32,6 @@ ...@@ -40,8 +32,6 @@
}, },
{ {
"BriefDescription": "Hardware interrupts received", "BriefDescription": "Hardware interrupts received",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"EventCode": "0xCB", "EventCode": "0xCB",
"EventName": "HW_INTERRUPTS.RECEIVED", "EventName": "HW_INTERRUPTS.RECEIVED",
"PublicDescription": "Counts hardware interrupts received by the processor.", "PublicDescription": "Counts hardware interrupts received by the processor.",
......
[ [
{ {
"BriefDescription": "ITLB misses", "BriefDescription": "ITLB misses",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x81", "EventCode": "0x81",
"EventName": "ITLB.MISS", "EventName": "ITLB.MISS",
"PublicDescription": "Counts the number of times the machine was unable to find a translation in the Instruction Translation Lookaside Buffer (ITLB) for a linear address of an instruction fetch. It counts when new translation are filled into the ITLB. The event is speculative in nature, but will not count translations (page walks) that are begun and not finished, or translations that are finished but not filled into the ITLB.", "PublicDescription": "Counts the number of times the machine was unable to find a translation in the Instruction Translation Lookaside Buffer (ITLB) for a linear address of an instruction fetch. It counts when new translation are filled into the ITLB. The event is speculative in nature, but will not count translations (page walks) that are begun and not finished, or translations that are finished but not filled into the ITLB.",
...@@ -11,8 +9,6 @@ ...@@ -11,8 +9,6 @@
}, },
{ {
"BriefDescription": "Memory uops retired that missed the DTLB (Precise event capable)", "BriefDescription": "Memory uops retired that missed the DTLB (Precise event capable)",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"Data_LA": "1", "Data_LA": "1",
"EventCode": "0xD0", "EventCode": "0xD0",
"EventName": "MEM_UOPS_RETIRED.DTLB_MISS", "EventName": "MEM_UOPS_RETIRED.DTLB_MISS",
...@@ -23,8 +19,6 @@ ...@@ -23,8 +19,6 @@
}, },
{ {
"BriefDescription": "Load uops retired that missed the DTLB (Precise event capable)", "BriefDescription": "Load uops retired that missed the DTLB (Precise event capable)",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"Data_LA": "1", "Data_LA": "1",
"EventCode": "0xD0", "EventCode": "0xD0",
"EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS", "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
...@@ -35,8 +29,6 @@ ...@@ -35,8 +29,6 @@
}, },
{ {
"BriefDescription": "Store uops retired that missed the DTLB (Precise event capable)", "BriefDescription": "Store uops retired that missed the DTLB (Precise event capable)",
"CollectPEBSRecord": "2",
"Counter": "0,1,2,3",
"Data_LA": "1", "Data_LA": "1",
"EventCode": "0xD0", "EventCode": "0xD0",
"EventName": "MEM_UOPS_RETIRED.DTLB_MISS_STORES", "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_STORES",
...@@ -47,8 +39,6 @@ ...@@ -47,8 +39,6 @@
}, },
{ {
"BriefDescription": "Duration of page-walks in cycles", "BriefDescription": "Duration of page-walks in cycles",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x05", "EventCode": "0x05",
"EventName": "PAGE_WALKS.CYCLES", "EventName": "PAGE_WALKS.CYCLES",
"PublicDescription": "Counts every core cycle a page-walk is in progress due to either a data memory operation or an instruction fetch.", "PublicDescription": "Counts every core cycle a page-walk is in progress due to either a data memory operation or an instruction fetch.",
...@@ -57,8 +47,6 @@ ...@@ -57,8 +47,6 @@
}, },
{ {
"BriefDescription": "Duration of D-side page-walks in cycles", "BriefDescription": "Duration of D-side page-walks in cycles",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x05", "EventCode": "0x05",
"EventName": "PAGE_WALKS.D_SIDE_CYCLES", "EventName": "PAGE_WALKS.D_SIDE_CYCLES",
"PublicDescription": "Counts every core cycle when a Data-side (walks due to a data operation) page walk is in progress.", "PublicDescription": "Counts every core cycle when a Data-side (walks due to a data operation) page walk is in progress.",
...@@ -67,8 +55,6 @@ ...@@ -67,8 +55,6 @@
}, },
{ {
"BriefDescription": "Duration of I-side pagewalks in cycles", "BriefDescription": "Duration of I-side pagewalks in cycles",
"CollectPEBSRecord": "1",
"Counter": "0,1,2,3",
"EventCode": "0x05", "EventCode": "0x05",
"EventName": "PAGE_WALKS.I_SIDE_CYCLES", "EventName": "PAGE_WALKS.I_SIDE_CYCLES",
"PublicDescription": "Counts every core cycle when a Instruction-side (walks due to an instruction fetch) page walk is in progress.", "PublicDescription": "Counts every core cycle when a Instruction-side (walks due to an instruction fetch) page walk is in progress.",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment