linux/tools/perf/pmu-events/arch/x86/jaketown/uncore-io.json

[
    {
        "BriefDescription": "Number of uclks in domain",
        "Counter": "0,1,2,3",
        "EventCode": "0x1",
        "EventName": "UNC_R2_CLOCKTICKS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of uclks in the R2PCIe uclk domain.  This could be slightly different than the count in the Ubox because of enable/freeze delays.  However, because the R2PCIe is close to the Ubox, they generally should not diverge by more than a handful of cycles.",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Credit Acquired; DRS",
        "Counter": "0,1",
        "EventCode": "0x33",
        "EventName": "UNC_R2_IIO_CREDITS_ACQUIRED.DRS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sending transactions into the IIO on either NCB or NCS are in use.  Transactions from the BL ring going into the IIO Agent must first acquire a credit.  These credits are for either the NCB or NCS message classes.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Credit Acquired; NCB",
        "Counter": "0,1",
        "EventCode": "0x33",
        "EventName": "UNC_R2_IIO_CREDITS_ACQUIRED.NCB",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sending transactions into the IIO on either NCB or NCS are in use.  Transactions from the BL ring going into the IIO Agent must first acquire a credit.  These credits are for either the NCB or NCS message classes.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x10",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Credit Acquired; NCS",
        "Counter": "0,1",
        "EventCode": "0x33",
        "EventName": "UNC_R2_IIO_CREDITS_ACQUIRED.NCS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of credits that are acquired in the R2PCIe agent for sending transactions into the IIO on either NCB or NCS are in use.  Transactions from the BL ring going into the IIO Agent must first acquire a credit.  These credits are for either the NCB or NCS message classes.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x20",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Failed to Acquire a Credit; DRS",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_R2_IIO_CREDITS_REJECT.DRS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times that a request pending in the BL Ingress attempted to acquire either a NCB or NCS credit to transmit into the IIO, but was rejected because no credits were available.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Failed to Acquire a Credit; NCB",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_R2_IIO_CREDITS_REJECT.NCB",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times that a request pending in the BL Ingress attempted to acquire either a NCB or NCS credit to transmit into the IIO, but was rejected because no credits were available.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x10",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Failed to Acquire a Credit; NCS",
        "Counter": "0,1",
        "EventCode": "0x34",
        "EventName": "UNC_R2_IIO_CREDITS_REJECT.NCS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times that a request pending in the BL Ingress attempted to acquire either a NCB or NCS credit to transmit into the IIO, but was rejected because no credits were available.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x20",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Credits in Use; DRS",
        "Counter": "0,1",
        "EventCode": "0x32",
        "EventName": "UNC_R2_IIO_CREDITS_USED.DRS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when one or more credits in the R2PCIe agent for sending transactions into the IIO on either NCB or NCS are in use.  Transactions from the BL ring going into the IIO Agent must first acquire a credit.  These credits are for either the NCB or NCS message classes.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Credits in Use; NCB",
        "Counter": "0,1",
        "EventCode": "0x32",
        "EventName": "UNC_R2_IIO_CREDITS_USED.NCB",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when one or more credits in the R2PCIe agent for sending transactions into the IIO on either NCB or NCS are in use.  Transactions from the BL ring going into the IIO Agent must first acquire a credit.  These credits are for either the NCB or NCS message classes.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x10",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2PCIe IIO Credits in Use; NCS",
        "Counter": "0,1",
        "EventCode": "0x32",
        "EventName": "UNC_R2_IIO_CREDITS_USED.NCS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when one or more credits in the R2PCIe agent for sending transactions into the IIO on either NCB or NCS are in use.  Transactions from the BL ring going into the IIO Agent must first acquire a credit.  These credits are for either the NCB or NCS message classes.  NCB, or non-coherent bypass messages are used to transmit data without coherency (and are common).  NCS is used for reads to PCIe (and should be used sparingly).",
        "UMask": "0x20",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AD Ring in Use; Counterclockwise and Even",
        "Counter": "0,1,2,3",
        "EventCode": "0x7",
        "EventName": "UNC_R2_RING_AD_USED.CCW_EVEN",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x4",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AD Ring in Use; Counterclockwise and Odd",
        "Counter": "0,1,2,3",
        "EventCode": "0x7",
        "EventName": "UNC_R2_RING_AD_USED.CCW_ODD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AD Ring in Use; Clockwise and Even",
        "Counter": "0,1,2,3",
        "EventCode": "0x7",
        "EventName": "UNC_R2_RING_AD_USED.CW_EVEN",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x1",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AD Ring in Use; Clockwise and Odd",
        "Counter": "0,1,2,3",
        "EventCode": "0x7",
        "EventName": "UNC_R2_RING_AD_USED.CW_ODD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AD ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x2",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AK Ring in Use; Counterclockwise and Even",
        "Counter": "0,1,2,3",
        "EventCode": "0x8",
        "EventName": "UNC_R2_RING_AK_USED.CCW_EVEN",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AK ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x4",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AK Ring in Use; Counterclockwise and Odd",
        "Counter": "0,1,2,3",
        "EventCode": "0x8",
        "EventName": "UNC_R2_RING_AK_USED.CCW_ODD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AK ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AK Ring in Use; Clockwise and Even",
        "Counter": "0,1,2,3",
        "EventCode": "0x8",
        "EventName": "UNC_R2_RING_AK_USED.CW_EVEN",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AK ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x1",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 AK Ring in Use; Clockwise and Odd",
        "Counter": "0,1,2,3",
        "EventCode": "0x8",
        "EventName": "UNC_R2_RING_AK_USED.CW_ODD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the AK ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x2",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 BL Ring in Use; Counterclockwise and Even",
        "Counter": "0,1,2,3",
        "EventCode": "0x9",
        "EventName": "UNC_R2_RING_BL_USED.CCW_EVEN",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the BL ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x4",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 BL Ring in Use; Counterclockwise and Odd",
        "Counter": "0,1,2,3",
        "EventCode": "0x9",
        "EventName": "UNC_R2_RING_BL_USED.CCW_ODD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the BL ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 BL Ring in Use; Clockwise and Even",
        "Counter": "0,1,2,3",
        "EventCode": "0x9",
        "EventName": "UNC_R2_RING_BL_USED.CW_EVEN",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the BL ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x1",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 BL Ring in Use; Clockwise and Odd",
        "Counter": "0,1,2,3",
        "EventCode": "0x9",
        "EventName": "UNC_R2_RING_BL_USED.CW_ODD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the BL ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sent from the ring stop.",
        "UMask": "0x2",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "R2 IV Ring in Use; Any",
        "Counter": "0,1,2,3",
        "EventCode": "0xa",
        "EventName": "UNC_R2_RING_IV_USED.ANY",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles that the IV ring is being used at this ring stop.  This includes when packets are passing by and when packets are being sunk, but does not include when packets are being sunk into the ring stop.  The IV ring is unidirectional.  Whether UP or DN is used is dependent on the system programming.  Thereofore, one should generally set both the UP and DN bits for a given polarity (or both) at a given time.",
        "UMask": "0xf",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "AK Ingress Bounced",
        "Counter": "0",
        "EventCode": "0x12",
        "EventName": "UNC_R2_RxR_AK_BOUNCES",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times when a request destined for the AK ingress bounced.",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Ingress Cycles Not Empty; DRS",
        "Counter": "0,1",
        "EventCode": "0x10",
        "EventName": "UNC_R2_RxR_CYCLES_NE.DRS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty.  This tracks one of the three rings that are used by the R2PCIe agent.  This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue occupancy.  Multiple ingress buffers can be tracked at a given time using multiple counters.",
        "UMask": "0x8",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Ingress Cycles Not Empty; NCB",
        "Counter": "0,1",
        "EventCode": "0x10",
        "EventName": "UNC_R2_RxR_CYCLES_NE.NCB",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty.  This tracks one of the three rings that are used by the R2PCIe agent.  This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue occupancy.  Multiple ingress buffers can be tracked at a given time using multiple counters.",
        "UMask": "0x10",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Ingress Cycles Not Empty; NCS",
        "Counter": "0,1",
        "EventCode": "0x10",
        "EventName": "UNC_R2_RxR_CYCLES_NE.NCS",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Ingress is not empty.  This tracks one of the three rings that are used by the R2PCIe agent.  This can be used in conjunction with the R2PCIe Ingress Occupancy Accumulator event in order to calculate average queue occupancy.  Multiple ingress buffers can be tracked at a given time using multiple counters.",
        "UMask": "0x20",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress Cycles Full; AD",
        "Counter": "0",
        "EventCode": "0x25",
        "EventName": "UNC_R2_TxR_CYCLES_FULL.AD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
        "UMask": "0x1",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress Cycles Full; AK",
        "Counter": "0",
        "EventCode": "0x25",
        "EventName": "UNC_R2_TxR_CYCLES_FULL.AK",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
        "UMask": "0x2",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress Cycles Full; BL",
        "Counter": "0",
        "EventCode": "0x25",
        "EventName": "UNC_R2_TxR_CYCLES_FULL.BL",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Egress buffer is full.",
        "UMask": "0x4",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress Cycles Not Empty; AD",
        "Counter": "0",
        "EventCode": "0x23",
        "EventName": "UNC_R2_TxR_CYCLES_NE.AD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Egress is not empty.  This tracks one of the three rings that are used by the R2PCIe agent.  This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy.  Only a single Egress queue can be tracked at any given time.  It is not possible to filter based on direction or polarity.",
        "UMask": "0x1",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress Cycles Not Empty; AK",
        "Counter": "0",
        "EventCode": "0x23",
        "EventName": "UNC_R2_TxR_CYCLES_NE.AK",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Egress is not empty.  This tracks one of the three rings that are used by the R2PCIe agent.  This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy.  Only a single Egress queue can be tracked at any given time.  It is not possible to filter based on direction or polarity.",
        "UMask": "0x2",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress Cycles Not Empty; BL",
        "Counter": "0",
        "EventCode": "0x23",
        "EventName": "UNC_R2_TxR_CYCLES_NE.BL",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of cycles when the R2PCIe Egress is not empty.  This tracks one of the three rings that are used by the R2PCIe agent.  This can be used in conjunction with the R2PCIe Egress Occupancy Accumulator event in order to calculate average queue occupancy.  Only a single Egress queue can be tracked at any given time.  It is not possible to filter based on direction or polarity.",
        "UMask": "0x4",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress NACK; AD",
        "Counter": "0,1",
        "EventCode": "0x26",
        "EventName": "UNC_R2_TxR_NACKS.AD",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times that the Egress received a NACK from the ring and could not issue a transaction.",
        "UMask": "0x1",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress NACK; AK",
        "Counter": "0,1",
        "EventCode": "0x26",
        "EventName": "UNC_R2_TxR_NACKS.AK",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times that the Egress received a NACK from the ring and could not issue a transaction.",
        "UMask": "0x2",
        "Unit": "R2PCIe"
    },
    {
        "BriefDescription": "Egress NACK; BL",
        "Counter": "0,1",
        "EventCode": "0x26",
        "EventName": "UNC_R2_TxR_NACKS.BL",
        "PerPkg": "1",
        "PublicDescription": "Counts the number of times that the Egress received a NACK from the ring and could not issue a transaction.",
        "UMask": "0x4",
        "Unit": "R2PCIe"
    }
]