Commit b5948fc6 authored by Ian Rogers's avatar Ian Rogers Committed by Arnaldo Carvalho de Melo
Browse files

perf vendor events: Update Sandybridge

Events are still at version 16:
    https://download.01.org/perfmon/SNB
Json files generated by the latest code at:
    https://github.com/intel/event-converter-for-linux-perf



Tested:

Not tested on a Sandybridge, on a SkylakeX:

  ...
    9: Parse perf pmu format                                           : Ok
   10: PMU events                                                      :
   10.1: PMU event table sanity                                        : Ok
   10.2: PMU event map aliases                                         : Ok
   10.3: Parsing of PMU event table metrics                            : Ok
   10.4: Parsing of PMU event table metrics with fake PMUs             : Ok
  ...

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: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Zhengjun Xing <zhengjun.xing@linux.intel.com>
Link: https://lore.kernel.org/r/20220201015858.1226914-22-irogers@google.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 3f5f0df7
Loading
Loading
Loading
Loading
+1149 −1149

File changed.

Preview size limit exceeded, changes collapsed.

+86 −86
Original line number Diff line number Diff line
[
    {
        "EventCode": "0x10",
        "BriefDescription": "Cycles with any input/output SSE or FP assist.",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "FP_COMP_OPS_EXE.X87",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of FP Computational Uops Executed this cycle. The number of FADD, FSUB, FCOM, FMULs, integer MULsand IMULs, FDIVs, FPREMs, FSQRTS, integer DIVs, and IDIVs. This event does not distinguish an FADD used in the middle of a transcendental flow from a s.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3",
        "CounterMask": "1",
        "EventCode": "0xCA",
        "EventName": "FP_ASSIST.ANY",
        "SampleAfterValue": "100003",
        "UMask": "0x1e"
    },
    {
        "EventCode": "0x10",
        "BriefDescription": "Number of SIMD FP assists due to input values.",
        "Counter": "0,1,2,3",
        "UMask": "0x10",
        "EventName": "FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational packed double-precision uops issued this cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xCA",
        "EventName": "FP_ASSIST.SIMD_INPUT",
        "SampleAfterValue": "100003",
        "UMask": "0x10"
    },
    {
        "EventCode": "0x10",
        "BriefDescription": "Number of SIMD FP assists due to Output values.",
        "Counter": "0,1,2,3",
        "UMask": "0x20",
        "EventName": "FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational scalar single-precision uops issued this cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xCA",
        "EventName": "FP_ASSIST.SIMD_OUTPUT",
        "SampleAfterValue": "100003",
        "UMask": "0x8"
    },
    {
        "EventCode": "0x10",
        "BriefDescription": "Number of X87 assists due to input value.",
        "Counter": "0,1,2,3",
        "UMask": "0x40",
        "EventName": "FP_COMP_OPS_EXE.SSE_PACKED_SINGLE",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational packed single-precision uops issued this cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xCA",
        "EventName": "FP_ASSIST.X87_INPUT",
        "SampleAfterValue": "100003",
        "UMask": "0x4"
    },
    {
        "EventCode": "0x10",
        "BriefDescription": "Number of X87 assists due to output value.",
        "Counter": "0,1,2,3",
        "UMask": "0x80",
        "EventName": "FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational scalar double-precision uops issued this cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xCA",
        "EventName": "FP_ASSIST.X87_OUTPUT",
        "SampleAfterValue": "100003",
        "UMask": "0x2"
    },
    {
        "EventCode": "0x11",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational packed double-precision uops issued this cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "SIMD_FP_256.PACKED_SINGLE",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x10",
        "EventName": "FP_COMP_OPS_EXE.SSE_PACKED_DOUBLE",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of GSSE-256 Computational FP single precision uops issued this cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x10"
    },
    {
        "EventCode": "0x11",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational packed single-precision uops issued this cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "SIMD_FP_256.PACKED_DOUBLE",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x10",
        "EventName": "FP_COMP_OPS_EXE.SSE_PACKED_SINGLE",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Number of AVX-256 Computational FP double precision uops issued this cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x40"
    },
    {
        "EventCode": "0xC1",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational scalar double-precision uops issued this cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x8",
        "EventName": "OTHER_ASSISTS.AVX_STORE",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of GSSE memory assist for stores. GSSE microcode assist is being invoked whenever the hardware is unable to properly handle GSSE-256b operations.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x10",
        "EventName": "FP_COMP_OPS_EXE.SSE_SCALAR_DOUBLE",
        "SampleAfterValue": "2000003",
        "UMask": "0x80"
    },
    {
        "EventCode": "0xC1",
        "BriefDescription": "Number of SSE* or AVX-128 FP Computational scalar single-precision uops issued this cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x10",
        "EventName": "OTHER_ASSISTS.AVX_TO_SSE",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x10",
        "EventName": "FP_COMP_OPS_EXE.SSE_SCALAR_SINGLE",
        "SampleAfterValue": "2000003",
        "UMask": "0x20"
    },
    {
        "EventCode": "0xC1",
        "BriefDescription": "Number of FP Computational Uops Executed this cycle. The number of FADD, FSUB, FCOM, FMULs, integer MULsand IMULs, FDIVs, FPREMs, FSQRTS, integer DIVs, and IDIVs. This event does not distinguish an FADD used in the middle of a transcendental flow from a s.",
        "Counter": "0,1,2,3",
        "UMask": "0x20",
        "EventName": "OTHER_ASSISTS.SSE_TO_AVX",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x10",
        "EventName": "FP_COMP_OPS_EXE.X87",
        "SampleAfterValue": "2000003",
        "UMask": "0x1"
    },
    {
        "EventCode": "0xCA",
        "BriefDescription": "Number of GSSE memory assist for stores. GSSE microcode assist is being invoked whenever the hardware is unable to properly handle GSSE-256b operations.",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "FP_ASSIST.X87_OUTPUT",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xC1",
        "EventName": "OTHER_ASSISTS.AVX_STORE",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of X87 assists due to output value.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x8"
    },
    {
        "EventCode": "0xCA",
        "BriefDescription": "Number of transitions from AVX-256 to legacy SSE when penalty applicable.",
        "Counter": "0,1,2,3",
        "UMask": "0x4",
        "EventName": "FP_ASSIST.X87_INPUT",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xC1",
        "EventName": "OTHER_ASSISTS.AVX_TO_SSE",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of X87 assists due to input value.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x10"
    },
    {
        "EventCode": "0xCA",
        "BriefDescription": "Number of transitions from SSE to AVX-256 when penalty applicable.",
        "Counter": "0,1,2,3",
        "UMask": "0x8",
        "EventName": "FP_ASSIST.SIMD_OUTPUT",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0xC1",
        "EventName": "OTHER_ASSISTS.SSE_TO_AVX",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of SIMD FP assists due to Output values.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x20"
    },
    {
        "EventCode": "0xCA",
        "BriefDescription": "Number of AVX-256 Computational FP double precision uops issued this cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x10",
        "EventName": "FP_ASSIST.SIMD_INPUT",
        "SampleAfterValue": "100003",
        "BriefDescription": "Number of SIMD FP assists due to input values.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x11",
        "EventName": "SIMD_FP_256.PACKED_DOUBLE",
        "SampleAfterValue": "2000003",
        "UMask": "0x2"
    },
    {
        "EventCode": "0xCA",
        "BriefDescription": "Number of GSSE-256 Computational FP single precision uops issued this cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x1e",
        "EventName": "FP_ASSIST.ANY",
        "SampleAfterValue": "100003",
        "BriefDescription": "Cycles with any input/output SSE or FP assist.",
        "CounterMask": "1",
        "CounterHTOff": "0,1,2,3"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x11",
        "EventName": "SIMD_FP_256.PACKED_SINGLE",
        "SampleAfterValue": "2000003",
        "UMask": "0x1"
    }
]
 No newline at end of file
