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

perf vendor events: Remove bad jaketown uncore events

The event converter scripts at:

  https://github.com/intel/event-converter-for-linux-perf

passes Filter values from data on 01.org that is bogus in a perf command
line and can cause perf to infinitely recurse in parse events. Remove
such events or filters using the updated patch:

  https://github.com/intel/event-converter-for-linux-perf/pull/15/commits/afd779df99ee41aac646eae1ae5ae651cda3394d

Fixes: 376d8b58 ("perf vendor events: Update Intel jaketown")
Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
Signed-off-by: default avatarIan Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kshipra Bopardikar <kshipra.bopardikar@intel.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/20220805013856.1842878-4-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 22de36ff
...@@ -247,17 +247,6 @@ ...@@ -247,17 +247,6 @@
"UMask": "0x2", "UMask": "0x2",
"Unit": "IRP" "Unit": "IRP"
}, },
{
"BriefDescription": "Inbound Transaction Count; Select Source",
"Counter": "0,1",
"EventCode": "0x15",
"EventName": "UNC_I_TRANSACTIONS.ORDERINGQ",
"Filter": "IRPFilter[4:0]",
"PerPkg": "1",
"PublicDescription": "Counts the number of 'Inbound' transactions from the IRP to the Uncore. This can be filtered based on request type in addition to the source queue. Note the special filtering equation. We do OR-reduction on the request type. If the SOURCE bit is set, then we also do AND qualification based on the source portID.",
"UMask": "0x8",
"Unit": "IRP"
},
{ {
"BriefDescription": "Inbound Transaction Count; Read Prefetches", "BriefDescription": "Inbound Transaction Count; Read Prefetches",
"Counter": "0,1", "Counter": "0,1",
...@@ -1378,7 +1367,6 @@ ...@@ -1378,7 +1367,6 @@
"Counter": "0,1", "Counter": "0,1",
"EventCode": "0x41", "EventCode": "0x41",
"EventName": "UNC_U_FILTER_MATCH.ENABLE", "EventName": "UNC_U_FILTER_MATCH.ENABLE",
"Filter": "UBoxFilter[3:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Filter match per thread (w/ or w/o Filter Enable). Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID.", "PublicDescription": "Filter match per thread (w/ or w/o Filter Enable). Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID.",
"UMask": "0x1", "UMask": "0x1",
...@@ -1399,7 +1387,6 @@ ...@@ -1399,7 +1387,6 @@
"Counter": "0,1", "Counter": "0,1",
"EventCode": "0x41", "EventCode": "0x41",
"EventName": "UNC_U_FILTER_MATCH.U2C_ENABLE", "EventName": "UNC_U_FILTER_MATCH.U2C_ENABLE",
"Filter": "UBoxFilter[3:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Filter match per thread (w/ or w/o Filter Enable). Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID.", "PublicDescription": "Filter match per thread (w/ or w/o Filter Enable). Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID.",
"UMask": "0x4", "UMask": "0x4",
......
...@@ -92,7 +92,6 @@ ...@@ -92,7 +92,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x1e", "EventCode": "0x1e",
"EventName": "UNC_P_DEMOTIONS_CORE0", "EventName": "UNC_P_DEMOTIONS_CORE0",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -102,7 +101,6 @@ ...@@ -102,7 +101,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x1f", "EventCode": "0x1f",
"EventName": "UNC_P_DEMOTIONS_CORE1", "EventName": "UNC_P_DEMOTIONS_CORE1",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -121,7 +119,6 @@ ...@@ -121,7 +119,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x21", "EventCode": "0x21",
"EventName": "UNC_P_DEMOTIONS_CORE3", "EventName": "UNC_P_DEMOTIONS_CORE3",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -131,7 +128,6 @@ ...@@ -131,7 +128,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x22", "EventCode": "0x22",
"EventName": "UNC_P_DEMOTIONS_CORE4", "EventName": "UNC_P_DEMOTIONS_CORE4",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -141,7 +137,6 @@ ...@@ -141,7 +137,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x23", "EventCode": "0x23",
"EventName": "UNC_P_DEMOTIONS_CORE5", "EventName": "UNC_P_DEMOTIONS_CORE5",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -151,7 +146,6 @@ ...@@ -151,7 +146,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x24", "EventCode": "0x24",
"EventName": "UNC_P_DEMOTIONS_CORE6", "EventName": "UNC_P_DEMOTIONS_CORE6",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -161,7 +155,6 @@ ...@@ -161,7 +155,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0x25", "EventCode": "0x25",
"EventName": "UNC_P_DEMOTIONS_CORE7", "EventName": "UNC_P_DEMOTIONS_CORE7",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion", "PublicDescription": "Counts the number of times when a configurable cores had a C-state demotion",
"Unit": "PCU" "Unit": "PCU"
...@@ -171,7 +164,6 @@ ...@@ -171,7 +164,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0xb", "EventCode": "0xb",
"EventName": "UNC_P_FREQ_BAND0_CYCLES", "EventName": "UNC_P_FREQ_BAND0_CYCLES",
"Filter": "PCUFilter[7:0]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Unit": "PCU" "Unit": "PCU"
...@@ -181,7 +173,6 @@ ...@@ -181,7 +173,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0xc", "EventCode": "0xc",
"EventName": "UNC_P_FREQ_BAND1_CYCLES", "EventName": "UNC_P_FREQ_BAND1_CYCLES",
"Filter": "PCUFilter[15:8]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Unit": "PCU" "Unit": "PCU"
...@@ -191,7 +182,6 @@ ...@@ -191,7 +182,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0xd", "EventCode": "0xd",
"EventName": "UNC_P_FREQ_BAND2_CYCLES", "EventName": "UNC_P_FREQ_BAND2_CYCLES",
"Filter": "PCUFilter[23:16]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Unit": "PCU" "Unit": "PCU"
...@@ -201,7 +191,6 @@ ...@@ -201,7 +191,6 @@
"Counter": "0,1,2,3", "Counter": "0,1,2,3",
"EventCode": "0xe", "EventCode": "0xe",
"EventName": "UNC_P_FREQ_BAND3_CYCLES", "EventName": "UNC_P_FREQ_BAND3_CYCLES",
"Filter": "PCUFilter[31:24]",
"PerPkg": "1", "PerPkg": "1",
"PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.", "PublicDescription": "Counts the number of cycles that the uncore was running at a frequency greater than or equal to the frequency that is configured in the filter. One can use all four counters with this event, so it is possible to track up to 4 configurable bands. One can use edge detect in conjunction with this event to track the number of times that we transitioned into a frequency greater than or equal to the configurable frequency. One can also use inversion to track cycles when we were less than the configured frequency.",
"Unit": "PCU" "Unit": "PCU"
......
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