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

perf vendor events intel: Refresh haswellx metrics and events

Update the haswellx metrics and events using the new tooling from:

  https://github.com/intel/perfmon

The metrics are unchanged but the formulas differ due to parentheses,
use of exponents and removal of redundant operations like "* 1". The
order of metrics varies as TMA metrics are first converted and then
removed if perfmon versions are found. The events are updated with
fixes to uncore events and improved descriptions. The formatting
changes increase 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-5-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 87493110
[ [
{ {
"BriefDescription": "Approximate counts of AVX & AVX2 256-bit instructions, including non-arithmetic instructions, loads, and stores. May count non-AVX instructions that employ 256-bit operations, including (but not necessarily limited to) rep string instructions that use 256-bit loads and stores for optimized performance, XSAVE* and XRSTOR*, and operations that transition the x87 FPU data registers between x87 and MMX.", "BriefDescription": "Approximate counts of AVX & AVX2 256-bit instructions, including non-arithmetic instructions, loads, and stores. May count non-AVX instructions that employ 256-bit operations, including (but not necessarily limited to) rep string instructions that use 256-bit loads and stores for optimized performance, XSAVE* and XRSTOR*, and operations that transition the x87 FPU data registers between x87 and MMX.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0xC6", "EventCode": "0xC6",
"EventName": "AVX_INSTS.ALL", "EventName": "AVX_INSTS.ALL",
"PublicDescription": "Note that a whole rep string only counts AVX_INST.ALL once.", "PublicDescription": "Note that a whole rep string only counts AVX_INST.ALL once.",
...@@ -11,8 +9,6 @@ ...@@ -11,8 +9,6 @@
}, },
{ {
"BriefDescription": "Cycles with any input/output SSE or FP assist", "BriefDescription": "Cycles with any input/output SSE or FP assist",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3",
"CounterMask": "1", "CounterMask": "1",
"EventCode": "0xCA", "EventCode": "0xCA",
"EventName": "FP_ASSIST.ANY", "EventName": "FP_ASSIST.ANY",
...@@ -22,8 +18,6 @@ ...@@ -22,8 +18,6 @@
}, },
{ {
"BriefDescription": "Number of SIMD FP assists due to input values", "BriefDescription": "Number of SIMD FP assists due to input values",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0xCA", "EventCode": "0xCA",
"EventName": "FP_ASSIST.SIMD_INPUT", "EventName": "FP_ASSIST.SIMD_INPUT",
"PublicDescription": "Number of SIMD FP assists due to input values.", "PublicDescription": "Number of SIMD FP assists due to input values.",
...@@ -32,8 +26,6 @@ ...@@ -32,8 +26,6 @@
}, },
{ {
"BriefDescription": "Number of SIMD FP assists due to Output values", "BriefDescription": "Number of SIMD FP assists due to Output values",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0xCA", "EventCode": "0xCA",
"EventName": "FP_ASSIST.SIMD_OUTPUT", "EventName": "FP_ASSIST.SIMD_OUTPUT",
"PublicDescription": "Number of SIMD FP assists due to output values.", "PublicDescription": "Number of SIMD FP assists due to output values.",
...@@ -42,8 +34,6 @@ ...@@ -42,8 +34,6 @@
}, },
{ {
"BriefDescription": "Number of X87 assists due to input value.", "BriefDescription": "Number of X87 assists due to input value.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0xCA", "EventCode": "0xCA",
"EventName": "FP_ASSIST.X87_INPUT", "EventName": "FP_ASSIST.X87_INPUT",
"PublicDescription": "Number of X87 FP assists due to input values.", "PublicDescription": "Number of X87 FP assists due to input values.",
...@@ -52,8 +42,6 @@ ...@@ -52,8 +42,6 @@
}, },
{ {
"BriefDescription": "Number of X87 assists due to output value.", "BriefDescription": "Number of X87 assists due to output value.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0xCA", "EventCode": "0xCA",
"EventName": "FP_ASSIST.X87_OUTPUT", "EventName": "FP_ASSIST.X87_OUTPUT",
"PublicDescription": "Number of X87 FP assists due to output values.", "PublicDescription": "Number of X87 FP assists due to output values.",
...@@ -62,8 +50,6 @@ ...@@ -62,8 +50,6 @@
}, },
{ {
"BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.", "BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0x58", "EventCode": "0x58",
"EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED", "EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
"PublicDescription": "Number of SIMD move elimination candidate uops that were eliminated.", "PublicDescription": "Number of SIMD move elimination candidate uops that were eliminated.",
...@@ -72,8 +58,6 @@ ...@@ -72,8 +58,6 @@
}, },
{ {
"BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.", "BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0x58", "EventCode": "0x58",
"EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED", "EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
"PublicDescription": "Number of SIMD move elimination candidate uops that were not eliminated.", "PublicDescription": "Number of SIMD move elimination candidate uops that were not eliminated.",
...@@ -82,8 +66,6 @@ ...@@ -82,8 +66,6 @@
}, },
{ {
"BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.", "BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"Errata": "HSD56, HSM57", "Errata": "HSD56, HSM57",
"EventCode": "0xC1", "EventCode": "0xC1",
"EventName": "OTHER_ASSISTS.AVX_TO_SSE", "EventName": "OTHER_ASSISTS.AVX_TO_SSE",
...@@ -92,8 +74,6 @@ ...@@ -92,8 +74,6 @@
}, },
{ {
"BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.", "BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"Errata": "HSD56, HSM57", "Errata": "HSD56, HSM57",
"EventCode": "0xC1", "EventCode": "0xC1",
"EventName": "OTHER_ASSISTS.SSE_TO_AVX", "EventName": "OTHER_ASSISTS.SSE_TO_AVX",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
[ [
{ {
"BriefDescription": "Unhalted core cycles when the thread is in ring 0", "BriefDescription": "Unhalted core cycles when the thread is in ring 0",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0x5C", "EventCode": "0x5C",
"EventName": "CPL_CYCLES.RING0", "EventName": "CPL_CYCLES.RING0",
"PublicDescription": "Unhalted core cycles when the thread is in ring 0.", "PublicDescription": "Unhalted core cycles when the thread is in ring 0.",
...@@ -11,8 +9,6 @@ ...@@ -11,8 +9,6 @@
}, },
{ {
"BriefDescription": "Number of intervals between processor halts while thread is in ring 0.", "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"CounterMask": "1", "CounterMask": "1",
"EdgeDetect": "1", "EdgeDetect": "1",
"EventCode": "0x5C", "EventCode": "0x5C",
...@@ -22,8 +18,6 @@ ...@@ -22,8 +18,6 @@
}, },
{ {
"BriefDescription": "Unhalted core cycles when thread is in rings 1, 2, or 3", "BriefDescription": "Unhalted core cycles when thread is in rings 1, 2, or 3",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0x5C", "EventCode": "0x5C",
"EventName": "CPL_CYCLES.RING123", "EventName": "CPL_CYCLES.RING123",
"PublicDescription": "Unhalted core cycles when the thread is not in ring 0.", "PublicDescription": "Unhalted core cycles when the thread is not in ring 0.",
...@@ -32,8 +26,6 @@ ...@@ -32,8 +26,6 @@
}, },
{ {
"BriefDescription": "Cycles when L1 and L2 are locked due to UC or split lock", "BriefDescription": "Cycles when L1 and L2 are locked due to UC or split lock",
"Counter": "0,1,2,3",
"CounterHTOff": "0,1,2,3,4,5,6,7",
"EventCode": "0x63", "EventCode": "0x63",
"EventName": "LOCK_CYCLES.SPLIT_LOCK_UC_LOCK_DURATION", "EventName": "LOCK_CYCLES.SPLIT_LOCK_UC_LOCK_DURATION",
"PublicDescription": "Cycles in which the L1D and L2 are locked, due to a UC lock or split lock.", "PublicDescription": "Cycles in which the L1D and L2 are locked, due to a UC lock or split lock.",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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