+187 −178

File changed.

Preview size limit exceeded, changes collapsed.

+260 −260

File changed.

Preview size limit exceeded, changes collapsed.

+33 −33
Original line number Diff line number Diff line
[
    {
        "EventCode": "0x17",
        "BriefDescription": "Unhalted core cycles when the thread is in ring 0.",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "INSTS_WRITTEN_TO_IQ.INSTS",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x5C",
        "EventName": "CPL_CYCLES.RING0",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Valid instructions written to IQ per cycle.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x1"
    },
    {
        "EventCode": "0x4E",
        "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "HW_PRE_REQ.DL1_MISS",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Hardware Prefetch requests that miss the L1D cache. This accounts for both L1 streamer and IP-based (IPP) HW prefetchers. A request is being counted each time it access the cache & miss it, including if a block is applicable or if hit the Fill Buffer for .",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "CounterMask": "1",
        "EdgeDetect": "1",
        "EventCode": "0x5C",
        "EventName": "CPL_CYCLES.RING0_TRANS",
        "SampleAfterValue": "100007",
        "UMask": "0x1"
    },
    {
        "EventCode": "0x5C",
        "BriefDescription": "Unhalted core cycles when thread is in rings 1, 2, or 3.",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EventName": "CPL_CYCLES.RING0",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x5C",
        "EventName": "CPL_CYCLES.RING123",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Unhalted core cycles when the thread is in ring 0.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x2"
    },
    {
        "EventCode": "0x5C",
        "BriefDescription": "Hardware Prefetch requests that miss the L1D cache. This accounts for both L1 streamer and IP-based (IPP) HW prefetchers. A request is being counted each time it access the cache & miss it, including if a block is applicable or if hit the Fill Buffer for .",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "EdgeDetect": "1",
        "EventName": "CPL_CYCLES.RING0_TRANS",
        "SampleAfterValue": "100007",
        "BriefDescription": "Number of intervals between processor halts while thread is in ring 0.",
        "CounterMask": "1",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x4E",
        "EventName": "HW_PRE_REQ.DL1_MISS",
        "SampleAfterValue": "2000003",
        "UMask": "0x2"
    },
    {
        "EventCode": "0x5C",
        "BriefDescription": "Valid instructions written to IQ per cycle.",
        "Counter": "0,1,2,3",
        "UMask": "0x2",
        "EventName": "CPL_CYCLES.RING123",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x17",
        "EventName": "INSTS_WRITTEN_TO_IQ.INSTS",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Unhalted core cycles when thread is in rings 1, 2, or 3.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x1"
    },
    {
        "EventCode": "0x63",
        "BriefDescription": "Cycles when L1 and L2 are locked due to UC or split lock.",
        "Counter": "0,1,2,3",
        "UMask": "0x1",
        "CounterHTOff": "0,1,2,3,4,5,6,7",
        "EventCode": "0x63",
        "EventName": "LOCK_CYCLES.SPLIT_LOCK_UC_LOCK_DURATION",
        "SampleAfterValue": "2000003",
        "BriefDescription": "Cycles when L1 and L2 are locked due to UC or split lock.",
        "CounterHTOff": "0,1,2,3,4,5,6,7"
        "UMask": "0x1"
    }
]
 No newline at end of file
Loading