Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b90b3e9c authored by Andi Kleen's avatar Andi Kleen Committed by Arnaldo Carvalho de Melo
Browse files

perf vendor events intel: Update Intel uncore JSON event files



- Add MetricName to describe Metric
- Remove redundant "derived from" in descriptions
- Rename UNC_M_CAS_COUNT to LLC_MISSES.READ

Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170320201711.14142-9-andi@firstfloor.org


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 07516736
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
[
    {
        "BriefDescription": "Uncore cache clock ticks. Derived from unc_c_clockticks",
        "BriefDescription": "Uncore cache clock ticks",
        "Counter": "0,1,2,3",
        "EventName": "UNC_C_CLOCKTICKS",
        "PerPkg": "1",
        "Unit": "CBO"
    },
    {
        "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch). Derived from unc_c_llc_lookup.any",
        "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)",
        "Counter": "0,1,2,3",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.ANY",
@@ -18,7 +18,7 @@
        "Unit": "CBO"
    },
    {
        "BriefDescription": "M line evictions from LLC (writebacks to memory). Derived from unc_c_llc_victims.m_state",
        "BriefDescription": "M line evictions from LLC (writebacks to memory)",
        "Counter": "0,1,2,3",
        "EventCode": "0x37",
        "EventName": "UNC_C_LLC_VICTIMS.M_STATE",
@@ -212,7 +212,7 @@
        "Unit": "CBO"
    },
    {
        "BriefDescription": "read requests to home agent. Derived from unc_h_requests.reads",
        "BriefDescription": "read requests to home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.READS",
@@ -221,7 +221,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "read requests to local home agent. Derived from unc_h_requests.reads_local",
        "BriefDescription": "read requests to local home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.READS_LOCAL",
@@ -230,7 +230,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "read requests to remote home agent. Derived from unc_h_requests.reads_remote",
        "BriefDescription": "read requests to remote home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.READS_REMOTE",
@@ -239,7 +239,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "write requests to home agent. Derived from unc_h_requests.writes",
        "BriefDescription": "write requests to home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.WRITES",
@@ -248,7 +248,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "write requests to local home agent. Derived from unc_h_requests.writes_local",
        "BriefDescription": "write requests to local home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.WRITES_LOCAL",
@@ -257,7 +257,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "write requests to remote home agent. Derived from unc_h_requests.writes_remote",
        "BriefDescription": "write requests to remote home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.WRITES_REMOTE",
@@ -266,7 +266,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "Conflict requests (requests for same address from multiple agents simultaneously). Derived from unc_h_snoop_resp.rspcnflct",
        "BriefDescription": "Conflict requests (requests for same address from multiple agents simultaneously)",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPCNFLCT",
@@ -275,7 +275,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "M line forwarded from remote cache along with writeback to memory. Derived from unc_h_snoop_resp.rsp_fwd_wb",
        "BriefDescription": "M line forwarded from remote cache along with writeback to memory",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSP_FWD_WB",
@@ -285,7 +285,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "M line forwarded from remote cache with no writeback to memory. Derived from unc_h_snoop_resp.rspifwd",
        "BriefDescription": "M line forwarded from remote cache with no writeback to memory",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPIFWD",
@@ -295,7 +295,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "Shared line response from remote cache. Derived from unc_h_snoop_resp.rsps",
        "BriefDescription": "Shared line response from remote cache",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPS",
@@ -305,7 +305,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "Shared line forwarded from remote cache. Derived from unc_h_snoop_resp.rspsfwd",
        "BriefDescription": "Shared line forwarded from remote cache",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPSFWD",
+11 −15
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
        "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd",
        "Counter": "0,1,2,3",
        "EventCode": "0x4",
        "EventName": "UNC_M_CAS_COUNT.RD",
        "EventName": "LLC_MISSES.MEM_READ",
        "PerPkg": "1",
        "ScaleUnit": "64Bytes",
        "UMask": "0x3",
@@ -13,48 +13,44 @@
        "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr",
        "Counter": "0,1,2,3",
        "EventCode": "0x4",
        "EventName": "UNC_M_CAS_COUNT.WR",
        "EventName": "LLC_MISSES.MEM_WRITE",
        "PerPkg": "1",
        "ScaleUnit": "64Bytes",
        "UMask": "0xC",
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Memory controller clock ticks. Derived from unc_m_clockticks",
        "Counter": "0,1,2,3",
        "EventName": "UNC_M_CLOCKTICKS",
        "PerPkg": "1",
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Cycles where DRAM ranks are in power down (CKE) mode. Derived from unc_m_power_channel_ppd",
        "BriefDescription": "Cycles where DRAM ranks are in power down (CKE) mode",
        "Counter": "0,1,2,3",
        "EventCode": "0x85",
        "EventName": "UNC_M_POWER_CHANNEL_PPD",
        "MetricExpr": "(UNC_M_POWER_CHANNEL_PPD / UNC_M_CLOCKTICKS) * 100.",
        "MetricName": "power_channel_ppd %",
        "PerPkg": "1",
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Cycles all ranks are in critical thermal throttle. Derived from unc_m_power_critical_throttle_cycles",
        "BriefDescription": "Cycles all ranks are in critical thermal throttle",
        "Counter": "0,1,2,3",
        "EventCode": "0x86",
        "EventName": "UNC_M_POWER_CRITICAL_THROTTLE_CYCLES",
        "MetricExpr": "(UNC_M_POWER_CRITICAL_THROTTLE_CYCLES / UNC_M_CLOCKTICKS) * 100.",
        "MetricName": "power_critical_throttle_cycles %",
        "PerPkg": "1",
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Cycles Memory is in self refresh power mode. Derived from unc_m_power_self_refresh",
        "BriefDescription": "Cycles Memory is in self refresh power mode",
        "Counter": "0,1,2,3",
        "EventCode": "0x43",
        "EventName": "UNC_M_POWER_SELF_REFRESH",
        "MetricExpr": "(UNC_M_POWER_SELF_REFRESH / UNC_M_CLOCKTICKS) * 100.",
        "MetricName": "power_self_refresh %",
        "PerPkg": "1",
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Pre-charges due to page misses. Derived from unc_m_pre_count.page_miss",
        "BriefDescription": "Pre-charges due to page misses",
        "Counter": "0,1,2,3",
        "EventCode": "0x2",
        "EventName": "UNC_M_PRE_COUNT.PAGE_MISS",
@@ -63,7 +59,7 @@
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Pre-charge for reads. Derived from unc_m_pre_count.rd",
        "BriefDescription": "Pre-charge for reads",
        "Counter": "0,1,2,3",
        "EventCode": "0x2",
        "EventName": "UNC_M_PRE_COUNT.RD",
@@ -72,7 +68,7 @@
        "Unit": "iMC"
    },
    {
        "BriefDescription": "Pre-charge for writes. Derived from unc_m_pre_count.wr",
        "BriefDescription": "Pre-charge for writes",
        "Counter": "0,1,2,3",
        "EventCode": "0x2",
        "EventName": "UNC_M_PRE_COUNT.WR",
+17 −9
Original line number Diff line number Diff line
[
    {
        "BriefDescription": "PCU clock ticks. Use to get percentages of PCU cycles events. Derived from unc_p_clockticks",
        "BriefDescription": "PCU clock ticks. Use to get percentages of PCU cycles events",
        "Counter": "0,1,2,3",
        "EventName": "UNC_P_CLOCKTICKS",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "C0 and C1. Derived from unc_p_power_state_occupancy.cores_c0",
        "BriefDescription": "This is an occupancy event that tracks the number of cores that are in C0.  It can be used by itself to get the average number of cores in C0, with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details",
        "Counter": "0,1,2,3",
        "EventCode": "0x80",
        "EventName": "UNC_P_POWER_STATE_OCCUPANCY.CORES_C0",
        "Filter": "occ_sel=1",
        "MetricExpr": "(UNC_P_POWER_STATE_OCCUPANCY.CORES_C0 / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "power_state_occupancy.cores_c0 %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "C3. Derived from unc_p_power_state_occupancy.cores_c3",
        "BriefDescription": "This is an occupancy event that tracks the number of cores that are in C3.  It can be used by itself to get the average number of cores in C0, with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details",
        "Counter": "0,1,2,3",
        "EventCode": "0x80",
        "EventName": "UNC_P_POWER_STATE_OCCUPANCY.CORES_C3",
        "Filter": "occ_sel=2",
        "MetricExpr": "(UNC_P_POWER_STATE_OCCUPANCY.CORES_C3 / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "power_state_occupancy.cores_c3 %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "C6 and C7. Derived from unc_p_power_state_occupancy.cores_c6",
        "BriefDescription": "This is an occupancy event that tracks the number of cores that are in C6.  It can be used by itself to get the average number of cores in C0, with threshholding to generate histograms, or with other PCU events ",
        "Counter": "0,1,2,3",
        "EventCode": "0x80",
        "EventName": "UNC_P_POWER_STATE_OCCUPANCY.CORES_C6",
        "Filter": "occ_sel=3",
        "MetricExpr": "(UNC_P_POWER_STATE_OCCUPANCY.CORES_C6 / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "power_state_occupancy.cores_c6 %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "External Prochot. Derived from unc_p_prochot_external_cycles",
        "BriefDescription": "Counts the number of cycles that we are in external PROCHOT mode.  This mode is triggered when a sensor off the die determines that something off-die (like DRAM) is too hot and must throttle to avoid damaging the chip",
        "Counter": "0,1,2,3",
        "EventCode": "0xA",
        "EventName": "UNC_P_PROCHOT_EXTERNAL_CYCLES",
        "MetricExpr": "(UNC_P_PROCHOT_EXTERNAL_CYCLES / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "prochot_external_cycles %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "Thermal Strongest Upper Limit Cycles. Derived from unc_p_freq_max_limit_thermal_cycles",
        "BriefDescription": "Counts the number of cycles when temperature is the upper limit on frequency",
        "Counter": "0,1,2,3",
        "EventCode": "0x4",
        "EventName": "UNC_P_FREQ_MAX_LIMIT_THERMAL_CYCLES",
        "MetricExpr": "(UNC_P_FREQ_MAX_LIMIT_THERMAL_CYCLES / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "freq_max_limit_thermal_cycles %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "OS Strongest Upper Limit Cycles. Derived from unc_p_freq_max_os_cycles",
        "BriefDescription": "Counts the number of cycles when the OS is the upper limit on frequency",
        "Counter": "0,1,2,3",
        "EventCode": "0x6",
        "EventName": "UNC_P_FREQ_MAX_OS_CYCLES",
        "MetricExpr": "(UNC_P_FREQ_MAX_OS_CYCLES / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "freq_max_os_cycles %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "Power Strongest Upper Limit Cycles. Derived from unc_p_freq_max_power_cycles",
        "BriefDescription": "Counts the number of cycles when power is the upper limit on frequency",
        "Counter": "0,1,2,3",
        "EventCode": "0x5",
        "EventName": "UNC_P_FREQ_MAX_POWER_CYCLES",
        "MetricExpr": "(UNC_P_FREQ_MAX_POWER_CYCLES / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "freq_max_power_cycles %",
        "PerPkg": "1",
        "Unit": "PCU"
    },
    {
        "BriefDescription": "Cycles spent changing Frequency. Derived from unc_p_freq_trans_cycles",
        "BriefDescription": "Counts the number of cycles when current is the upper limit on frequency",
        "Counter": "0,1,2,3",
        "EventCode": "0x74",
        "EventName": "UNC_P_FREQ_TRANS_CYCLES",
        "MetricExpr": "(UNC_P_FREQ_TRANS_CYCLES / UNC_P_CLOCKTICKS) * 100.",
        "MetricName": "freq_trans_cycles %",
        "PerPkg": "1",
        "Unit": "PCU"
    }
+14 −14
Original line number Diff line number Diff line
[
    {
        "BriefDescription": "Uncore cache clock ticks. Derived from unc_c_clockticks",
        "BriefDescription": "Uncore cache clock ticks",
        "Counter": "0,1,2,3",
        "EventName": "UNC_C_CLOCKTICKS",
        "PerPkg": "1",
        "Unit": "CBO"
    },
    {
        "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch). Derived from unc_c_llc_lookup.any",
        "BriefDescription": "All LLC Misses (code+ data rd + data wr - including demand and prefetch)",
        "Counter": "0,1,2,3",
        "EventCode": "0x34",
        "EventName": "UNC_C_LLC_LOOKUP.ANY",
@@ -18,7 +18,7 @@
        "Unit": "CBO"
    },
    {
        "BriefDescription": "M line evictions from LLC (writebacks to memory). Derived from unc_c_llc_victims.m_state",
        "BriefDescription": "M line evictions from LLC (writebacks to memory)",
        "Counter": "0,1,2,3",
        "EventCode": "0x37",
        "EventName": "UNC_C_LLC_VICTIMS.M_STATE",
@@ -212,7 +212,7 @@
        "Unit": "CBO"
    },
    {
        "BriefDescription": "read requests to home agent. Derived from unc_h_requests.reads",
        "BriefDescription": "read requests to home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.READS",
@@ -221,7 +221,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "read requests to local home agent. Derived from unc_h_requests.reads_local",
        "BriefDescription": "read requests to local home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.READS_LOCAL",
@@ -230,7 +230,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "read requests to remote home agent. Derived from unc_h_requests.reads_remote",
        "BriefDescription": "read requests to remote home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.READS_REMOTE",
@@ -239,7 +239,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "write requests to home agent. Derived from unc_h_requests.writes",
        "BriefDescription": "write requests to home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.WRITES",
@@ -248,7 +248,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "write requests to local home agent. Derived from unc_h_requests.writes_local",
        "BriefDescription": "write requests to local home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.WRITES_LOCAL",
@@ -257,7 +257,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "write requests to remote home agent. Derived from unc_h_requests.writes_remote",
        "BriefDescription": "write requests to remote home agent",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_H_REQUESTS.WRITES_REMOTE",
@@ -266,7 +266,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "Conflict requests (requests for same address from multiple agents simultaneously). Derived from unc_h_snoop_resp.rspcnflct",
        "BriefDescription": "Conflict requests (requests for same address from multiple agents simultaneously)",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPCNFLCT",
@@ -275,7 +275,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "M line forwarded from remote cache along with writeback to memory. Derived from unc_h_snoop_resp.rsp_fwd_wb",
        "BriefDescription": "M line forwarded from remote cache along with writeback to memory",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSP_FWD_WB",
@@ -285,7 +285,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "M line forwarded from remote cache with no writeback to memory. Derived from unc_h_snoop_resp.rspifwd",
        "BriefDescription": "M line forwarded from remote cache with no writeback to memory",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPIFWD",
@@ -295,7 +295,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "Shared line response from remote cache. Derived from unc_h_snoop_resp.rsps",
        "BriefDescription": "Shared line response from remote cache",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPS",
@@ -305,7 +305,7 @@
        "Unit": "HA"
    },
    {
        "BriefDescription": "Shared line forwarded from remote cache. Derived from unc_h_snoop_resp.rspsfwd",
        "BriefDescription": "Shared line forwarded from remote cache",
        "Counter": "0,1,2,3",
        "EventCode": "0x21",
        "EventName": "UNC_H_SNOOP_RESP.RSPSFWD",
+3 −3
Original line number Diff line number Diff line
[
    {
        "BriefDescription": "QPI clock ticks. Derived from unc_q_clockticks",
        "BriefDescription": "QPI clock ticks",
        "Counter": "0,1,2,3",
        "EventCode": "0x14",
        "EventName": "UNC_Q_CLOCKTICKS",
@@ -10,7 +10,7 @@
    {
        "BriefDescription": "Number of data flits transmitted . Derived from unc_q_txl_flits_g0.data",
        "Counter": "0,1,2,3",
        "EventName": "UNC_Q_TxL_FLITS_G0.DATA",
        "EventName": "QPI_DATA_BANDWIDTH_TX",
        "PerPkg": "1",
        "ScaleUnit": "8Bytes",
        "UMask": "0x2",
@@ -19,7 +19,7 @@
    {
        "BriefDescription": "Number of non data (control) flits transmitted . Derived from unc_q_txl_flits_g0.non_data",
        "Counter": "0,1,2,3",
        "EventName": "UNC_Q_TxL_FLITS_G0.NON_DATA",
        "EventName": "QPI_CTL_BANDWIDTH_TX",
        "PerPkg": "1",
        "ScaleUnit": "8Bytes",
        "UMask": "0x4",
Loading