x86::perfcnt::intel::counters::IVYTOWN_UNCORE [] [src]

pub const IVYTOWN_UNCORE: Map<&'static str, IntelPerformanceCounterDescription> = ::phf::Map{key: 1897749892740154578,
           disps:
               ::phf::Slice::Static(&[(1, 85), (0, 0), (0, 559), (0, 0),
                                      (0, 16), (0, 1), (0, 134), (0, 12),
                                      (0, 757), (0, 11), (0, 388), (0, 79),
                                      (0, 0), (0, 14), (0, 0), (0, 352),
                                      (0, 14), (0, 99), (0, 450), (0, 138),
                                      (0, 131), (0, 203), (0, 736), (0, 442),
                                      (0, 191), (0, 13), (0, 71), (0, 181),
                                      (0, 62), (1, 21), (0, 179), (0, 171),
                                      (0, 3), (0, 30), (0, 0), (0, 369),
                                      (1, 593), (0, 427), (0, 150), (0, 2),
                                      (0, 20), (1, 250), (0, 291), (0, 825),
                                      (0, 1), (0, 599), (0, 10), (0, 198),
                                      (3, 250), (0, 60), (0, 42), (0, 91),
                                      (0, 21), (0, 14), (0, 10), (0, 66),
                                      (0, 911), (0, 0), (0, 795), (0, 17),
                                      (0, 57), (0, 1063), (0, 5), (0, 0),
                                      (1, 96), (0, 3), (0, 2), (0, 1), (0, 5),
                                      (0, 2), (0, 24), (0, 0), (0, 60),
                                      (1, 753), (0, 66), (0, 3), (0, 75),
                                      (0, 1), (1, 150), (0, 153), (0, 90),
                                      (0, 140), (0, 846), (0, 7), (0, 82),
                                      (0, 7), (0, 36), (0, 106), (0, 403),
                                      (0, 5), (0, 111), (0, 5), (0, 1),
                                      (0, 0), (0, 209), (0, 700), (0, 17),
                                      (0, 2), (1, 638), (0, 55), (1, 913),
                                      (0, 74), (0, 0), (0, 497), (1, 623),
                                      (0, 0), (1, 687), (0, 6), (0, 667),
                                      (0, 25), (1, 265), (0, 135), (0, 629),
                                      (1, 773), (0, 9), (0, 54), (0, 576),
                                      (0, 496), (0, 0), (0, 179), (0, 369),
                                      (0, 437), (0, 0), (0, 12), (0, 677),
                                      (0, 367), (4, 1022), (0, 46), (0, 79),
                                      (1, 270), (0, 252), (0, 57), (0, 111),
                                      (1, 467), (1, 506), (0, 52), (0, 0),
                                      (2, 656), (0, 38), (2, 1021), (0, 73),
                                      (0, 272), (0, 1), (0, 38), (0, 24),
                                      (0, 12), (3, 595), (3, 209), (0, 378),
                                      (0, 920), (0, 715), (0, 145), (0, 574),
                                      (0, 12), (4, 598), (0, 573), (0, 1),
                                      (1, 89), (4, 692), (0, 0), (0, 146),
                                      (0, 6), (0, 23), (8, 308), (0, 61),
                                      (0, 119), (3, 124), (6, 461), (0, 0),
                                      (0, 16), (0, 444), (0, 158), (0, 2),
                                      (0, 192), (1, 9), (0, 824), (0, 85),
                                      (10, 572), (0, 1033), (13, 349), (0, 1),
                                      (0, 230), (0, 11), (0, 44), (0, 15),
                                      (1, 747), (0, 912), (0, 0), (3, 544),
                                      (0, 1), (0, 389), (0, 507), (8, 821),
                                      (0, 456), (0, 5), (0, 7), (0, 5),
                                      (1, 72), (3, 177), (0, 0), (3, 889),
                                      (0, 0), (6, 244), (0, 13), (0, 129),
                                      (1, 461), (0, 0), (0, 3), (7, 526),
                                      (36, 926), (3, 28), (2, 762), (0, 49),
                                      (22, 309), (7, 418)]),
           entries:
               ::phf::Slice::Static(&[("UNC_C_RxR_IPQ_RETRY.FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_IPQ_RETRY.FULL",
                                                                          brief_description:
                                                                              "Probe Queue Retries; No Egress Credits",
                                                                          public_description:
                                                                              Some("Number of times a snoop (probe) request had to retry.  Filters exist to cover some of the common cases retries.; Counts the number of times that a request form the IPQ was retried because of a TOR reject from the Egress being full.  IPQ requests make use of the AD Egress for regular responses, the BL egress to forward data, and the AK egress to return credits."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_REQUESTS.INVITOE_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.INVITOE_REMOTE",
                                                                          brief_description:
                                                                              "Read and Write Requests; Remote InvItoEs",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; This filter includes only InvItoEs coming from remote sockets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_EXT_STARVED.PRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RxR_EXT_STARVED.PRQ",
                                                                          brief_description:
                                                                              "Ingress Arbiter Blocking Cycles: ISMQ",
                                                                          public_description:
                                                                              Some("Counts cycles in external starvation.  This occurs when one of the ingress queues is being starved by the other queues. IRQ is blocking the ingress queue and causing the starvation."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE14",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(70),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE14",
                                                                          brief_description:
                                                                              "Core 14 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB.REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(83),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_OSB.REMOTE",
                                                                          brief_description:
                                                                              "OSB Snoop Broadcast; Remote",
                                                                          public_description:
                                                                              Some("Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_CYCLES_FULL.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_CYCLES_FULL.ALL",
                                                                          brief_description:
                                                                              "AD Egress Full; All",
                                                                          public_description:
                                                                              Some("AD Egress Full; Cycles full from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_REQUESTS.WRITES_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.WRITES_REMOTE",
                                                                          brief_description:
                                                                              "Read and Write Requests; Remote Writes",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; This filter includes only writes coming from remote sockets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN3",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Regular; Channel 3",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 3 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VNA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VNA",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VNA"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_NO_CREDIT_CYCLES.BL_QPI0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_IGR_NO_CREDIT_CYCLES.BL_QPI0",
                                                                          brief_description:
                                                                              "Cycles without QPI Ingress Credits; BL to QPI Link 0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent.  This can be filtered by the different credit pools and the different links."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_CYCLES_NE.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_CYCLES_NE.ALL",
                                                                          brief_description:
                                                                              "AK Egress Not Empty; All",
                                                                          public_description:
                                                                              Some("AK Egress Not Empty; Cycles full from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.NCB.AnyMsg11flits",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCB.AnyMsg11flits",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN0",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Special; Channel 0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 0 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_OCCUPANCY.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RxR_OCCUPANCY.HOM",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; HOM",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given QPI Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the QPI Ingress Not Empty event to calculate average occupancy or the QPI Ingress Allocations event in order to calculate average queuing latency.; HOM Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_VNA_CREDIT_RETURN_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_VNA_CREDIT_RETURN_OCCUPANCY",
                                                                          brief_description:
                                                                              "VNA Credits Pending Return - Occupancy",
                                                                          public_description:
                                                                              Some("Number of VNA credits in the Rx side that are waitng to be returned back across the link."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_TOR_INSERTS.NID_ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(72),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.NID_ALL",
                                                                          brief_description:
                                                                              "TOR Inserts; NID Matched",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All NID matched (matches an RTID destination) transactions inserted into the TOR.  The NID is programmed in Cn_MSR_PMON_BOX_FILTER.nid.  In conjunction with STATE = I, it is possible to monitor misses to specific NIDs in the system."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IPQ_RETRY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_IPQ_RETRY.ANY",
                                                                          brief_description:
                                                                              "Probe Queue Retries; Any Reject",
                                                                          public_description:
                                                                              Some("Number of times a snoop (probe) request had to retry.  Filters exist to cover some of the common cases retries.; Counts the number of times that a request form the IPQ was retried because of a TOR reject.  TOR rejects from the IPQ can be caused by the Egress being full or Address Conflicts."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_CYCLES_NE.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_CYCLES_NE.SCHED1",
                                                                          brief_description:
                                                                              "AD Egress Not Empty; Scheduler 1",
                                                                          public_description:
                                                                              Some("AD Egress Not Empty; Filter for cycles not empty from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G1.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.SNP",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; SNP Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of snoop request flits transmitted over QPI.  These requests are contained in the snoop channel.  This does not include snoop responses, which are transmitted on the home channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_REQUESTS.READS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.READS",
                                                                          brief_description:
                                                                              "Read and Write Requests; Reads",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; Incoming ead requests.  This is a good proxy for LLC Read Misses (including RFOs)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_VR_HOT_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_VR_HOT_CYCLES",
                                                                          brief_description:
                                                                              "VR Hot",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_MIN_PERF_P_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(98),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_MIN_PERF_P_CYCLES",
                                                                          brief_description:
                                                                              "Perf P Limit Strongest Lower Limit Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when Perf P Limit is preventing us from dropping the frequency lower.  Perf P Limit is an algorithm that takes input from remote sockets when determining if a socket should drop it\'s frequency down.  This is largely to minimize increases in snoop and remote read latencies."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO1",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 1"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_NCS.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_NCS.VN1",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - NCS; for VN1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors NCS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_TxR_CYCLES_NE.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_TxR_CYCLES_NE.AK",
                                                                          brief_description:
                                                                              "Egress Cycles Not Empty; AK",
                                                                          public_description:
                                                                              Some("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.; AK Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_ACK_PENDING_OCCUPANCY.SOURCE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_CACHE_ACK_PENDING_OCCUPANCY.SOURCE",
                                                                          brief_description:
                                                                              "Write Ack Pending Occupancy; Select Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of writes that have acquired ownership but have not yet returned their data to the uncore.  These writes are generally queued up in the switch trying to get to the head of their queues so that they can post their data.  The queue occuapancy increments when the ACK is received, and decrements when either the data is returned OR a tickle is received and ownership is released.  Note that a single tickle can result in multiple decrements.; Tracks all requests from any source port."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN0.BGF_NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.BGF_NCB",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; BGF Stall - SNP",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet from the SNP message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_MESSAGE.NCB.AnyMsg9flits",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCB.AnyMsg9flits",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_BL_NCS_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCS_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - NCS; for VN1",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_FLITS_G2.NCB_NONDATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G2.NCB_NONDATA",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 2; Non-Coherent non-data Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of Non-Coherent Bypass non-data flits.  These packets are generally used to transmit non-coherent data across QPI, and the flits counted here are for headers and other non-data flits.  This includes extended headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_TOR_OCCUPANCY.NID_MISS_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(67),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.NID_MISS_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; NID and Opcode Matched Miss",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding Miss requests in the TOR that match a NID and an opcode."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20], CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NCS.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NCS.VN0",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NCS; for VN0",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NCS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_BYP_CMDS.ACT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(161),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_BYP_CMDS.ACT",
                                                                          brief_description:
                                                                              "ACT command issued by 2 cycle bypass",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G2.NDR_AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G2.NDR_AK",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 2; Non-Data Response Tx Flits - AK",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of flits transmitted over the NDR (Non-Data Response) channel.  This channel is used to send a variety of protocol flits including grants and completions.  This is only for NDR packets destined for Route-thru to a remote socket."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AK_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.CCW",
                                                                          brief_description:
                                                                              "AK Ring In Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_DRS_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_DRS_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - DRS; for VN0",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN1.BGF_DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(58),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN1.BGF_DRS",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN1; BGF Stall - HOM",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 1.; Stalled a packet from the HOM message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN1.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN1.NCS",
                                                                          brief_description:
                                                                              "VN1 Credit Consumed; NCS",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN1 credit for the NCS message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_INSERTS_NDR.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(14),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NDR.VN0",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NDR; for VN0",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NDR flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_RING_BL_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN0.BGF_NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.BGF_NCS",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; BGF Stall - NDR",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet from the NDR message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_U_EVENT_MSG.INT_PRIO",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_U_EVENT_MSG.INT_PRIO",
                                                                          brief_description:
                                                                              "VLW Received",
                                                                          public_description:
                                                                              Some("Virtual Logical Wire (legacy) message were received from Uncore.   Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_E_FrcAckCnflt",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_E_FrcAckCnflt",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RING_IV_USED.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(255),
                                                                          event_name:
                                                                              "UNC_R3_RING_IV_USED.ANY",
                                                                          brief_description:
                                                                              "R2 IV Ring in Use; Any",
                                                                          public_description:
                                                                              Some("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 sent, 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.; Filters any polarity"),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_SNP_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(39),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_SNP_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - SNP; for VN0",
                                                                          public_description:
                                                                              Some("Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle.  Flow Control FIFO for Snoop messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_STALLS_VN1.BGF_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(58),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN1.BGF_NDR",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN1; BGF Stall - NCS",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 1.; Stalled a packet from the NCS message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.ANY",
                                                                          brief_description:
                                                                              "Directory Lookups: Any state",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE2",
                                                                          brief_description:
                                                                              "Core 2 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CW",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_LLC_VICTIMS.NID",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_C_LLC_VICTIMS.NID",
                                                                          brief_description:
                                                                              "Lines Victimized; Victimized Lines that Match NID",
                                                                          public_description:
                                                                              Some("Counts the number of lines that were victimized on a fill.  This can be filtered by the state that the line was in.; Qualify one of the other subevents by the Target NID.  The NID is programmed in Cn_MSR_PMON_BOX_FILTER.nid.   In conjunction with STATE = I, it is possible to monitor misses to specific NIDs in the system."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_DRS.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(15),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_DRS.VN1",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - DRS; for VN1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors DRS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_BL_USED.DOWN_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.DOWN_VR0_EVEN",
                                                                          brief_description:
                                                                              "BL Ring in Use; Down and Even on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_NACK_CCW.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_TxR_NACK_CCW.BL",
                                                                          brief_description:
                                                                              "Egress CCW NACK; BL CCW",
                                                                          public_description:
                                                                              Some("BL CounterClockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.UP_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.UP_VR0_EVEN",
                                                                          brief_description:
                                                                              "AK Ring In Use; Up and Even on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN0.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN0.NCS",
                                                                          brief_description:
                                                                              "VN0 Credit Consumed; NCS",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN0 credit for the NCS message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_TxR_AD_INSERTS.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(39),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_INSERTS.ALL",
                                                                          brief_description:
                                                                              "AD Egress Allocations; All",
                                                                          public_description:
                                                                              Some("AD Egress Allocations; Allocations from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CW_VR1_ODD",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Clockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.ANY",
                                                                          brief_description:
                                                                              "Directory Updates; Any Directory Update",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.EVICTION",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.EVICTION",
                                                                          brief_description:
                                                                              "TOR Occupancy; Evictions",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding eviction transactions in the TOR.  Evictions can be quick, such as when the line is in the F, S, or E states and no core valid bits are set.  They can also be longer if either CV bits are set (so the cores need to be snooped) and/or if there is a HitM (in which case it is necessary to write the request out to memory)."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.ALL",
                                                                          brief_description:
                                                                              "TOR Occupancy; Any",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); All valid TOR entries.  This includes requests that reside in the TOR for a short time, such as LLC Hits that do not need to snoop cores or requests that get rejected and have to be retried through one of the ingress queues.  The TOR is more commonly a bottleneck in skews with smaller core counts, where the ratio of RTIDs to TOR entries is larger.  Note that there are reserved TOR entries for various request types, so it is possible that a given request type be blocked with an occupancy that is less than 20.  Also note that generally requests will not be able to arbitrate into the TOR pipeline if there are no available TOR slots."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VN1_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VN1_SNP",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VN1 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CLOCKTICKS",
                                                                          brief_description:
                                                                              "pclk Cycles",
                                                                          public_description:
                                                                              Some("The PCU runs off a fixed 800 MHz clock.  This event counts the number of pclk cycles measured while the counter was enabled.  The pclk, like the Memory Controller\'s dclk, counts at a constant rate making it a good measure of actual wall time."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK7",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN0.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN0.DRS",
                                                                          brief_description:
                                                                              "VN0 Credit Consumed; DRS",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN0 credit for the DRS message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_OSB_EDR.READS_LOCAL_S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(84),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_OSB_EDR.READS_LOCAL_S",
                                                                          brief_description:
                                                                              "OSB Early Data Return; Reads to Local S",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_U2C_EVENTS.LTERROR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.LTERROR",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; LTError",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores; Filter by core"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_MAX_OS_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_MAX_OS_CYCLES",
                                                                          brief_description:
                                                                              "OS Strongest Upper Limit Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the OS is the upper limit on frequency."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNOOP_RESP.RSPIFWD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSPIFWD",
                                                                          brief_description:
                                                                              "Snoop Responses Received; RspIFwd",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for snoop responses of RspIFwd.  This is returned when a remote caching agent forwards data and the requesting agent is able to acquire the data in E or M states.  This is commonly returned with RFO transactions.  It can be either a HitM or a HitFE."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.BL_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.BL_CORE",
                                                                          brief_description:
                                                                              "Egress Allocations; BL - Corebo",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Corebo destined for the BL ring.  This is commonly used for transfering writeback data to the cache."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IODC_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(86),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IODC_INSERTS",
                                                                          brief_description:
                                                                              "IODC Inserts",
                                                                          public_description:
                                                                              Some("IODC Allocations"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK4",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_INSERTS.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(39),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_INSERTS.SCHED0",
                                                                          brief_description:
                                                                              "AD Egress Allocations; Scheduler 0",
                                                                          public_description:
                                                                              Some("AD Egress Allocations; Filter for allocations from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IRQ_RETRY.FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_IRQ_RETRY.FULL",
                                                                          brief_description:
                                                                              "Ingress Request Queue Rejects; No Egress Credits",
                                                                          public_description:
                                                                              Some("Counts the number of times that a request from the IRQ was retried because it failed to acquire an entry in the Egress.  The egress is the buffer that queues up for allocating onto the ring.  IRQ requests can make use of all four rings and all four Egresses.  If any of the queues that a given request needs to make use of are full, the request will be retried."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL0P_POWER_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL0P_POWER_CYCLES",
                                                                          brief_description:
                                                                              "Cycles in L0p",
                                                                          public_description:
                                                                              Some("Number of QPI qfclk cycles spent in L0p power mode.  L0p is a mode where we disable 1/2 of the QPI lanes, decreasing our bandwidth in order to save power.  It increases snoop and data transfer latencies and decreases overall bandwidth.  This mode can be very useful in NUMA optimized workloads that largely only utilize QPI for snoops and their responses.  Use edge detect to count the number of instances when the QPI link entered L0p.  Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_TOTAL_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(99),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_TOTAL_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Total Core C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions across all cores."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_CYCLES_NE.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_CYCLES_NE.ALL",
                                                                          brief_description:
                                                                              "BL Egress Not Empty; All",
                                                                          public_description:
                                                                              Some("BL Egress Not Empty; Cycles full from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_PRE_COUNT.WR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_PRE_COUNT.WR",
                                                                          brief_description:
                                                                              "DRAM Precharge commands.; Precharge due to write",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Precharge commands sent on this channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB_EDR.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(84),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_OSB_EDR.ALL",
                                                                          brief_description:
                                                                              "OSB Early Data Return; All",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; Opcode Match",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Transactions inserted into the TOR that match an opcode (matched by Cn_MSR_PMON_BOX_FILTER.opc)"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE5",
                                                                          brief_description:
                                                                              "Core 5 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_REJECT.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_REJECT.HOM",
                                                                          brief_description:
                                                                              "VN1 Credit Acquisition Failed on DRS; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a VN1 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed.  This should generally be a rare situation.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_OCCUPANCY.READS_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_BT_OCCUPANCY.READS_LOCAL",
                                                                          brief_description:
                                                                              "BT Occupancy; Reads Local",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the HA BT pool in every cycle.  This can be used with the \'not empty\' stat to calculate average queue occupancy or the \'allocations\' stat in order to calculate average queue latency.  HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_INSERTS.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_RxR_INSERTS.SNP",
                                                                          brief_description:
                                                                              "Ingress Allocations; SNP",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the QPI Ingress.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; SNP Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RPQ_CYCLES_NE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_RPQ_CYCLES_NE",
                                                                          brief_description:
                                                                              "Read Pending Queue Not Empty",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the Read Pending Queue is not empty.  This can then be used to calculate the average occupancy (in conjunction with the Read Pending Queue Occupancy count).  The RPQ is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after the CAS command has been issued to memory.  This filter is to be used in conjunction with the occupancy filter so that one can correctly track the average occupancies for schedulable entries and scheduled requests."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_NDR.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_NDR.VN1",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - NDR; for VN1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors NDR flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE8_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(120),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE8_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 8 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PROCHOT_EXTERNAL_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PROCHOT_EXTERNAL_CYCLES",
                                                                          brief_description:
                                                                              "External Prochot",
                                                                          public_description:
                                                                              Some("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:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G2.NCB_DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G2.NCB_DATA",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 2; Non-Coherent data Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of Non-Coherent Bypass data flits.  These flits are generally used to transmit non-coherent data across QPI.  This does not include a count of the DRS (coherent) data flits.  This only counts the data flits, not te NCB headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_IV_USED.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(15),
                                                                          event_name:
                                                                              "UNC_C_RING_IV_USED.ANY",
                                                                          brief_description:
                                                                              "IV Ring in Use; Any",
                                                                          public_description:
                                                                              Some("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 sent from the ring stop.; Filters any polarity"),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IPQ_RETRY.QPI_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RxR_IPQ_RETRY.QPI_CREDITS",
                                                                          brief_description:
                                                                              "Probe Queue Retries; No QPI Credits",
                                                                          public_description:
                                                                              Some("Number of times a snoop (probe) request had to retry.  Filters exist to cover some of the common cases retries."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION1",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 1",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_BL_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RING_BL_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R3 BL Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_SNP",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - SNP",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only SNP flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RxR_OCCUPANCY.IPQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RxR_OCCUPANCY.IPQ",
                                                                          brief_description:
                                                                              "Ingress Occupancy; IPQ",
                                                                          public_description:
                                                                              Some("Counts number of entries in the specified Ingress queue in each cycle."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_REJECT.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_REJECT.NCB",
                                                                          brief_description:
                                                                              "VN1 Credit Acquisition Failed on DRS; NCB Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a VN1 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed.  This should generally be a rare situation.; Filter for Non-Coherent Broadcast (NCB).  NCB is generally used to transmit data without coherency.  For example, non-coherent read data returns."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE9",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE9",
                                                                          brief_description:
                                                                              "Core 9 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(14),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NDR",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NDR",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NDR flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_MAJOR_MODES.READ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_MAJOR_MODES.READ",
                                                                          brief_description:
                                                                              "Cycles in a Major Mode; Read Major Mode",
                                                                          public_description:
                                                                              Some("Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel.   Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; Read Major Mode is the default mode for the iMC, as reads are generally more critical to forward progress than writes."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN1.BGF_NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(58),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN1.BGF_NCS",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN1; BGF Stall - NDR",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 1.; Stalled a packet from the NDR message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_FLITS_G2.NDR_AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G2.NDR_AD",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 2; Non-Data Response Tx Flits - AD",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of flits transmitted over the NDR (Non-Data Response) channel.  This channel is used to send a variety of protocol flits including grants and completions.  This is only for NDR packets to the local socket which use the AK ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_VN0_CREDITS_USED.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_USED.NCS",
                                                                          brief_description:
                                                                              "VN0 Credit Used; NCS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN0 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This counts the number of times a VN0 credit was used.  Note that a single VN0 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN0 will only count a single credit even though it may use multiple buffers.; Filter for Non-Coherent Standard (NCS).  NCS is commonly used for ?"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK4",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_USED.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_USED.DRS",
                                                                          brief_description:
                                                                              "R2PCIe IIO Credits in Use; DRS",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the DRS message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_NO_CREDIT_CYCLES.AD_QPI0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_IGR_NO_CREDIT_CYCLES.AD_QPI0",
                                                                          brief_description:
                                                                              "Cycles without QPI Ingress Credits; AD to QPI Link 0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent.  This can be filtered by the different credit pools and the different links."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G1.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.SNP",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; SNP Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of snoop request flits received over QPI.  These requests are contained in the snoop channel.  This does not include snoop responses, which are received on the home channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_READ_OCCUPANCY.SOURCE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_CACHE_READ_OCCUPANCY.SOURCE",
                                                                          brief_description:
                                                                              "Outstanding Read Occupancy; Select Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of reads that are outstanding in the uncore in each cycle.  This can be used with the read transaction count to calculate the average read latency in the uncore.  The occupancy increments when a read request is issued, and decrements when the data is returned.; Tracks only those requests that come from the port specified in the IRP_PmonFilter.OrderingQ register.  This register allows one to select one specific queue.  It is not possible to monitor multiple queues at a time."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO12",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO12",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 12"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_REJECT.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_REJECT.DRS",
                                                                          brief_description:
                                                                              "VN0 Credit Acquisition Failed on DRS; DRS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a DRS VN0 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed.  This should generally be a rare situation.; Filter for Data Response (DRS).  DRS is generally used to transmit data with coherency.  For example, remote reads and writes, or cache to cache transfers will transmit their data using DRS."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_DRS.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_DRS.VN0",
                                                                          brief_description:
                                                                              "RxQ Occupancy - DRS; for VN0",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors DRS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_MESSAGE.NCB.AnyInt",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCB.AnyInt",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_MISC.WC_ALIASING",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_MISC.WC_ALIASING",
                                                                          brief_description:
                                                                              "Cbo Misc; Write Combining Aliasing",
                                                                          public_description:
                                                                              Some("Miscellaneous events in the Cbo.; Counts the number of times that a USWC write (WCIL(F)) transaction hit in the LLC in M state, triggering a WBMtoI followed by the USWC write.  This occurs when there is WC aliasing."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_REJECT.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_REJECT.DRS",
                                                                          brief_description:
                                                                              "VNA Credit Reject; DRS Message Class",
                                                                          public_description:
                                                                              Some("Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full).  It is possible to filter this event by message class.  Some packets use more than one flit buffer, and therefore must acquire multiple credits.  Therefore, one could get a reject even if the VNA credits were not fully used up.  The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress).  VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially.  This can happen if the rest of the uncore is unable to drain the requests fast enough.; Filter for Data Response (DRS).  DRS is generally used to transmit data with coherency.  For example, remote reads and writes, or cache to cache transfers will transmit their data using DRS."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_VOLT_TRANS_CYCLES_DECREASE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_VOLT_TRANS_CYCLES_DECREASE",
                                                                          brief_description:
                                                                              "Cycles Decreasing Voltage",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the system is decreasing voltage.  There is no filtering supported with this event.  One can use it as a simple event, or use it conjunction with the occupancy events to monitor the number of cores or threads that were impacted by the transition."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_USED.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_USED.DRS",
                                                                          brief_description:
                                                                              "VN1 Credit Used; DRS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN1 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This counts the number of times a VN1 credit was used.  Note that a single VN1 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN1 will only count a single credit even though it may use multiple buffers.; Filter for Data Response (DRS).  DRS is generally used to transmit data with coherency.  For example, remote reads and writes, or cache to cache transfers will transmit their data using DRS."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IRQ_RETRY.ADDR_CONFLICT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RxR_IRQ_RETRY.ADDR_CONFLICT",
                                                                          brief_description:
                                                                              "Ingress Request Queue Rejects; Address Conflict",
                                                                          public_description:
                                                                              Some("Counts the number of times that a request from the IRQ was retried because of an address match in the TOR.  In order to maintain coherency, requests to the same address are not allowed to pass each other up in the Cbo.  Therefore, if there is an outstanding request to a given address, one cannot issue another request to that address until it is complete.  This comes up most commonly with prefetches.  Outstanding prefetches occasionally will not complete their memory fetch and a demand request to the same address will then sit in the IRQ and get retried until the prefetch fills the data into the LLC.  Therefore, it will not be uncommon to see this case in high bandwidth streaming workloads when the LLC Prefetcher in the core is enabled."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.WB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.WB",
                                                                          brief_description:
                                                                              "TOR Occupancy; Writebacks",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Write transactions in the TOR.   This does not include \'RFO\', but actual operations that contain data being sent from the core."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.SET",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.SET",
                                                                          brief_description:
                                                                              "Directory Updates; Directory Set",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears.; Filter for directory sets.  This occurs when a remote read transaction requests memory, bringing it to a remote cache."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_REQUESTS.READS_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.READS_LOCAL",
                                                                          brief_description:
                                                                              "Read and Write Requests; Local Reads",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; This filter includes only read requests coming from the local socket.  This is a good proxy for LLC Read Misses (including RFOs) from the local socket."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_NACK_CCW.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_TxR_NACK_CCW.AD",
                                                                          brief_description:
                                                                              "Egress CCW NACK; AD CCW",
                                                                          public_description:
                                                                              Some("AD CounterClockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G1.REGION8",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G1.REGION8",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 1; TAD Region 8",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 8 to 10.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 8"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_HA_R2_BL_CREDITS_EMPTY.HA1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_HA_R2_BL_CREDITS_EMPTY.HA1",
                                                                          brief_description:
                                                                              "HA/R2 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to either HA or R2 on the BL Ring; HA1"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_REQUESTS.INVITOE_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.INVITOE_LOCAL",
                                                                          brief_description:
                                                                              "Read and Write Requests; Local InvItoEs",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; This filter includes only InvItoEs coming from the local socket."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AD_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RING_AD_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R3 AD Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TRANSACTIONS.WRITES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_TRANSACTIONS.WRITES",
                                                                          brief_description:
                                                                              "Inbound Transaction Count; Writes",
                                                                          public_description:
                                                                              Some("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.; Trackes only write requests.  Each write request should have a prefetch, so there is no need to explicitly track these requests.  For writes that are tickled and have to retry, the counter will be incremented for each retry."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WMM_TO_RMM.LOW_THRESH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(192),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WMM_TO_RMM.LOW_THRESH",
                                                                          brief_description:
                                                                              "Transition from WMM to RMM because of low threshold; Transition from WMM to RMM because of starve counter",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_USED.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_USED.NCS",
                                                                          brief_description:
                                                                              "R2PCIe IIO Credits in Use; NCS",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the NCS message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNOOP_RESP.RSP_WB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSP_WB",
                                                                          brief_description:
                                                                              "Snoop Responses Received; Rsp*WB",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for a snoop response of RspIWB or RspSWB.  This is returned when a non-RFO request hits in M state.  Data and Code Reads can return either RspIWB or RspSWB depending on how the system has been configured.  InvItoE transactions will also return RspIWB because they must acquire ownership."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WPQ_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_WPQ_INSERTS",
                                                                          brief_description:
                                                                              "Write Pending Queue Allocations",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the Write Pending Queue.  This can then be used to calculate the average queuing latency (in conjunction with the WPQ occupancy count).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have \'posted\' to the iMC."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_MEMORY_PHASE_SHEDDING_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_MEMORY_PHASE_SHEDDING_CYCLES",
                                                                          brief_description:
                                                                              "Memory Phase Shedding Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the PCU has triggered memory phase shedding.  This is a mode that can be run in the iMC physicals that saves power at the expense of additional latency."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_E_Cmp",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_E_Cmp",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_IV_USED.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(255),
                                                                          event_name:
                                                                              "UNC_R2_RING_IV_USED.ANY",
                                                                          brief_description:
                                                                              "R2 IV Ring in Use; Any",
                                                                          public_description:
                                                                              Some("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 sent, 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.; Filters any polarity"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK5",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CHANNEL_PPD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(133),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_POWER_CHANNEL_PPD",
                                                                          brief_description:
                                                                              "Channel PPD Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles when all the ranks in the channel are in PPD mode.  If IBT=off is enabled, then this can be used to count those cycles.  If it is not enabled, then this can count the number of cycles when that could have been taken advantage of."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_REQUESTS.WRITES_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.WRITES_LOCAL",
                                                                          brief_description:
                                                                              "Read and Write Requests; Local Writes",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; This filter includes only writes coming from the local socket."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INT_STARVED.IRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_INT_STARVED.IRQ",
                                                                          brief_description:
                                                                              "Ingress Internal Starvation Cycles; IRQ",
                                                                          public_description:
                                                                              Some("Counts cycles in internal starvation.  This occurs when one (or more) of the entries in the ingress queue are being starved out by other entries in that queue.; Cycles with the IRQ in Internal Starvation."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VN0_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VN0_SNP",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VN0 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.AnyResp11flits",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.AnyResp11flits",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_BL_USED.UP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.UP",
                                                                          brief_description:
                                                                              "BL Ring in Use; Up",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO9",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO9",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 9"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VN0_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VN0_NDR",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VN0 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.UP_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.UP_VR1_EVEN",
                                                                          brief_description:
                                                                              "AD Ring In Use; Up and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_REJECT.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_REJECT.NCB",
                                                                          brief_description:
                                                                              "VN0 Credit Acquisition Failed on DRS; NCB Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a DRS VN0 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed.  This should generally be a rare situation.; Filter for Non-Coherent Broadcast (NCB).  NCB is generally used to transmit data without coherency.  For example, non-coherent read data returns."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_U2C_EVENTS.MONITOR_T0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.MONITOR_T0",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Monitor T0",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores; Filter by core"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.MISS_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.MISS_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; Miss Opcode Match",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); TOR entries for miss transactions that match an opcode. This generally means that the request was sent to memory or MMIO."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_REJECT.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_REJECT.DRS",
                                                                          brief_description:
                                                                              "VN1 Credit Acquisition Failed on DRS; DRS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a VN1 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed.  This should generally be a rare situation.; Filter for Data Response (DRS).  DRS is generally used to transmit data with coherency.  For example, remote reads and writes, or cache to cache transfers will transmit their data using DRS."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.AnyResp",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.AnyResp",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_CYCLES_NE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxL_CYCLES_NE",
                                                                          brief_description:
                                                                              "Tx Flit Buffer Cycles not Empty",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the TxQ is not empty. Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link.  However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CCW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CCW_VR1_EVEN",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Counterclockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CW_VR1_ODD",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Clockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.NID_EVICTION",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(68),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.NID_EVICTION",
                                                                          brief_description:
                                                                              "TOR Occupancy; NID Matched Evictions",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding NID matched eviction transactions in the TOR ."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_NCS_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_NCS_INSERTS",
                                                                          brief_description:
                                                                              "BL Ingress Occupancy - NCS",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the BL Ingress.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_OCCUPANCY.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_OCCUPANCY.SCHED1",
                                                                          brief_description:
                                                                              "BL Egress Occupancy; Scheduler 1",
                                                                          public_description:
                                                                              Some("BL Egress Occupancy; Filter for occupancy from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_SNP_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_SNP_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD SNP; for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle.  Flow Control FIFO fro Snoop messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_INSERTS_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_HOM",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - HOM",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only HOM flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_BT_CYCLES_NE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_BT_CYCLES_NE",
                                                                          brief_description:
                                                                              "BT Cycles Not Empty",
                                                                          public_description:
                                                                              Some("Cycles the Backup Tracker (BT) is not empty. The BT is the actual HOM tracker in IVT."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_SNP.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_SNP.VN0",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - SNP; for VN0",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only SNP flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RING_AD_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_RING_AD_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "R3 AD Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.NCS.NcRd",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCS.NcRd",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_STALLS_VN0.EGRESS_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.EGRESS_CREDITS",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; Egress Credits",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet because there were insufficient BGF credits.  For details on a message class granularity, use the Egress Credit Occupancy events."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RING_AD_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R3_RING_AD_USED.CW",
                                                                          brief_description:
                                                                              "R3 AD Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE14",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE14",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 14",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_CAS_COUNT.RD_WMM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.RD_WMM",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; Read CAS issued in WMM",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_DRAM_REFRESH.PANIC",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_DRAM_REFRESH.PANIC",
                                                                          brief_description:
                                                                              "Number of DRAM Refreshes Issued",
                                                                          public_description:
                                                                              Some("Counts the number of refreshes issued."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CCW",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE13",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(36),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE13",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 13",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_CAS_COUNT.WR_RMM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.WR_RMM",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read Major Mode",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the total number of Opportunistic\' DRAM Write CAS commands issued on this channel while in Read-Major-Mode."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.DOWN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.DOWN",
                                                                          brief_description:
                                                                              "AK Ring In Use; Down",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_VNA_CREDIT_RETURNS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_VNA_CREDIT_RETURNS",
                                                                          brief_description:
                                                                              "VNA Credits Returned",
                                                                          public_description:
                                                                              Some("Number of VNA credits returned."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_FLITS_G1.DRS_DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.DRS_DATA",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; DRS Data Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of data flits transmitted over QPI on the DRS (Data Response) channel.  DRS flits are used to transmit data with coherency.  This does not count data flits transmitted over the NCB channel which transmits non-coherent data.  This includes only the data flits (not the header)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_POWER_CRITICAL_THROTTLE_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(134),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_POWER_CRITICAL_THROTTLE_CYCLES",
                                                                          brief_description:
                                                                              "Critical Throttle Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the iMC is in critical thermal throttling.  When this happens, all traffic is blocked.  This should be rare unless something bad is going on in the platform.  There is no filtering by rank for this event."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_NCS_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_NCS_OCCUPANCY",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the BL Ingress in each cycles.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_OCCUPANCY.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_OCCUPANCY.ALL",
                                                                          brief_description:
                                                                              "BL Egress Occupancy: All",
                                                                          public_description:
                                                                              Some("BL Egress Occupancy"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IODC_OLEN_WBMTOI",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(88),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IODC_OLEN_WBMTOI",
                                                                          brief_description:
                                                                              "Num IODC 0 Length Writes",
                                                                          public_description:
                                                                              Some("Num IODC 0 Length Writebacks M to I - All of which are dropped."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_ACK_PENDING_OCCUPANCY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_CACHE_ACK_PENDING_OCCUPANCY.ANY",
                                                                          brief_description:
                                                                              "Write Ack Pending Occupancy; Any Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of writes that have acquired ownership but have not yet returned their data to the uncore.  These writes are generally queued up in the switch trying to get to the head of their queues so that they can post their data.  The queue occuapancy increments when the ACK is received, and decrements when either the data is returned OR a tickle is received and ownership is released.  Note that a single tickle can result in multiple decrements.; Tracks only those requests that come from the port specified in the IRP_PmonFilter.OrderingQ register.  This register allows one to select one specific queue.  It is not possible to monitor multiple queues at a time."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespFwd",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespFwd",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AK_USED.UP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.UP",
                                                                          brief_description:
                                                                              "AK Ring In Use; Up",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CCW",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CCW",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_AK_BOUNCES.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_RxR_AK_BOUNCES.CCW",
                                                                          brief_description:
                                                                              "AK Ingress Bounced; Counterclockwise",
                                                                          public_description:
                                                                              Some("Counts the number of times when a request destined for the AK ingress bounced."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN1",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Special; Channel 1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 1 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE9_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(121),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE9_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 9 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G1.HOM_REQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.HOM_REQ",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; HOM Request Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of data request transmitted over QPI on the home channel.  This basically counts the number of remote memory requests transmitted over QPI.  In conjunction with the local read count in the Home Agent, one can calculate the number of LLC Misses."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_BL_NCB_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCB_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - NCB; for VN1",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCB message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_AD_NDR_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_NDR_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD NDR; for VN0",
                                                                          public_description:
                                                                              Some("Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle.  Flow Control FIFO for NDR messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AD_USED.DOWN_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.DOWN_VR1_ODD",
                                                                          brief_description:
                                                                              "AD Ring In Use; Down and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AK_NDR_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AK_NDR_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AK NDR: for VN1",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. Local NDR message class to AK Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_DEMOTIONS_CORE12",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(68),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE12",
                                                                          brief_description:
                                                                              "Core 12 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_USED.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_USED.SNP",
                                                                          brief_description:
                                                                              "VN0 Credit Used; SNP Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN0 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This counts the number of times a VN0 credit was used.  Note that a single VN0 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN0 will only count a single credit even though it may use multiple buffers.; Filter for Snoop (SNP) message class.  SNP is used for outgoing snoops.  Note that snoop responses flow on the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IRQ_RETRY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_IRQ_RETRY.ANY",
                                                                          brief_description:
                                                                              "Ingress Request Queue Rejects; Any Reject",
                                                                          public_description:
                                                                              Some("Counts the number of IRQ retries that occur.  Requests from the IRQ are retried if they are rejected from the TOR pipeline for a variety of reasons.  Some of the most common reasons include if the Egress is full, there are no RTIDs, or there is a Physical Address match to another outstanding request."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G2.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G2.NCB",
                                                                          brief_description:
                                                                              "Flits Received - Group 2; Non-Coherent Rx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of Non-Coherent Bypass flits.  These packets are generally used to transmit non-coherent data across QPI."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RING_IV_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R3_RING_IV_USED.CCW",
                                                                          brief_description:
                                                                              "R2 IV Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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 sent, 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.; Filters for Counterclockwise polarity"),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G1.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(6),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.HOM",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; HOM Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of flits received over QPI on the home channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RING_AD_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_RING_AD_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "R3 AD Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NCB",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NCB",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NCB flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_PRE_COUNT.PAGE_CLOSE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_PRE_COUNT.PAGE_CLOSE",
                                                                          brief_description:
                                                                              "DRAM Precharge commands.; Precharge due to timer expiration",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Precharge commands sent on this channel.; Counts the number of DRAM Precharge commands sent on this channel as a result of the page close counter expiring.  This does not include implicit precharge commands sent in auto-precharge mode."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CW_VR1_ODD",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Clockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_NACK_CW.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_TxR_NACK_CW.AK",
                                                                          brief_description:
                                                                              "Egress CW NACK; AK CW",
                                                                          public_description:
                                                                              Some("AK Clockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_IV_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R2_RING_IV_USED.CCW",
                                                                          brief_description:
                                                                              "R2 IV Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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 sent, 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.; Filters for Counterclockwise polarity"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.MISS_LOCAL_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(35),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.MISS_LOCAL_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; Misses to Local Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Miss transactions, satisifed by an opcode, inserted into the TOR that are satisifed by locally HOMed memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO2",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 2"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY",
                                                                          brief_description:
                                                                              "RxQ Occupancy - All Packets",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE0",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 0",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_AK_NDR_CREDIT_ACQUIRED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AK_NDR_CREDIT_ACQUIRED",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AK NDR",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. Local NDR message class to AK Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_RING_BL_USED.CW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CW_VR1_EVEN",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Clockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INT_STARVED.IPQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RxR_INT_STARVED.IPQ",
                                                                          brief_description:
                                                                              "Ingress Internal Starvation Cycles; IPQ",
                                                                          public_description:
                                                                              Some("Counts cycles in internal starvation.  This occurs when one (or more) of the entries in the ingress queue are being starved out by other entries in that queue.; Cycles with the IPQ in Internal Starvation."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.MISS_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.MISS_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; Miss Opcode Match",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Miss transactions inserted into the TOR that match an opcode."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_USED.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_USED.NDR",
                                                                          brief_description:
                                                                              "VN1 Credit Used; NDR Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN1 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This counts the number of times a VN1 credit was used.  Note that a single VN1 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN1 will only count a single credit even though it may use multiple buffers.; NDR packets are used to transmit a variety of protocol flits including grants and completions (CMP)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.IV_CACHE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.IV_CACHE",
                                                                          brief_description:
                                                                              "Egress Allocations; IV - Cachebo",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Cachebo destined for the IV ring.  This is commonly used for snoops to the cores."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_ISMQ_RETRY.IIO_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_RxR_ISMQ_RETRY.IIO_CREDITS",
                                                                          brief_description:
                                                                              "ISMQ Retries; No IIO Credits",
                                                                          public_description:
                                                                              Some("Number of times a transaction flowing through the ISMQ had to retry.  Transaction pass through the ISMQ as responses for requests that already exist in the Cbo.  Some examples include: when data is returned or when snoop responses come back from the cores.; Number of times a request attempted to acquire the NCS/NCB credit for sending messages on BL to the IIO.  There is a single credit in each CBo that is shared between the NCS and NCB message classes for sending transactions on the BL ring (such as read data) to the IIO."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_ISMQ_RETRY.FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_ISMQ_RETRY.FULL",
                                                                          brief_description:
                                                                              "ISMQ Retries; No Egress Credits",
                                                                          public_description:
                                                                              Some("Number of times a transaction flowing through the ISMQ had to retry.  Transaction pass through the ISMQ as responses for requests that already exist in the Cbo.  Some examples include: when data is returned or when snoop responses come back from the cores.; Counts the number of times that a request from the ISMQ retried because of a TOR reject caused by a lack of Egress credits. The egress is the buffer that queues up for allocating onto the ring.  If any of the Egress queues that a given request needs to make use of are full, the request will be retried."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G2.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G2.NCS",
                                                                          brief_description:
                                                                              "Flits Received - Group 2; Non-Coherent standard Rx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of NCS (non-coherent standard) flits received over QPI.    This includes extended headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_SRC_THRTL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_C_RING_SRC_THRTL",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE10_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(122),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE10_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 10 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_INSERTS.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_INSERTS.ALL",
                                                                          brief_description:
                                                                              "AK Egress Allocations; All",
                                                                          public_description:
                                                                              Some("AK Egress Allocations; Allocations from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_HOM_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_HOM_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD HOM; for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle.  Flow Control FIFO for HOM messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_RING_AK_USED.CW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CW_VR1_ODD",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Clockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G1.DRS_NONDATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.DRS_NONDATA",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; DRS Header Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of protocol flits transmitted over QPI on the DRS (Data Response) channel.  DRS flits are used to transmit data with coherency.  This does not count data flits transmitted over the NCB channel which transmits non-coherent data.  This includes only the header flits (not the data).  This includes extended headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_ADDR_OPC_MATCH.ADDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_ADDR_OPC_MATCH.ADDR",
                                                                          brief_description:
                                                                              "QPI Address/Opcode Match; Address",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              Some("HA_AddrMatch0[31:6], HA_AddrMatch1[13:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_PCU_THROTTLING",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_POWER_PCU_THROTTLING",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN1.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN1.SNP",
                                                                          brief_description:
                                                                              "VN1 Credit Consumed; SNP",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN1 credit for the SNP message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_VOLT_TRANS_CYCLES_INCREASE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_VOLT_TRANS_CYCLES_INCREASE",
                                                                          brief_description:
                                                                              "Cycles Increasing Voltage",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the system is increasing voltage.  There is no filtering supported with this event.  One can use it as a simple event, or use it conjunction with the occupancy events to monitor the number of cores or threads that were impacted by the transition."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_ACQUIRED.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_ACQUIRED.AD",
                                                                          brief_description:
                                                                              "VNA credit Acquisitions; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of QPI VNA Credit acquisitions.  This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average lifetime of a credit holder.  VNA credits are used by all message classes in order to communicate across QPI.  If a packet is unable to acquire credits, it will then attempt to use credts from the VN0 pool.  Note that a single packet may require multiple flit buffers (i.e. when data is being transfered).  Therefore, this event will increment by the number of credits acquired in each cycle.  Filtering based on message class is not provided.  One can count the number of packets transfered in a given message class using an qfclk event.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_USED.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_USED.NCS",
                                                                          brief_description:
                                                                              "VN1 Credit Used; NCS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN1 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This counts the number of times a VN1 credit was used.  Note that a single VN1 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN1 will only count a single credit even though it may use multiple buffers.; Filter for Non-Coherent Standard (NCS).  NCS is commonly used for ?"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IMC_WRITES.FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_IMC_WRITES.FULL",
                                                                          brief_description:
                                                                              "HA to iMC Full Line Writes Issued; Full Line Non-ISOCH",
                                                                          public_description:
                                                                              Some("Counts the total number of full line writes issued from the HA into the memory controller.  This counts for all four channels.  It can be filtered by full/partial and ISOCH/non-ISOCH."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_CYCLES_NE.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_CYCLES_NE.SCHED0",
                                                                          brief_description:
                                                                              "BL Egress Not Empty; Scheduler 0",
                                                                          public_description:
                                                                              Some("BL Egress Not Empty; Filter for cycles not empty  from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_BYP_CMDS.PRE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(161),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_BYP_CMDS.PRE",
                                                                          brief_description:
                                                                              "PRE command issued by 2 cycle bypass",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CRC_ERRORS.LINK_INIT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CRC_ERRORS.LINK_INIT",
                                                                          brief_description:
                                                                              "CRC Errors Detected; LinkInit",
                                                                          public_description:
                                                                              Some("Number of CRC errors detected in the QPI Agent.  Each QPI flit incorporates 8 bits of CRC for error detection.  This counts the number of flits where the CRC was able to detect an error.  After an error has been detected, the QPI agent will send a request to the transmitting socket to resend the flit (as well as any flits that came after it).; CRC errors detected during link initialization."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VN1_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VN1_SNP",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VN1 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.SNOOP_A",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.SNOOP_A",
                                                                          brief_description:
                                                                              "Directory Lookups: Snoop A",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_NCB_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCB_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - NCB; for VN0",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCB message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_TxR_CYCLES_FULL.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_TxR_CYCLES_FULL.AD",
                                                                          brief_description:
                                                                              "Egress Cycles Full; AD",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the R2PCIe Egress buffer is full.; AD Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WPQ_CYCLES_FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_WPQ_CYCLES_FULL",
                                                                          brief_description:
                                                                              "Write Pending Queue Full Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the Write Pending Queue is full.  When the WPQ is full, the HA will not be able to issue any additional read requests into the iMC.  This count should be similar count in the HA which tracks the number of cycles that the HA has no WPQ credits, just somewhat smaller to account for the credit return overhead."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION5",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 5",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 5"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_CYCLES_FULL.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_CYCLES_FULL.SCHED0",
                                                                          brief_description:
                                                                              "AD Egress Full; Scheduler 0",
                                                                          public_description:
                                                                              Some("AD Egress Full; Filter for cycles full  from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_BL_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_RING_BL_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "R3 BL Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CCW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CCW_VR1_EVEN",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Counterclockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_REJECT.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_REJECT.DRS",
                                                                          brief_description:
                                                                              "R2PCIe IIO Failed to Acquire a Credit; DRS",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the DRS message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.UP_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.UP_VR0_ODD",
                                                                          brief_description:
                                                                              "BL Ring in Use; Up and Odd on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_CYCLES_NE.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_CYCLES_NE.SCHED1",
                                                                          brief_description:
                                                                              "AK Egress Not Empty; Scheduler 1",
                                                                          public_description:
                                                                              Some("AK Egress Not Empty; Filter for cycles not empty from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_U2C_EVENTS.UMC",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.UMC",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Uncorrectable Machine Check",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE10",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE10",
                                                                          brief_description:
                                                                              "Core 10 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_TxR_NACK_CCW.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_TxR_NACK_CCW.AD",
                                                                          brief_description:
                                                                              "Egress NACK; AK CCW",
                                                                          public_description:
                                                                              Some("BL CounterClockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VN1_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VN1_SNP",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VN1 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNOOP_RESP.RSP_FWD_WB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSP_FWD_WB",
                                                                          brief_description:
                                                                              "Snoop Responses Received; Rsp*Fwd*WB",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for a snoop response of Rsp*Fwd*WB.  This snoop response is only used in 4s systems.  It is used when a snoop HITM\'s in a remote caching agent and it directly forwards data to a requestor, and simultaneously returns data to the home to be written back to memory."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO13",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO13",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 13"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.NID_WB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(80),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.NID_WB",
                                                                          brief_description:
                                                                              "TOR Occupancy; NID Matched Writebacks",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); NID matched write transactions int the TOR."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IODC_CONFLICTS.REMOTE_OTHER_SAME_ADDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(87),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_IODC_CONFLICTS.REMOTE_OTHER_SAME_ADDR",
                                                                          brief_description:
                                                                              "IODC Conflicts: Remote (Other) - Same Addr",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CW",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_SNP.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_SNP.VN1",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - SNP; for VN1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors SNP flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.REMOTE_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(129),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.REMOTE_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; Remote Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All transactions, satisifed by an opcode,  inserted into the TOR that are satisifed by remote caches or remote memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK.CRD_CBO",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(14),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK.CRD_CBO",
                                                                          brief_description:
                                                                              "Outbound Ring Transactions on AK: CRD Transactions to Cbo",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_ACT_COUNT.WR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_ACT_COUNT.WR",
                                                                          brief_description:
                                                                              "DRAM Activate Count; Activate due to Write",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Activate commands sent on this channel.  Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS.  One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.MISS_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(138),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.MISS_REMOTE",
                                                                          brief_description:
                                                                              "TOR Inserts; Misses to Remote Memory",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Miss transactions inserted into the TOR that are satisifed by remote caches or remote memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IMC_WRITES.PARTIAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_IMC_WRITES.PARTIAL",
                                                                          brief_description:
                                                                              "HA to iMC Full Line Writes Issued; Partial Non-ISOCH",
                                                                          public_description:
                                                                              Some("Counts the total number of full line writes issued from the HA into the memory controller.  This counts for all four channels.  It can be filtered by full/partial and ISOCH/non-ISOCH."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WRONG_MM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(193),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_WRONG_MM",
                                                                          brief_description:
                                                                              "Not getting the requested Major Mode",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_DRS_CREDIT_ACQUIRED.VN_SHR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_DRS_CREDIT_ACQUIRED.VN_SHR",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - DRS; for Shared VN",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_DIRECTORY_UPDATE.S2A",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.S2A",
                                                                          brief_description:
                                                                              "Directory Updates: S2A",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.WR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.WR",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (both Modes)",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the total number of DRAM Write CAS commands issued on this channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_HOM.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_HOM.VN1",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - HOM; for VN1",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only HOM flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G1.REGION10",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G1.REGION10",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 1; TAD Region 10",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 8 to 10.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 10"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxL_OCCUPANCY",
                                                                          brief_description:
                                                                              "Tx Flit Buffer Occupancy",
                                                                          public_description:
                                                                              Some("Accumulates the number of flits in the TxQ.  Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link.  However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link. This can be used with the cycles not empty event to track average occupancy, or the allocations event to track average lifetime in the TxQ."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TxR_DATA_INSERTS_NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(15),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_TxR_DATA_INSERTS_NCS",
                                                                          brief_description:
                                                                              "Outbound Read Requests",
                                                                          public_description:
                                                                              Some("Counts the number of requests issued to the switch (towards the devices)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PROCHOT_INTERNAL_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PROCHOT_INTERNAL_CYCLES",
                                                                          brief_description:
                                                                              "Internal Prochot",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that we are in Interal PROCHOT mode.  This mode is triggered when a sensor on the die determines that we are too hot and must throttle to avoid damaging the chip."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO11",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO11",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 11"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_MISC.RFO_HIT_S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_MISC.RFO_HIT_S",
                                                                          brief_description:
                                                                              "Cbo Misc; RFO HitS",
                                                                          public_description:
                                                                              Some("Miscellaneous events in the Cbo.; Number of times that an RFO hit in S state.  This is useful for determining if it might be good for a workload to use RspIWB instead of RspSWB."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_NO_CREDIT_CYCLES.AD_QPI1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_IGR_NO_CREDIT_CYCLES.AD_QPI1",
                                                                          brief_description:
                                                                              "Cycles without QPI Ingress Credits; AD to QPI Link 1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent.  This can be filtered by the different credit pools and the different links."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION4",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 4",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 4"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G2.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G2.NCB",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 2; Non-Coherent Bypass Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of Non-Coherent Bypass flits.  These packets are generally used to transmit non-coherent data across QPI."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_STALLS_VN0.BGF_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.BGF_SNP",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; BGF Stall - NCB",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet from the NCB message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_MESSAGE.DRS.WbIData",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.WbIData",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_REQUESTS.READS_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.READS_REMOTE",
                                                                          brief_description:
                                                                              "Read and Write Requests; Remote Reads",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; This filter includes only read requests coming from the remote socket.  This is a good proxy for LLC Read Misses (including RFOs) from the remote socket."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G0.NON_DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G0.NON_DATA",
                                                                          brief_description:
                                                                              "Flits Received - Group 0; Non-Data protocol Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  It includes filters for Idle, protocol, and Data Flits.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.; Number of non-NULL non-data flits received across QPI.  This basically tracks the protocol overhead on the QPI link.  One can get a good picture of the QPI-link characteristics by evaluating the protocol flits, data flits, and idle/null flits.  This includes the header flits for data packets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.RD_RMM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.RD_RMM",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; Read CAS issued in RMM",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NDR.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NDR.VN0",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NDR; for VN0",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NDR flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_HOM_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_HOM_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - HOM; for VN0",
                                                                          public_description:
                                                                              Some("Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Home messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE9",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE9",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 9",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_RxR_AK_BOUNCES.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_RxR_AK_BOUNCES.CW",
                                                                          brief_description:
                                                                              "AK Ingress Bounced; Clockwise",
                                                                          public_description:
                                                                              Some("Counts the number of times when a request destined for the AK ingress bounced."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VN1_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VN1_NDR",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VN1 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.DOWN_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.DOWN_VR1_ODD",
                                                                          brief_description:
                                                                              "BL Ring in Use; Down and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.IV_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.IV_CORE",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.: Snoops of processor\'s cache.",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_NCB.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_NCB.VN0",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - NCB; for VN0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors NCB flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.AD_IRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.AD_IRQ",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.RD_REG",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.RD_REG",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; All DRAM RD_CAS (w/ and w/out auto-pre)",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the total number or DRAM Read CAS commands issued on this channel.  This includes both regular RD CAS commands as well as those with implicit Precharge.  AutoPre is only used in systems that are using closed page policy.  We do not filter based on major mode, as RD_CAS is not issued during WMM (with the exception of underfills)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_OCCUPANCY.LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_BT_OCCUPANCY.LOCAL",
                                                                          brief_description:
                                                                              "BT Occupancy; Local",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the HA BT pool in every cycle.  This can be used with the \'not empty\' stat to calculate average queue occupancy or the \'allocations\' stat in order to calculate average queue latency.  HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_BYPASSED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxL_BYPASSED",
                                                                          brief_description:
                                                                              "Tx Flit Buffer Bypassed",
                                                                          public_description:
                                                                              Some("Counts the number of times that an incoming flit was able to bypass the Tx flit buffer and pass directly out the QPI Link. Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link.  However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDIT_CYCLES_OUT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDIT_CYCLES_OUT",
                                                                          brief_description:
                                                                              "Cycles with no VNA credits available",
                                                                          public_description:
                                                                              Some("Number of QPI uclk cycles when the transmitted has no VNA credits available and therefore cannot send any requests on this channel.  Note that this does not mean that no flits can be transmitted, as those holding VN0 credits will still (potentially) be able to transmit.  Generally it is the goal of the uncore that VNA credits should not run out, as this can substantially throttle back useful QPI bandwidth."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CW_VR1_ODD",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Clockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_FILTER_MATCH.DISABLE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_U_FILTER_MATCH.DISABLE",
                                                                          brief_description:
                                                                              "Filter Match",
                                                                          public_description:
                                                                              Some("Filter match per thread (w/ or w/o Filter Enable).  Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_OCCUPANCY.VFIFO",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RxR_OCCUPANCY.VFIFO",
                                                                          brief_description:
                                                                              "Ingress Occupancy; VFIFO",
                                                                          public_description:
                                                                              Some("Counts number of entries in the specified Ingress queue in each cycle.; Accumulates the number of used entries in the IRQ Ordering FIFO in each cycle.  In JKT, it is necessary to keep IO requests in order.  Therefore, they are allocated into an ordering FIFO that sits next to the IRQ, and must be satisfied from the FIFO in order (with respect to each other).  This event, in conjunction with the Allocations event, can be used to calculate average lifetime in the FIFO.  This event can be used in conjunction with the Not Empty event to calculate average queue occupancy. Transactions are allocated into the FIFO as soon as they enter the Cachebo (and the IRQ) and are deallocated from the FIFO as soon as they are deallocated from the IRQ."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_SINK_STARVED.AD_IRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RING_SINK_STARVED.AD_IRQ",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE4",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 4",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_U_U2C_EVENTS.MONITOR_T1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.MONITOR_T1",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Monitor T1",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores; Filter by core"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_CYCLES_FULL.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_CYCLES_FULL.SCHED0",
                                                                          brief_description:
                                                                              "BL Egress Full; Scheduler 0",
                                                                          public_description:
                                                                              Some("BL Egress Full; Filter for cycles full  from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPI",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPI",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; RspI",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for snoops responses of RspI.  RspI is returned when the remote cache does not have the data, or when the remote cache silently evicts data (such as when an RFO hits non-modified data)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CHANNEL_DLLOFF",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(132),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_POWER_CHANNEL_DLLOFF",
                                                                          brief_description:
                                                                              "Channel DLLOFF Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles when all the ranks in the channel are in CKE Slow (DLLOFF) mode."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE1",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 1",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AK_USED.DOWN_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.DOWN_VR1_EVEN",
                                                                          brief_description:
                                                                              "AK Ring In Use; Down and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AK_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_RING_AK_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "R3 AK Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.A2S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.A2S",
                                                                          brief_description:
                                                                              "Directory Updates: A2S",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NCS",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NCS",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NCS flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RxR_OCCUPANCY.IRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_OCCUPANCY.IRQ",
                                                                          brief_description:
                                                                              "Ingress Occupancy; IRQ",
                                                                          public_description:
                                                                              Some("Counts number of entries in the specified Ingress queue in each cycle."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN0",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Regular; Channel 0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 0 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CW",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_CLOCKTICKS",
                                                                          brief_description:
                                                                              "Number of qfclks",
                                                                          public_description:
                                                                              Some("Counts the number of clocks in the QPI LL.  This clock runs at 1/8th the \'GT/s\' speed of the QPI link.  For example, a 8GT/s link will have qfclk or 1GHz.  JKT does not support dynamic link speeds, so this frequency is fixed."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_NCB_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCB_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL NCB; for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  NCB message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_MAJOR_MODES.PARTIAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_MAJOR_MODES.PARTIAL",
                                                                          brief_description:
                                                                              "Cycles in a Major Mode; Partial Major Mode",
                                                                          public_description:
                                                                              Some("Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel.   Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This major mode is used to drain starved underfill reads.  Regular reads and writes are blocked and only underfill reads will be processed."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_QLRU.AGE1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(60),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_QLRU.AGE1",
                                                                          brief_description:
                                                                              "LRU Queue; LRU Age 1",
                                                                          public_description:
                                                                              Some("How often age was set to 1"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_HOM.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_HOM.VN1",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - HOM; for VN1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors HOM flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_RING_AK_USED.CCW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CCW_VR1_ODD",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Counterclockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_OCCUPANCY.READS_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_BT_OCCUPANCY.READS_REMOTE",
                                                                          brief_description:
                                                                              "BT Occupancy; Reads Remote",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the HA BT pool in every cycle.  This can be used with the \'not empty\' stat to calculate average queue occupancy or the \'allocations\' stat in order to calculate average queue latency.  HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_HA_R2_BL_CREDITS_EMPTY.HA0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_HA_R2_BL_CREDITS_EMPTY.HA0",
                                                                          brief_description:
                                                                              "HA/R2 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to either HA or R2 on the BL Ring; HA0"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_TRANS_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_TRANS_CYCLES",
                                                                          brief_description:
                                                                              "Cycles spent changing Frequency",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the system is changing frequency.  This can not be filtered by thread ID.  One can also use it with the occupancy counter that monitors number of threads in C0 to estimate the performance impact that frequency transitions had on the system."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G1.HOM_NONREQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.HOM_NONREQ",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; HOM Non-Request Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of non-request flits received over QPI on the home channel.  These are most commonly snoop responses, and this event can be used as a proxy for that."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_CYCLES_NE_NDR.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_NDR.VN0",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - NDR; for VN0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors NDR flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AD_USED.DOWN_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.DOWN_VR0_EVEN",
                                                                          brief_description:
                                                                              "AD Ring In Use; Down and Even on Vring 0",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R3_CLOCKTICKS",
                                                                          brief_description:
                                                                              "Number of uclks in domain",
                                                                          public_description:
                                                                              Some("Counts the number of uclks in the QPI uclk domain.  This could be slightly different than the count in the Ubox because of enable/freeze delays.  However, because the QPI Agent is close to the Ubox, they generally should not diverge by more than a handful of cycles."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_SNP.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_SNP.VN1",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - SNP; for VN1",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only SNP flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_PRE_COUNT.BYP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_PRE_COUNT.BYP",
                                                                          brief_description:
                                                                              "DRAM Precharge commands.; Precharge due to bypass",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Precharge commands sent on this channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_HOM.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_HOM.VN0",
                                                                          brief_description:
                                                                              "RxQ Occupancy - HOM; for VN0",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors HOM flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VN1_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VN1_HOM",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VN1 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_REJECT.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_REJECT.NDR",
                                                                          brief_description:
                                                                              "VN0 Credit Acquisition Failed on DRS; NDR Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a DRS VN0 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed.  This should generally be a rare situation.; NDR packets are used to transmit a variety of protocol flits including grants and completions (CMP)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_CREDITS_RBT_MISS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_CREDITS_RBT_MISS",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Miss, Invalid",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because the RBT tag did not match, the valid bit was not set and there weren\'t enough Egress credits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_CREDITS_BL_QPI2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(90),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IGR_CREDITS_BL_QPI2",
                                                                          brief_description:
                                                                              "BL QPI Link 2 Credit Accumulator",
                                                                          public_description:
                                                                              Some("Accumulates the number of credits available to the QPI Link 2 BL Ingress buffer."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TxR_DATA_INSERTS_NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(14),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_TxR_DATA_INSERTS_NCB",
                                                                          brief_description:
                                                                              "Outbound Read Requests",
                                                                          public_description:
                                                                              Some("Counts the number of requests issued to the switch (towards the devices)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_HOM.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_HOM.VN1",
                                                                          brief_description:
                                                                              "RxQ Occupancy - HOM; for VN1",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors HOM flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_FLITS_G2.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G2.NCS",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 2; Non-Coherent standard Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of NCS (non-coherent standard) flits transmitted over QPI.    This includes extended headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_ADDR_OPC_MATCH.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_ADDR_OPC_MATCH.BL",
                                                                          brief_description:
                                                                              "QPI Address/Opcode Match; BL Opcodes",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              Some("HA_OpcodeMatch[5:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_NCS.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_NCS.VN0",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - NCS; for VN0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors NCS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_VNA_CREDITS_REJECT.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_REJECT.NCB",
                                                                          brief_description:
                                                                              "VNA Credit Reject; NCB Message Class",
                                                                          public_description:
                                                                              Some("Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full).  It is possible to filter this event by message class.  Some packets use more than one flit buffer, and therefore must acquire multiple credits.  Therefore, one could get a reject even if the VNA credits were not fully used up.  The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress).  VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially.  This can happen if the rest of the uncore is unable to drain the requests fast enough.; Filter for Non-Coherent Broadcast (NCB).  NCB is generally used to transmit data without coherency.  For example, non-coherent read data returns."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_TO_HT_NOT_ISSUED.RSPACKCFLT_HAZARD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(81),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_BT_TO_HT_NOT_ISSUED.RSPACKCFLT_HAZARD",
                                                                          brief_description:
                                                                              "BT to HT Not Issued; Incoming Data Hazard",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not issue transaction from BT to HT.; Cycles unable to issue from BT due to incoming BL data hazard"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_MISS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_MISS",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - RBT Miss",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because the RBT tag did not match although the valid bit was set and there were enough Egress credits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IMC_WRITES.FULL_ISOCH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_IMC_WRITES.FULL_ISOCH",
                                                                          brief_description:
                                                                              "HA to iMC Full Line Writes Issued; ISOCH Full Line",
                                                                          public_description:
                                                                              Some("Counts the total number of full line writes issued from the HA into the memory controller.  This counts for all four channels.  It can be filtered by full/partial and ISOCH/non-ISOCH."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_SNP_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(39),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_SNP_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - SNP; for VN1",
                                                                          public_description:
                                                                              Some("Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle.  Flow Control FIFO for Snoop messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_FLITS_G1.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(24),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.DRS",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; DRS Flits (both Header and Data)",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of flits transmitted over QPI on the DRS (Data Response) channel.  DRS flits are used to transmit data with coherency."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_I_TRANSACTIONS.RD_PREFETCHES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_I_TRANSACTIONS.RD_PREFETCHES",
                                                                          brief_description:
                                                                              "Inbound Transaction Count; Read Prefetches",
                                                                          public_description:
                                                                              Some("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.; Tracks the number of read prefetches."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_USED.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_USED.HOM",
                                                                          brief_description:
                                                                              "VN1 Credit Used; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN1 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This counts the number of times a VN1 credit was used.  Note that a single VN1 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN1 will only count a single credit even though it may use multiple buffers.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB.READS_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(83),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_OSB.READS_LOCAL",
                                                                          brief_description:
                                                                              "OSB Snoop Broadcast; Local Reads",
                                                                          public_description:
                                                                              Some("Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE2_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(114),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE2_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 2 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECT2CORE_CYCLES_DISABLED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_DIRECT2CORE_CYCLES_DISABLED",
                                                                          brief_description:
                                                                              "Cycles when Direct2Core was Disabled",
                                                                          public_description:
                                                                              Some("Number of cycles in which Direct2Core was disabled"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PKG_C_EXIT_LATENCY_SEL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PKG_C_EXIT_LATENCY_SEL",
                                                                          brief_description:
                                                                              "Package C State Exit Latency",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the package is transitioning from package C2 to C3."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_CONFLICT_CYCLES.LAST",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_CONFLICT_CYCLES.LAST",
                                                                          brief_description:
                                                                              "Conflict Checks; Last in conflict chain",
                                                                          public_description:
                                                                              Some("Count every last conflictor in conflict chain. Can be used to compute the average conflict chain length as (#Ackcnflts/#LastConflictor)+1. This can be used to give a feel for the conflict chain lenghts while analyzing lock kernels."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AK_NDR_CREDIT_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AK_NDR_CREDIT_OCCUPANCY",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AK NDR",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  Local NDR message class to AK Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_OCCUPANCY_DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_DRS",
                                                                          brief_description:
                                                                              "RxQ Occupancy - DRS",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors DRS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_POWER_STATE_OCCUPANCY.CORES_C0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(128),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_P_POWER_STATE_OCCUPANCY.CORES_C0",
                                                                          brief_description:
                                                                              "Number of cores in C-State; C0 and C1",
                                                                          public_description:
                                                                              Some("This is an occupancy event that tracks the number of cores that are in the chosen C-State.  It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G1.HOM_REQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.HOM_REQ",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; HOM Request Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of data request received over QPI on the home channel.  This basically counts the number of remote memory requests received over QPI.  In conjunction with the local read count in the Home Agent, one can calculate the number of LLC Misses."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN0.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN0.HOM",
                                                                          brief_description:
                                                                              "VN0 Credit Consumed; HOM",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN0 credit for the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_AK_NDR_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AK_NDR_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AK NDR: for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  Local NDR message class to AK Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPxWB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPxWB",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; Rsp*WB",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for a snoop response of RspIWB or RspSWB.  This is returned when a non-RFO request hits in M state.  Data and Code Reads can return either RspIWB or RspSWB depending on how the system has been configured.  InvItoE transactions will also return RspIWB because they must acquire ownership."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_U_CLOCKTICKS",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_HA_R2_BL_CREDITS_EMPTY.R2_NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_HA_R2_BL_CREDITS_EMPTY.R2_NCS",
                                                                          brief_description:
                                                                              "HA/R2 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to either HA or R2 on the BL Ring; R2 NCS Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TxR_AD_STALL_CREDIT_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_TxR_AD_STALL_CREDIT_CYCLES",
                                                                          brief_description:
                                                                              "No AD Egress Credit Stalls",
                                                                          public_description:
                                                                              Some("Counts the number times when it is not possible to issue a request to the R2PCIe because there are no AD Egress Credits available."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CCW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CCW_VR1_ODD",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Counterclockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_HOM.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_HOM.VN0",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - HOM; for VN0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors HOM flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WPQ_WRITE_HIT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(36),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_WPQ_WRITE_HIT",
                                                                          brief_description:
                                                                              "Write Pending Queue CAM Match",
                                                                          public_description:
                                                                              Some("Counts the number of times a request hits in the WPQ (write-pending queue).  The iMC allows writes and reads to pass up other writes to different addresses.  Before a read or a write is issued, it will first CAM the WPQ to see if there is a write pending to that address.  When reads hit, they are able to directly pull their data from the WPQ instead of going to memory.  Writes that hit will overwrite the existing data.  Partial writes that hit will not need to do underfill reads and will simply update their relevant sections."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INT_STARVED.ISMQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RxR_INT_STARVED.ISMQ",
                                                                          brief_description:
                                                                              "Ingress Internal Starvation Cycles; ISMQ",
                                                                          public_description:
                                                                              Some("Counts cycles in internal starvation.  This occurs when one (or more) of the entries in the ingress queue are being starved out by other entries in that queue.; Cycles with the ISMQ in Internal Starvation."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.DOWN_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.DOWN_VR0_EVEN",
                                                                          brief_description:
                                                                              "AK Ring In Use; Down and Even on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.CCW",
                                                                          brief_description:
                                                                              "AD Ring In Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_ACT_COUNT.BYP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_ACT_COUNT.BYP",
                                                                          brief_description:
                                                                              "DRAM Activate Count; Activate due to Write",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Activate commands sent on this channel.  Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS.  One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_OCCUPANCY.REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_BT_OCCUPANCY.REMOTE",
                                                                          brief_description:
                                                                              "BT Occupancy; Remote",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the HA BT pool in every cycle.  This can be used with the \'not empty\' stat to calculate average queue occupancy or the \'allocations\' stat in order to calculate average queue latency.  HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE6_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(118),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE6_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 6 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_REJECT.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_REJECT.NDR",
                                                                          brief_description:
                                                                              "VN1 Credit Acquisition Failed on DRS; NDR Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a VN1 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed.  This should generally be a rare situation.; NDR packets are used to transmit a variety of protocol flits including grants and completions (CMP)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_CYCLES_FULL.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_TxR_CYCLES_FULL.AK",
                                                                          brief_description:
                                                                              "Egress Cycles Full; AK",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the R2PCIe Egress buffer is full.; AK Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_PRIO.PANIC",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(160),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_PRIO.PANIC",
                                                                          brief_description:
                                                                              "Read CAS issued with PANIC NON ISOCH priority (starved)",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_OCCUPANCY.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(48),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_OCCUPANCY.SCHED1",
                                                                          brief_description:
                                                                              "AK Egress Occupancy; Scheduler 1",
                                                                          public_description:
                                                                              Some("AK Egress Occupancy; Filter for occupancy from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_CYCLES_FULL.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_CYCLES_FULL.SCHED1",
                                                                          brief_description:
                                                                              "AK Egress Full; Scheduler 1",
                                                                          public_description:
                                                                              Some("AK Egress Full; Filter for cycles full  from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_SNP.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_SNP.VN1",
                                                                          brief_description:
                                                                              "RxQ Occupancy - SNP; for VN1",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors SNP flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_CORE12_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(124),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE12_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 12 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PKG_C_STATE_RESIDENCY_C2_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PKG_C_STATE_RESIDENCY_C2_CYCLES",
                                                                          brief_description:
                                                                              "Package C State Residency - C2",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the package is in C2"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RxR_IPQ_RETRY.ADDR_CONFLICT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RxR_IPQ_RETRY.ADDR_CONFLICT",
                                                                          brief_description:
                                                                              "Probe Queue Retries; Address Conflict",
                                                                          public_description:
                                                                              Some("Number of times a snoop (probe) request had to retry.  Filters exist to cover some of the common cases retries.; Counts the number of times that a request form the IPQ was retried because of a TOR reject from an address conflicts.  Address conflicts out of the IPQ should be rare.  They will generally only occur if two different sockets are sending requests to the same address at the same time.  This is a true \'conflict\' case, unlike the IPQ Address Conflict which is commonly caused by prefetching characteristics."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE1_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(113),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE1_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 1 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_SINK_STARVED.AD_IPQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RING_SINK_STARVED.AD_IPQ",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.RD_UNDERFILL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.RD_UNDERFILL",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; Underfill Read Issued",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the number of underfill reads that are issued by the memory controller.  This will generally be about the same as the number of partial writes, but may be slightly less because of partials hitting in the WPQ.  While it is possible for underfills to be issed in both WMM and RMM, this event counts both."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.AnyDataC",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.AnyDataC",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_PRE_COUNT.RD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_PRE_COUNT.RD",
                                                                          brief_description:
                                                                              "DRAM Precharge commands.; Precharge due to read",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Precharge commands sent on this channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_TxR_NACK_CW.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_TxR_NACK_CW.AD",
                                                                          brief_description:
                                                                              "Egress NACK; AD CW",
                                                                          public_description:
                                                                              Some("AD Clockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.STATE_A",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.STATE_A",
                                                                          brief_description:
                                                                              "Directory Lookups: A State",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NCB.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NCB.VN0",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NCB; for VN0",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NCB flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_TxR_NACK_CW.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_TxR_NACK_CW.AD",
                                                                          brief_description:
                                                                              "Egress CW NACK; AD CW",
                                                                          public_description:
                                                                              Some("AD Clockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_F",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_F",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RxR_OCCUPANCY.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_RxR_OCCUPANCY.SNP",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; SNP",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given QPI Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the QPI Ingress Not Empty event to calculate average occupancy or the QPI Ingress Allocations event in order to calculate average queuing latency.; SNP Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespFwdS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespFwdS",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_LLC_VICTIMS.M_STATE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_LLC_VICTIMS.M_STATE",
                                                                          brief_description:
                                                                              "Lines Victimized; Lines in M state",
                                                                          public_description:
                                                                              Some("Counts the number of lines that were victimized on a fill.  This can be filtered by the state that the line was in."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_CYCLES_NE.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(49),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_CYCLES_NE.SCHED0",
                                                                          brief_description:
                                                                              "AK Egress Not Empty; Scheduler 0",
                                                                          public_description:
                                                                              Some("AK Egress Not Empty; Filter for cycles not empty  from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_DRS.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_DRS.VN0",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - DRS; for VN0",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only DRS flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_CORE4_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(116),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE4_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 4 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_LLC_VICTIMS.S_STATE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_LLC_VICTIMS.S_STATE",
                                                                          brief_description:
                                                                              "Lines Victimized; Lines in S State",
                                                                          public_description:
                                                                              Some("Counts the number of lines that were victimized on a fill.  This can be filtered by the state that the line was in."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_FILTER_MATCH.U2C_ENABLE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_U_FILTER_MATCH.U2C_ENABLE",
                                                                          brief_description:
                                                                              "Filter Match",
                                                                          public_description:
                                                                              Some("Filter match per thread (w/ or w/o Filter Enable).  Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              Some("UBoxFilter[3:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_LLC_LOOKUP.REMOTE_SNOOP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(9),
                                                                          event_name:
                                                                              "UNC_C_LLC_LOOKUP.REMOTE_SNOOP",
                                                                          brief_description:
                                                                              "Cache Lookups; External Snoop Request",
                                                                          public_description:
                                                                              Some("Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M\'FMESI] state.; Filters for only snoop requests coming from the remote socket(s) through the IPQ."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter0[23:17]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_ACQUIRED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_ACQUIRED",
                                                                          brief_description:
                                                                              "VNA credit Acquisitions",
                                                                          public_description:
                                                                              Some("Number of QPI VNA Credit acquisitions.  This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average lifetime of a credit holder.  VNA credits are used by all message classes in order to communicate across QPI.  If a packet is unable to acquire credits, it will then attempt to use credts from the VN0 pool.  Note that a single packet may require multiple flit buffers (i.e. when data is being transfered).  Therefore, this event will increment by the number of credits acquired in each cycle.  Filtering based on message class is not provided.  One can count the number of packets transfered in a given message class using an qfclk event."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_RBT_MISS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_RBT_MISS",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - RBT Miss and Invalid",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because the RBT tag did not match and the valid bit was not set although there were enough Egress credits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.DOWN_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.DOWN_VR1_ODD",
                                                                          brief_description:
                                                                              "AK Ring In Use; Down and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_REJECT.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_REJECT.NCS",
                                                                          brief_description:
                                                                              "VN0 Credit Acquisition Failed on DRS; NCS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a DRS VN0 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed.  This should generally be a rare situation.; Filter for Non-Coherent Standard (NCS).  NCS is commonly used for ?"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_PHOLD_CYCLES.ASSERT_TO_ACK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(69),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_U_PHOLD_CYCLES.ASSERT_TO_ACK",
                                                                          brief_description:
                                                                              "Cycles PHOLD Assert to Ack; Assert to ACK",
                                                                          public_description:
                                                                              Some("PHOLD cycles.  Filter from source CoreID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO14",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO14",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 14&16"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_INSERTS.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_RxR_INSERTS.NDR",
                                                                          brief_description:
                                                                              "Ingress Allocations; NDR",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the QPI Ingress.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; NDR Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_TOTAL_OCCUPANCY.SOURCE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_CACHE_TOTAL_OCCUPANCY.SOURCE",
                                                                          brief_description:
                                                                              "Total Write Cache Occupancy; Select Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of reads and writes that are outstanding in the uncore in each cycle.  This is effectively the sum of the READ_OCCUPANCY and WRITE_OCCUPANCY events.; Tracks only those requests that come from the port specified in the IRP_PmonFilter.OrderingQ register.  This register allows one to select one specific queue.  It is not possible to monitor multiple queues at a time."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VN1_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VN1_HOM",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VN1 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.NID_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(65),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.NID_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; NID and Opcode Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); TOR entries that match a NID and an opcode."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20], CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PKG_C_STATE_RESIDENCY_C6_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PKG_C_STATE_RESIDENCY_C6_CYCLES",
                                                                          brief_description:
                                                                              "Package C State Residency - C6",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the package is in C6"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_TOR_INSERTS.REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(136),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.REMOTE",
                                                                          brief_description:
                                                                              "TOR Inserts; Remote Memory",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All transactions inserted into the TOR that are satisifed by remote caches or remote memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_CRC_NO_CREDITS.FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxL_CRC_NO_CREDITS.FULL",
                                                                          brief_description:
                                                                              "Cycles Stalled with no LLR Credits; LLR is full",
                                                                          public_description:
                                                                              Some("Number of cycles when the Tx side ran out of Link Layer Retry credits, causing the Tx to stall.; When LLR is totally full, we are not allowed to send any packets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION3",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 3",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 3"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_CRC_NO_CREDITS.ALMOST_FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxL_CRC_NO_CREDITS.ALMOST_FULL",
                                                                          brief_description:
                                                                              "Cycles Stalled with no LLR Credits; LLR is almost full",
                                                                          public_description:
                                                                              Some("Number of cycles when the Tx side ran out of Link Layer Retry credits, causing the Tx to stall.; When LLR is almost full, we block some but not all packets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_OCCUPANCY.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_RxR_OCCUPANCY.DRS",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; DRS",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given R2PCIe Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the R2PCIe Ingress Not Empty event to calculate average occupancy or the R2PCIe Ingress Allocations event in order to calculate average queuing latency.; DRS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_CYCLES_FULL.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_CYCLES_FULL.SCHED0",
                                                                          brief_description:
                                                                              "AK Egress Full; Scheduler 0",
                                                                          public_description:
                                                                              Some("AK Egress Full; Filter for cycles full  from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_INSERTS.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_INSERTS.SCHED1",
                                                                          brief_description:
                                                                              "AK Egress Allocations; Scheduler 1",
                                                                          public_description:
                                                                              Some("AK Egress Allocations; Filter for allocations from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AK_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RING_AK_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R3 AK Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_PRIO.HIGH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(160),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_PRIO.HIGH",
                                                                          brief_description:
                                                                              "Read CAS issued with HIGH priority",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_BAND1_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_BAND1_CYCLES",
                                                                          brief_description:
                                                                              "Frequency Residency",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[15:8]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_HOM_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_HOM_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD HOM; for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle.  Flow Control FIFO for HOM messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_IMC_READS.NORMAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_IMC_READS.NORMAL",
                                                                          brief_description:
                                                                              "HA to iMC Normal Priority Reads Issued; Normal Priority",
                                                                          public_description:
                                                                              Some("Count of the number of reads issued to any of the memory controller channels.  This can be filtered by the priority of the reads."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NCS.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NCS.VN0",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NCS; for VN0",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NCS flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_MISC.STARTED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_MISC.STARTED",
                                                                          brief_description:
                                                                              "Cbo Misc",
                                                                          public_description:
                                                                              Some("Miscellaneous events in the Cbo."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.STATE_S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.STATE_S",
                                                                          brief_description:
                                                                              "Directory Lookups: S State",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.NCS.AnyMsg3flits",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCS.AnyMsg3flits",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_FLITS_G1.DRS_DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.DRS_DATA",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; DRS Data Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of data flits received over QPI on the DRS (Data Response) channel.  DRS flits are used to transmit data with coherency.  This does not count data flits received over the NCB channel which transmits non-coherent data.  This includes only the data flits (not the header)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_LLC_LOOKUP.NID",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(65),
                                                                          event_name:
                                                                              "UNC_C_LLC_LOOKUP.NID",
                                                                          brief_description:
                                                                              "Cache Lookups; Lookups that Match NID",
                                                                          public_description:
                                                                              Some("Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M\'FMESI] state.; Qualify one of the other subevents by the Target NID.  The NID is programmed in Cn_MSR_PMON_BOX_FILTER.nid.   In conjunction with STATE = I, it is possible to monitor misses to specific NIDs in the system."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter0[23:17]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_CYCLES_NE.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_CYCLES_NE.SCHED0",
                                                                          brief_description:
                                                                              "AD Egress Not Empty; Scheduler 0",
                                                                          public_description:
                                                                              Some("AD Egress Not Empty; Filter for cycles not empty  from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.CW",
                                                                          brief_description:
                                                                              "BL Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VN0_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VN0_NDR",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VN0 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK6",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(15),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD.HOM",
                                                                          brief_description:
                                                                              "Outbound NDR Ring Transactions; Non-data Responses",
                                                                          public_description:
                                                                              Some("Counts the number of outbound transactions on the AD ring.  This can be filtered by the NDR and SNP message classes.  See the filter descriptions for more details.; Filter for outbound NDR transactions sent on the AD ring.  NDR stands for \'non-data response\' and is generally used for completions that do not include data.  AD NDR is used for transactions to remote sockets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNOOP_RESP.RSPSFWD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSPSFWD",
                                                                          brief_description:
                                                                              "Snoop Responses Received; RspSFwd",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for a snoop response of RspSFwd.  This is returned when a remote caching agent forwards data but holds on to its currentl copy.  This is common for data and code reads that hit in a remote socket in E or F state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TRANSACTIONS.PD_PREFETCHES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_I_TRANSACTIONS.PD_PREFETCHES",
                                                                          brief_description:
                                                                              "Inbound Transaction Count: Read Prefetches",
                                                                          public_description:
                                                                              Some("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.\'"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_ADDR_OPC_MATCH.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_ADDR_OPC_MATCH.AK",
                                                                          brief_description:
                                                                              "QPI Address/Opcode Match; AK Opcodes",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              Some("HA_OpcodeMatch[5:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.MISS_REMOTE_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(131),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.MISS_REMOTE_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; Misses to Remote Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding Miss transactions, satisifed by an opcode, in the TOR that are satisifed by remote caches or remote memory."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VNA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VNA",
                                                                          brief_description:
                                                                              "VNA Credit Consumed",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VNA credit was consumed (i.e. message uses a VNA credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_I_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_CLOCKTICKS",
                                                                          brief_description:
                                                                              "Clocks in the IRP",
                                                                          public_description:
                                                                              Some("Number of clocks in the IRP."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PKG_C_EXIT_LATENCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PKG_C_EXIT_LATENCY",
                                                                          brief_description:
                                                                              "Package C State Exit Latency",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the package is transitioning from package C2 to C3."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_IODC_CONFLICTS.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(87),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_IODC_CONFLICTS.ANY",
                                                                          brief_description:
                                                                              "IODC Conflicts; Any Conflict",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_INSERTS.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_INSERTS.SCHED1",
                                                                          brief_description:
                                                                              "BL Egress Allocations; Scheduler 1",
                                                                          public_description:
                                                                              Some("BL Egress Allocations; Filter for allocations from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.DOWN_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.DOWN_VR1_EVEN",
                                                                          brief_description:
                                                                              "AD Ring In Use; Down and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN1",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Special; Channel 1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 1 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE5",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 5",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_AD_HOM_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_HOM_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - HOM; for VN1",
                                                                          public_description:
                                                                              Some("Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle. Flow Control FIFO for Home messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_STALLS_VN0.BGF_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.BGF_HOM",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; BGF Stall - DRS",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet from the DRS message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN1",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Regular; Channel 1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 1 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CW_VR1_EVEN",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Clockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL0P_POWER_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxL0P_POWER_CYCLES",
                                                                          brief_description:
                                                                              "Cycles in L0p",
                                                                          public_description:
                                                                              Some("Number of QPI qfclk cycles spent in L0p power mode.  L0p is a mode where we disable 1/2 of the QPI lanes, decreasing our bandwidth in order to save power.  It increases snoop and data transfer latencies and decreases overall bandwidth.  This mode can be very useful in NUMA optimized workloads that largely only utilize QPI for snoops and their responses.  Use edge detect to count the number of instances when the QPI link entered L0p.  Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_NCS_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCS_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL NCS; for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  NCS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_BT_TO_HT_NOT_ISSUED.INCOMING_SNP_HAZARD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(81),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_BT_TO_HT_NOT_ISSUED.INCOMING_SNP_HAZARD",
                                                                          brief_description:
                                                                              "BT to HT Not Issued; Incoming Snoop Hazard",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not issue transaction from BT to HT.; Cycles unable to issue from BT due to incoming snoop hazard"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_INSERTS.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_RxR_INSERTS.NCS",
                                                                          brief_description:
                                                                              "Ingress Allocations; NCS",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the QPI Ingress.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; NCS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VN0_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VN0_HOM",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VN0 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.NID_EVICTION",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(68),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.NID_EVICTION",
                                                                          brief_description:
                                                                              "TOR Inserts; NID Matched Evictions",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; NID matched eviction transactions inserted into the TOR."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK2",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.AnyReq",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.AnyReq",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.UP_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.UP_VR0_EVEN",
                                                                          brief_description:
                                                                              "AD Ring In Use; Up and Even on Vring 0",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK1",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_INSERTS.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_RxR_INSERTS.NCS",
                                                                          brief_description:
                                                                              "Ingress Allocations; NCS",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the R2PCIe Ingress.  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 latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; NCS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_LLC_VICTIMS.E_STATE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_LLC_VICTIMS.E_STATE",
                                                                          brief_description:
                                                                              "Lines Victimized; Lines in E state",
                                                                          public_description:
                                                                              Some("Counts the number of lines that were victimized on a fill.  This can be filtered by the state that the line was in."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_OCCUPANCY.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_RxR_OCCUPANCY.NDR",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; NDR",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given QPI Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the QPI Ingress Not Empty event to calculate average occupancy or the QPI Ingress Allocations event in order to calculate average queuing latency.; NDR Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_BYPASSED.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RxR_BYPASSED.AD",
                                                                          brief_description:
                                                                              "Ingress Bypassed",
                                                                          public_description:
                                                                              Some("Counts the number of times when the Ingress was bypassed and an incoming transaction was bypassed directly across the BGF and into the qfclk domain."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_MISC.RSPI_WAS_FSE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_MISC.RSPI_WAS_FSE",
                                                                          brief_description:
                                                                              "Cbo Misc; Silent Snoop Eviction",
                                                                          public_description:
                                                                              Some("Miscellaneous events in the Cbo.; Counts the number of times when a Snoop hit in FSE states and triggered a silent eviction.  This is useful because this information is lost in the PRE encodings."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_MAX_POWER_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_MAX_POWER_CYCLES",
                                                                          brief_description:
                                                                              "Power Strongest Upper Limit Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when power is the upper limit on frequency."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VN1_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VN1_HOM",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VN1 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_NACK_CCW.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_TxR_NACK_CCW.AK",
                                                                          brief_description:
                                                                              "Egress CCW NACK; AK CCW",
                                                                          public_description:
                                                                              Some("AK CounterClockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BYPASS_IMC.TAKEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_BYPASS_IMC.TAKEN",
                                                                          brief_description:
                                                                              "HA to iMC Bypass; Taken",
                                                                          public_description:
                                                                              Some("Counts the number of times when the HA was able to bypass was attempted.  This is a latency optimization for situations when there is light loadings on the memory subsystem.  This can be filted by when the bypass was taken and when it was not.; Filter for transactions that succeeded in taking the bypass."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NCB.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NCB.VN1",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NCB; for VN1",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NCB flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_ACQUIRED.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_ACQUIRED.BL",
                                                                          brief_description:
                                                                              "VNA credit Acquisitions; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of QPI VNA Credit acquisitions.  This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average lifetime of a credit holder.  VNA credits are used by all message classes in order to communicate across QPI.  If a packet is unable to acquire credits, it will then attempt to use credts from the VN0 pool.  Note that a single packet may require multiple flit buffers (i.e. when data is being transfered).  Therefore, this event will increment by the number of credits acquired in each cycle.  Filtering based on message class is not provided.  One can count the number of packets transfered in a given message class using an qfclk event.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK3",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TICKLES.TOP_OF_QUEUE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_TICKLES.TOP_OF_QUEUE",
                                                                          brief_description:
                                                                              "Tickle Count; Data Returned",
                                                                          public_description:
                                                                              Some("Counts the number of tickles that are received.  This is for both explicit (from Cbo) and implicit (internal conflict) tickles.; Tracks the number of cases when a tickle was received but the requests was at the head of the queue in the switch.  In this case, data is returned rather than releasing ownership."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_USED.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_USED.HOM",
                                                                          brief_description:
                                                                              "VN0 Credit Used; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN0 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This counts the number of times a VN0 credit was used.  Note that a single VN0 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN0 will only count a single credit even though it may use multiple buffers.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CW",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_EVENT_MSG.MSI_RCVD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_U_EVENT_MSG.MSI_RCVD",
                                                                          brief_description:
                                                                              "VLW Received",
                                                                          public_description:
                                                                              Some("Virtual Logical Wire (legacy) message were received from Uncore.   Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_NDR_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_NDR_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD NDR; for VN1",
                                                                          public_description:
                                                                              Some("Number of link layer credits into the R3 (for transactions across the BGF) acquired each cycle.  Flow Control FIFO for NDR messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_CREDITS",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - Egress Credits",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because there were not enough Egress credits.  Had there been enough credits, the spawn would have worked as the RBT bit was set and the RBT tag matched."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.CW",
                                                                          brief_description:
                                                                              "AD Ring In Use; Clockwise",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_VMSE_WR_PUSH.RMM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(144),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_VMSE_WR_PUSH.RMM",
                                                                          brief_description:
                                                                              "VMSE WR PUSH issued; VMSE write PUSH issued in RMM",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_OCCUPANCY.WRITES_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_BT_OCCUPANCY.WRITES_REMOTE",
                                                                          brief_description:
                                                                              "BT Occupancy; Writes Remote",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the HA BT pool in every cycle.  This can be used with the \'not empty\' stat to calculate average queue occupancy or the \'allocations\' stat in order to calculate average queue latency.  HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE0",
                                                                          brief_description:
                                                                              "Core 0 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VNA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VNA",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VNA"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.NID_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(65),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.NID_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; NID and Opcode Matched",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Transactions inserted into the TOR that match a NID and an opcode."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20], CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_EXT_STARVED.IPQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_EXT_STARVED.IPQ",
                                                                          brief_description:
                                                                              "Ingress Arbiter Blocking Cycles; IRQ",
                                                                          public_description:
                                                                              Some("Counts cycles in external starvation.  This occurs when one of the ingress queues is being starved by the other queues.; IPQ is externally startved and therefore we are blocking the IRQ."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G1.REGION11",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G1.REGION11",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 1; TAD Region 11",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 8 to 10.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 11"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.MISS_REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(138),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.MISS_REMOTE",
                                                                          brief_description:
                                                                              "TOR Occupancy",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CW_VR1_EVEN",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Clockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_AK_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_AK_INSERTS",
                                                                          brief_description:
                                                                              "AK Ingress Occupancy",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the AK Ingress.  This queue is where the IRP receives responses from R2PCIe (the ring)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN0",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Special; Channel 0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 0 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INSERTS.IRQ_REJ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_INSERTS.IRQ_REJ",
                                                                          brief_description:
                                                                              "Ingress Allocations; IRQ Rejected",
                                                                          public_description:
                                                                              Some("Counts number of allocations per cycle into the specified Ingress queue."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE7",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 7",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(36),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE6",
                                                                          brief_description:
                                                                              "Core 6 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IRQ_RETRY.QPI_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RxR_IRQ_RETRY.QPI_CREDITS",
                                                                          brief_description:
                                                                              "Ingress Request Queue Rejects; No QPI Credits",
                                                                          public_description:
                                                                              Some("Number of requests rejects because of lack of QPI Ingress credits.  These credits are required in order to send transactions to the QPI agent.  Please see the QPI_IGR_CREDITS events for more information."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE11",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE11",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 11",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_BT_CYCLES_NE.REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_BT_CYCLES_NE.REMOTE",
                                                                          brief_description:
                                                                              "BT Cycles Not Empty: Remote",
                                                                          public_description:
                                                                              Some("Cycles the Backup Tracker (BT) is not empty. The BT is the actual HOM tracker in IVT."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.SNOOP_S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.SNOOP_S",
                                                                          brief_description:
                                                                              "Directory Lookups: Snoop S",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.DOWN_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.DOWN_VR1_EVEN",
                                                                          brief_description:
                                                                              "BL Ring in Use; Down and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_CREDITS_MISS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_CREDITS_MISS",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Miss",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because the RBT tag did not match and there weren\'t enough Egress credits.   The valid bit was set."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB_EDR.READS_REMOTE_S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(84),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_OSB_EDR.READS_REMOTE_S",
                                                                          brief_description:
                                                                              "OSB Early Data Return; Reads to Remote S",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_CYCLES_FULL.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_CYCLES_FULL.SCHED1",
                                                                          brief_description:
                                                                              "BL Egress Full; Scheduler 1",
                                                                          public_description:
                                                                              Some("BL Egress Full; Filter for cycles full  from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_TOTAL_OCCUPANCY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_CACHE_TOTAL_OCCUPANCY.ANY",
                                                                          brief_description:
                                                                              "Total Write Cache Occupancy; Any Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of reads and writes that are outstanding in the uncore in each cycle.  This is effectively the sum of the READ_OCCUPANCY and WRITE_OCCUPANCY events.; Tracks all requests from any source port."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.STATE_I",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.STATE_I",
                                                                          brief_description:
                                                                              "Directory Lookups: I State",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDIT_CYCLES_USED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDIT_CYCLES_USED",
                                                                          brief_description:
                                                                              "Cycles with 1 or more VNA credits in use",
                                                                          public_description:
                                                                              Some("Number of QPI uclk cycles with one or more VNA credits in use.  This event can be used in conjunction with the VNA In-Use Accumulator to calculate the average number of used VNA credits."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_CONFLICT_CYCLES.ACKCNFLTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_CONFLICT_CYCLES.ACKCNFLTS",
                                                                          brief_description:
                                                                              "Conflict Checks; Acknowledge Conflicts",
                                                                          public_description:
                                                                              Some("Count the number of Ackcnflts"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AK_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_RING_AK_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R3 AK Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_OCCUPANCY.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(48),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_OCCUPANCY.SCHED0",
                                                                          brief_description:
                                                                              "AK Egress Occupancy; Scheduler 0",
                                                                          public_description:
                                                                              Some("AK Egress Occupancy; Filter for occupancy from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_L1_POWER_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_L1_POWER_CYCLES",
                                                                          brief_description:
                                                                              "Cycles in L1",
                                                                          public_description:
                                                                              Some("Number of QPI qfclk cycles spent in L1 power mode.  L1 is a mode that totally shuts down a QPI link.  Use edge detect to count the number of instances when the QPI link entered L1.  Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another. Because L1 totally shuts down the link, it takes a good amount of time to exit this mode."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_ISMQ_RETRY.WB_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_C_RxR_ISMQ_RETRY.WB_CREDITS",
                                                                          brief_description:
                                                                              "ISMQ Retries; No WB Credits",
                                                                          public_description:
                                                                              Some("Number of times a transaction flowing through the ISMQ had to retry.  Transaction pass through the ISMQ as responses for requests that already exist in the Cbo.  Some examples include: when data is returned or when snoop responses come back from the cores.; Retries of writes to local memory due to lack of HT WB credits"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_REJECT.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_REJECT.SNP",
                                                                          brief_description:
                                                                              "VNA Credit Reject; SNP Message Class",
                                                                          public_description:
                                                                              Some("Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full).  It is possible to filter this event by message class.  Some packets use more than one flit buffer, and therefore must acquire multiple credits.  Therefore, one could get a reject even if the VNA credits were not fully used up.  The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress).  VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially.  This can happen if the rest of the uncore is unable to drain the requests fast enough.; Filter for Snoop (SNP) message class.  SNP is used for outgoing snoops.  Note that snoop responses flow on the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.NID_ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(72),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.NID_ALL",
                                                                          brief_description:
                                                                              "TOR Occupancy; NID Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of NID matched outstanding requests in the TOR.  The NID is programmed in Cn_MSR_PMON_BOX_FILTER.nid.In conjunction with STATE = I, it is possible to monitor misses to specific NIDs in the system."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.I2A",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.I2A",
                                                                          brief_description:
                                                                              "Directory Updates: I2A",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_INSERTS.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_INSERTS.SCHED0",
                                                                          brief_description:
                                                                              "BL Egress Allocations; Scheduler 0",
                                                                          public_description:
                                                                              Some("BL Egress Allocations; Filter for allocations from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CW",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_CTO_COUNT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_CTO_COUNT",
                                                                          brief_description:
                                                                              "Count of CTO Events",
                                                                          public_description:
                                                                              Some("Counts the number of CTO (cluster trigger outs) events that were asserted across the two slots.  If both slots trigger in a given cycle, the event will increment by 2.  You can use edge detect to count the number of cases when both events triggered."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              Some("QPIMask0[17:0],QPIMatch0[17:0],QPIMask1[19:16],QPIMatch1[19:16]"),
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_I_TRANSACTIONS.ORDERINGQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_I_TRANSACTIONS.ORDERINGQ",
                                                                          brief_description:
                                                                              "Inbound Transaction Count; Select Source",
                                                                          public_description:
                                                                              Some("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.; Tracks only those requests that come from the port specified in the IRP_PmonFilter.OrderingQ register.  This register allows one to select one specific queue.  It is not possible to monitor multiple queues at a time.  If this bit is not set, then requests from all sources will be counted."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              Some("IRPFilter[4:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_REJECT.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_REJECT.HOM",
                                                                          brief_description:
                                                                              "VN0 Credit Acquisition Failed on DRS; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a DRS VN0 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed.  This should generally be a rare situation.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VN0_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VN0_HOM",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VN0 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.MISS_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(42),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.MISS_LOCAL",
                                                                          brief_description:
                                                                              "TOR Occupancy",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.LOCAL_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(33),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.LOCAL_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; Local Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding  transactions, satisifed by an opcode,  in the TOR that are satisifed by locally HOMed memory."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.BL",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.; Data Responses to core",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_AD_BYPASSED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R3_RxR_AD_BYPASSED",
                                                                          brief_description:
                                                                              "AD Ingress Bypassed",
                                                                          public_description:
                                                                              Some("Counts the number of times when the AD Ingress was bypassed and an incoming transaction was bypassed directly across the BGF and into the qfclk domain."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_INSERTS.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_RxR_INSERTS.NCB",
                                                                          brief_description:
                                                                              "Ingress Allocations; NCB",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the R2PCIe Ingress.  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 latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; NCB Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CCW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CCW_VR1_ODD",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Counterclockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_DRAM_REFRESH.HIGH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_DRAM_REFRESH.HIGH",
                                                                          brief_description:
                                                                              "Number of DRAM Refreshes Issued",
                                                                          public_description:
                                                                              Some("Counts the number of refreshes issued."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_BL_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_RING_BL_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "R3 BL Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.CCW",
                                                                          brief_description:
                                                                              "BL Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_MAX_LIMIT_THERMAL_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_MAX_LIMIT_THERMAL_CYCLES",
                                                                          brief_description:
                                                                              "Thermal Strongest Upper Limit Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when thermal conditions are the upper limit on frequency.  This is related to the THERMAL_THROTTLE CYCLES_ABOVE_TEMP event, which always counts cycles when we are above the thermal temperature.  This event (STRONGEST_UPPER_LIMIT) is sampled at the output of the algorithm that determines the actual frequency, while THERMAL_THROTTLE looks at the input."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_SNP",
                                                                          brief_description:
                                                                              "RxQ Occupancy - SNP",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors SNP flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_U_EVENT_MSG.IPI_RCVD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_U_EVENT_MSG.IPI_RCVD",
                                                                          brief_description:
                                                                              "VLW Received",
                                                                          public_description:
                                                                              Some("Virtual Logical Wire (legacy) message were received from Uncore.   Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_BAND2_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_BAND2_CYCLES",
                                                                          brief_description:
                                                                              "Frequency Residency",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[23:16]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IODC_CONFLICTS.LAST",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(87),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_IODC_CONFLICTS.LAST",
                                                                          brief_description:
                                                                              "IODC Conflicts; Last Conflict",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G0.IDLE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G0.IDLE",
                                                                          brief_description:
                                                                              "Flits Received - Group 0; Idle and Null Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  It includes filters for Idle, protocol, and Data Flits.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.; Number of flits received over QPI that do not hold protocol payload.  When QPI is not in a power saving state, it continuously transmits flits across the link.  When there are no protocol flits to send, it will send IDLE and NULL flits  across.  These flits sometimes do carry a payload, such as credit returns, but are generall not considered part of the QPI bandwidth."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.EVICTION",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.EVICTION",
                                                                          brief_description:
                                                                              "TOR Inserts; Evictions",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Eviction transactions inserted into the TOR.  Evictions can be quick, such as when the line is in the F, S, or E states and no core valid bits are set.  They can also be longer if either CV bits are set (so the cores need to be snooped) and/or if there is a HitM (in which case it is necessary to write the request out to memory)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_SNP.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_SNP.VN0",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - SNP; for VN0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors SNP flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RxR_OCCUPANCY.IRQ_REJECTED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_OCCUPANCY.IRQ_REJECTED",
                                                                          brief_description:
                                                                              "IRQ Rejected",
                                                                          public_description:
                                                                              Some("Counts number of entries in the specified Ingress queue in each cycle."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_LLC_VICTIMS.MISS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_LLC_VICTIMS.MISS",
                                                                          brief_description:
                                                                              "Lines Victimized",
                                                                          public_description:
                                                                              Some("Counts the number of lines that were victimized on a fill.  This can be filtered by the state that the line was in."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_USED.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_USED.DRS",
                                                                          brief_description:
                                                                              "VN0 Credit Used; DRS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN0 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This counts the number of times a VN0 credit was used.  Note that a single VN0 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN0 will only count a single credit even though it may use multiple buffers.; Filter for Data Response (DRS).  DRS is generally used to transmit data with coherency.  For example, remote reads and writes, or cache to cache transfers will transmit their data using DRS."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_DRS.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_DRS.VN1",
                                                                          brief_description:
                                                                              "RxQ Occupancy - DRS; for VN1",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors DRS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_TxR_NACK_CCW.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_TxR_NACK_CCW.AK",
                                                                          brief_description:
                                                                              "Egress NACK; BL CW",
                                                                          public_description:
                                                                              Some("AD Clockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_OCCUPANCY.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_RxR_OCCUPANCY.NCS",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; NCS",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given QPI Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the QPI Ingress Not Empty event to calculate average occupancy or the QPI Ingress Allocations event in order to calculate average queuing latency.; NCS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.DOWN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.DOWN",
                                                                          brief_description:
                                                                              "BL Ring in Use; Down",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_READ_OCCUPANCY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_CACHE_READ_OCCUPANCY.ANY",
                                                                          brief_description:
                                                                              "Outstanding Read Occupancy; Any Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of reads that are outstanding in the uncore in each cycle.  This can be used with the read transaction count to calculate the average read latency in the uncore.  The occupancy increments when a read request is issued, and decrements when the data is returned.; Tracks all requests from any source port."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_INSERTS.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_INSERTS.SCHED0",
                                                                          brief_description:
                                                                              "AK Egress Allocations; Scheduler 0",
                                                                          public_description:
                                                                              Some("AK Egress Allocations; Filter for allocations from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE7",
                                                                          brief_description:
                                                                              "Core 7 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.ALL",
                                                                          brief_description:
                                                                              "TOR Inserts; All",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All transactions inserted into the TOR.    This includes requests that reside in the TOR for a short time, such as LLC Hits that do not need to snoop cores or requests that get rejected and have to be retried through one of the ingress queues.  The TOR is more commonly a bottleneck in skews with smaller core counts, where the ratio of RTIDs to TOR entries is larger.  Note that there are reserved TOR entries for various request types, so it is possible that a given request type be blocked with an occupancy that is less than 20.  Also note that generally requests will not be able to arbitrate into the TOR pipeline if there are no available TOR slots."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_HA_R2_BL_CREDITS_EMPTY.R2_NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(47),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_HA_R2_BL_CREDITS_EMPTY.R2_NCB",
                                                                          brief_description:
                                                                              "HA/R2 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to either HA or R2 on the BL Ring; R2 NCB Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB.INVITOE_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(83),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_OSB.INVITOE_LOCAL",
                                                                          brief_description:
                                                                              "OSB Snoop Broadcast; Local InvItoE",
                                                                          public_description:
                                                                              Some("Count of OSB snoop broadcasts. Counts by 1 per request causing OSB snoops to be broadcast. Does not count all the snoops generated by OSB."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_QLRU.AGE2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(60),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_QLRU.AGE2",
                                                                          brief_description:
                                                                              "LRU Queue; LRU Age 2",
                                                                          public_description:
                                                                              Some("How often age was set to 2"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.DOWN_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.DOWN_VR0_ODD",
                                                                          brief_description:
                                                                              "AD Ring In Use; Down and Odd on Vring 0",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NDR.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NDR.VN1",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NDR; for VN1",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NDR flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CCW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CCW_VR1_EVEN",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Counterclockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.WB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.WB",
                                                                          brief_description:
                                                                              "TOR Inserts; Writebacks",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Write transactions inserted into the TOR.   This does not include \'RFO\', but actual operations that contain data being sent from the core."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO8",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO8",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 8"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_SNP.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_SNP.VN0",
                                                                          brief_description:
                                                                              "RxQ Occupancy - SNP; for VN0",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors SNP flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_VOLT_TRANS_CYCLES_CHANGE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_VOLT_TRANS_CYCLES_CHANGE",
                                                                          brief_description:
                                                                              "Cycles Changing Voltage",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the system is changing voltage.  There is no filtering supported with this event.  One can use it as a simple event, or use it conjunction with the occupancy events to monitor the number of cores or threads that were impacted by the transition.  This event is calculated by or\'ing together the increasing and decreasing events."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE4",
                                                                          brief_description:
                                                                              "Core 4 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WMM_TO_RMM.STARVE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(192),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WMM_TO_RMM.STARVE",
                                                                          brief_description:
                                                                              "Transition from WMM to RMM because of low threshold",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_FILTER_MATCH.U2C_DISABLE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_U_FILTER_MATCH.U2C_DISABLE",
                                                                          brief_description:
                                                                              "Filter Match",
                                                                          public_description:
                                                                              Some("Filter match per thread (w/ or w/o Filter Enable).  Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_OCCUPANCY.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_OCCUPANCY.SCHED0",
                                                                          brief_description:
                                                                              "BL Egress Occupancy; Scheduler 0",
                                                                          public_description:
                                                                              Some("BL Egress Occupancy; Filter for occupancy from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IMC_WRITES.PARTIAL_ISOCH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_IMC_WRITES.PARTIAL_ISOCH",
                                                                          brief_description:
                                                                              "HA to iMC Full Line Writes Issued; ISOCH Partial",
                                                                          public_description:
                                                                              Some("Counts the total number of full line writes issued from the HA into the memory controller.  This counts for all four channels.  It can be filtered by full/partial and ISOCH/non-ISOCH."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BYPASS_IMC.NOT_TAKEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(20),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_BYPASS_IMC.NOT_TAKEN",
                                                                          brief_description:
                                                                              "HA to iMC Bypass; Not Taken",
                                                                          public_description:
                                                                              Some("Counts the number of times when the HA was able to bypass was attempted.  This is a latency optimization for situations when there is light loadings on the memory subsystem.  This can be filted by when the bypass was taken and when it was not.; Filter for transactions that could not take the bypass."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL.DRS_QPI",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL.DRS_QPI",
                                                                          brief_description:
                                                                              "Outbound DRS Ring Transactions to Cache; Data to QPI",
                                                                          public_description:
                                                                              Some("Counts the number of DRS messages sent out on the BL ring.   This can be filtered by the destination.; Filter for data being sent to a remote socket over QPI."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_EVENT_MSG.VLW_RCVD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_U_EVENT_MSG.VLW_RCVD",
                                                                          brief_description:
                                                                              "VLW Received",
                                                                          public_description:
                                                                              Some("Virtual Logical Wire (legacy) message were received from Uncore.   Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.BL_CACHE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.BL_CACHE",
                                                                          brief_description:
                                                                              "Egress Allocations; BL - Cacheno",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Cachebo destined for the BL ring.  This is commonly used to send data from the cache to various destinations."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_NDR_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(36),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_NDR_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD NDR; for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO  for NDR messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_CONFLICT_CYCLES.CONFLICT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_CONFLICT_CYCLES.CONFLICT",
                                                                          brief_description:
                                                                              "Conflict Checks; Conflict Detected",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that we are handling conflicts."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_DCLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_DCLOCKTICKS",
                                                                          brief_description:
                                                                              "DRAM Clockticks",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN0.BGF_DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.BGF_DRS",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; BGF Stall - HOM",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet from the HOM message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxL_FLITS_G0.DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G0.DATA",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 0; Data Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits transmitted across the QPI Link.  It includes filters for Idle, protocol, and Data Flits.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.; Number of data flits transmitted over QPI.  Each flit contains 64b of data.  This includes both DRS and NCB data flits (coherent and non-coherent).  This can be used to calculate the data bandwidth of the QPI link.  One can get a good picture of the QPI-link characteristics by evaluating the protocol flits, data flits, and idle/null flits.  This does not include the header flits that go in data packets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_INSERTS.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(39),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_INSERTS.SCHED1",
                                                                          brief_description:
                                                                              "AD Egress Allocations; Scheduler 1",
                                                                          public_description:
                                                                              Some("AD Egress Allocations; Filter for allocations from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CCW",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_REQUESTS.WRITES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(12),
                                                                          event_name:
                                                                              "UNC_H_REQUESTS.WRITES",
                                                                          brief_description:
                                                                              "Read and Write Requests; Writes",
                                                                          public_description:
                                                                              Some("Counts the total number of read requests made into the Home Agent. Reads include all read opcodes (including RFO).  Writes include all writes (streaming, evictions, HitM, etc).; Incoming write requests."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VN1_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VN1_SNP",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VN1 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.LOCAL_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(33),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.LOCAL_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; Local Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All transactions, satisifed by an opcode,  inserted into the TOR that are satisifed by locally HOMed memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_CYCLES_FULL.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_CYCLES_FULL.ALL",
                                                                          brief_description:
                                                                              "BL Egress Full; All",
                                                                          public_description:
                                                                              Some("BL Egress Full; Cycles full from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_REJECT.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_REJECT.NCS",
                                                                          brief_description:
                                                                              "VNA Credit Reject; NCS Message Class",
                                                                          public_description:
                                                                              Some("Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full).  It is possible to filter this event by message class.  Some packets use more than one flit buffer, and therefore must acquire multiple credits.  Therefore, one could get a reject even if the VNA credits were not fully used up.  The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress).  VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially.  This can happen if the rest of the uncore is unable to drain the requests fast enough.; Filter for Non-Coherent Standard (NCS)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL0_POWER_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(15),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL0_POWER_CYCLES",
                                                                          brief_description:
                                                                              "Cycles in L0",
                                                                          public_description:
                                                                              Some("Number of QPI qfclk cycles spent in L0 power mode in the Link Layer.  L0 is the default mode which provides the highest performance with the most power.  Use edge detect to count the number of instances that the link entered L0.  Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another.  The phy layer  sometimes leaves L0 for training, which will not be captured by this event."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.S2I",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.S2I",
                                                                          brief_description:
                                                                              "Directory Updates: S2I",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VN0_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VN0_SNP",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VN0 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CCW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CCW_VR1_ODD",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Counterclockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_NCB_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_NCB_INSERTS",
                                                                          brief_description:
                                                                              "BL Ingress Occupancy - NCB",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the BL Ingress.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.BL_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.BL_CORE",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.: Data Responses to core",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN1.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN1.NDR",
                                                                          brief_description:
                                                                              "VN1 Credit Consumed; NDR",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN1 credit for the NDR message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_AD_NDR_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(36),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_NDR_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD NDR; for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle. Flow Control FIFO  for NDR messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE8",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE8",
                                                                          brief_description:
                                                                              "Core 8 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_DRS",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - DRS",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only DRS flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RxR_CYCLES_NE.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RxR_CYCLES_NE.HOM",
                                                                          brief_description:
                                                                              "Ingress Cycles Not Empty; HOM",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the QPI Ingress is not empty.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy.  Multiple ingress buffers can be tracked at a given time using multiple counters.; HOM Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE3",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 3",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_TxR_CYCLES_FULL.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_TxR_CYCLES_FULL.BL",
                                                                          brief_description:
                                                                              "Egress Cycles Full; BL",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the R2PCIe Egress buffer is full.; BL Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE13",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(69),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE13",
                                                                          brief_description:
                                                                              "Core 13 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VNA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VNA",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VNA"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_NCB_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_NCB_OCCUPANCY",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the BL Ingress in each cycles.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_POWER_STATE_OCCUPANCY.CORES_C3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(128),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_P_POWER_STATE_OCCUPANCY.CORES_C3",
                                                                          brief_description:
                                                                              "Number of cores in C-State; C3",
                                                                          public_description:
                                                                              Some("This is an occupancy event that tracks the number of cores that are in the chosen C-State.  It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.NDR.AnyCmp",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NDR.AnyCmp",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_LLC_LOOKUP.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(17),
                                                                          event_name:
                                                                              "UNC_C_LLC_LOOKUP.ANY",
                                                                          brief_description:
                                                                              "Cache Lookups; Any Request",
                                                                          public_description:
                                                                              Some("Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M\'FMESI] state.; Filters for any transaction originating from the IPQ or IRQ.  This does not include lookups originating from the ISMQ."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter0[23:17]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CCW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CCW_VR1_EVEN",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Counterclockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NCB",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NCB",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NCB flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO4",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 4"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_ECC_CORRECTABLE_ERRORS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_ECC_CORRECTABLE_ERRORS",
                                                                          brief_description:
                                                                              "ECC Correctable Errors",
                                                                          public_description:
                                                                              Some("Counts the number of ECC errors detected and corrected by the iMC on this channel.  This counter is only useful with ECC DRAM devices.  This count will increment one time for each correction regardless of the number of bits corrected.  The iMC can correct up to 4 bit errors in independent channel mode and 8 bit erros in lockstep mode."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK2",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPCNFLCT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPCNFLCT",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; RspCnflct",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for snoops responses of RspConflict.  This is returned when a snoop finds an existing outstanding transaction in a remote caching agent when it CAMs that caching agent.  This triggers conflict resolution hardware.  This covers both RspCnflct and RspCnflctWbI."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.NID_MISS_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(67),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.NID_MISS_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; NID and Opcode Matched Miss",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Miss transactions inserted into the TOR that match a NID and an opcode."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20], CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.NID_MISS_ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(74),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.NID_MISS_ALL",
                                                                          brief_description:
                                                                              "TOR Occupancy; NID Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding Miss requests in the TOR that match a NID."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_ISMQ_RETRY.QPI_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RxR_ISMQ_RETRY.QPI_CREDITS",
                                                                          brief_description:
                                                                              "ISMQ Retries; No QPI Credits",
                                                                          public_description:
                                                                              Some("Number of times a transaction flowing through the ISMQ had to retry.  Transaction pass through the ISMQ as responses for requests that already exist in the Cbo.  Some examples include: when data is returned or when snoop responses come back from the cores."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_ACT_COUNT.RD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_ACT_COUNT.RD",
                                                                          brief_description:
                                                                              "DRAM Activate Count; Activate due to Read",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Activate commands sent on this channel.  Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS.  One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CW_VR1_EVEN",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Clockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_DRS_CREDIT_OCCUPANCY.VN_SHR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(31),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_DRS_CREDIT_OCCUPANCY.VN_SHR",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL DRS; for Shared VN",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  DRS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_CORE14_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(126),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE14_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 14 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IRQ_RETRY.IIO_CREDITS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_RxR_IRQ_RETRY.IIO_CREDITS",
                                                                          brief_description:
                                                                              "Ingress Request Queue Rejects; No IIO Credits",
                                                                          public_description:
                                                                              Some("Number of times a request attempted to acquire the NCS/NCB credit for sending messages on BL to the IIO.  There is a single credit in each CBo that is shared between the NCS and NCB message classes for sending transactions on the BL ring (such as read data) to the IIO."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespFwdIWb",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespFwdIWb",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_BL_USED.UP_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.UP_VR1_ODD",
                                                                          brief_description:
                                                                              "BL Ring in Use; Up and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AK_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R3_RING_AK_USED.CW",
                                                                          brief_description:
                                                                              "R3 AK Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_DRS.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_DRS.VN1",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - DRS; for VN1",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only DRS flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_OWN_OCCUPANCY.SOURCE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_CACHE_OWN_OCCUPANCY.SOURCE",
                                                                          brief_description:
                                                                              "Outstanding Write Ownership Occupancy; Select Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of writes (and write prefetches) that are outstanding in the uncore trying to acquire ownership in each cycle.  This can be used with the write transaction count to calculate the average write latency in the uncore.  The occupancy increments when a write request is issued, and decrements when the data is returned.; Tracks only those requests that come from the port specified in the IRP_PmonFilter.OrderingQ register.  This register allows one to select one specific queue.  It is not possible to monitor multiple queues at a time."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AK_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_RING_AK_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "R3 AK Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_CYCLES_NE.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_RxR_CYCLES_NE.NDR",
                                                                          brief_description:
                                                                              "Ingress Cycles Not Empty; NDR",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the QPI Ingress is not empty.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy.  Multiple ingress buffers can be tracked at a given time using multiple counters.; NDR Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_ADDRESS_MATCH.STALL_COUNT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_ADDRESS_MATCH.STALL_COUNT",
                                                                          brief_description:
                                                                              "Address Match (Conflict) Count; Conflict Stalls",
                                                                          public_description:
                                                                              Some("Counts the number of times when an inbound write (from a device to memory or another device) had an address match with another request in the write cache.; When it is not possible to merge two conflicting requests, a stall event occurs.  This is bad for performance."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VNA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VNA",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VNA"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_QLRU.AGE3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(60),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_QLRU.AGE3",
                                                                          brief_description:
                                                                              "LRU Queue; LRU Age 3",
                                                                          public_description:
                                                                              Some("How often age was set to 3"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN1.BGF_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(58),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN1.BGF_SNP",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN1; BGF Stall - NCB",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 1.; Stalled a packet from the NCB message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VN1_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VN1_HOM",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VN1 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.SUCCESS_RBT_HIT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.SUCCESS_RBT_HIT",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Success",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn was successful.  There were sufficient credits, the RBT valid bit was set and there was an RBT tag match.  The message was marked to spawn direct2core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.AK_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.AK_CORE",
                                                                          brief_description:
                                                                              "Egress Allocations; AK - Corebo",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Corebo destined for the AK ring.  This is commonly used for snoop responses coming from the core and destined for a Cachebo."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_M",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_M",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_I_CACHE_OWN_OCCUPANCY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_CACHE_OWN_OCCUPANCY.ANY",
                                                                          brief_description:
                                                                              "Outstanding Write Ownership Occupancy; Any Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of writes (and write prefetches) that are outstanding in the uncore trying to acquire ownership in each cycle.  This can be used with the write transaction count to calculate the average write latency in the uncore.  The occupancy increments when a write request is issued, and decrements when the data is returned.; Tracks all requests from any source port."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_OCCUPANCY.SCHED0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_OCCUPANCY.SCHED0",
                                                                          brief_description:
                                                                              "AD Egress Occupancy; Scheduler 0",
                                                                          public_description:
                                                                              Some("AD Egress Occupancy; Filter for occupancy from scheduler bank 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION2",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 2",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 2"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.UP_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.UP_VR0_ODD",
                                                                          brief_description:
                                                                              "AK Ring In Use; Up and Odd on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION0",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 0",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL.DRS_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL.DRS_CORE",
                                                                          brief_description:
                                                                              "Outbound DRS Ring Transactions to Cache; Data to Core",
                                                                          public_description:
                                                                              Some("Counts the number of DRS messages sent out on the BL ring.   This can be filtered by the destination.; Filter for data being sent directly to the requesting core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_EVENT_MSG.DOORBELL_RCVD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_U_EVENT_MSG.DOORBELL_RCVD",
                                                                          brief_description:
                                                                              "VLW Received",
                                                                          public_description:
                                                                              Some("Virtual Logical Wire (legacy) message were received from Uncore.   Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION7",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 7",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 7"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK0.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(184),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK0.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 0; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN0.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN0.SNP",
                                                                          brief_description:
                                                                              "VN0 Credit Consumed; SNP",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN0 credit for the SNP message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_ADDR_OPC_MATCH.FILT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_ADDR_OPC_MATCH.FILT",
                                                                          brief_description:
                                                                              "QPI Address/Opcode Match; Address & Opcode Match",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              Some("HA_AddrMatch0[31:6], HA_AddrMatch1[13:0], HA_OpcodeMatch[5:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_U2C_EVENTS.LIVELOCK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.LIVELOCK",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Livelock",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores; Filter by core"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VN0_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VN0_HOM",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VN0 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB_EDR.READS_REMOTE_I",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(84),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_OSB_EDR.READS_REMOTE_I",
                                                                          brief_description:
                                                                              "OSB Early Data Return; Reads to Remote I",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_NCB_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCB_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL NCB; for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  NCB message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_PRIO.LOW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(160),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_PRIO.LOW",
                                                                          brief_description:
                                                                              "Read CAS issued with LOW priority",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_DRS.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(15),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_DRS.VN0",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - DRS; for VN0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors DRS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_MESSAGE.HOM.AnyResp",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.AnyResp",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN3",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Regular; Channel 3",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 3 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(40),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.LOCAL",
                                                                          brief_description:
                                                                              "TOR Occupancy",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CCW",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G1.DRS_NONDATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.DRS_NONDATA",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; DRS Header Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of protocol flits received over QPI on the DRS (Data Response) channel.  DRS flits are used to transmit data with coherency.  This does not count data flits received over the NCB channel which transmits non-coherent data.  This includes only the header flits (not the data).  This includes extended headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_POWER_STATE_OCCUPANCY.CORES_C6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(128),
                                                                          umask:
                                                                              Tuple::One(192),
                                                                          event_name:
                                                                              "UNC_P_POWER_STATE_OCCUPANCY.CORES_C6",
                                                                          brief_description:
                                                                              "Number of cores in C-State; C6 and C7",
                                                                          public_description:
                                                                              Some("This is an occupancy event that tracks the number of cores that are in the chosen C-State.  It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN3",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Special; Channel 3",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 3 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G0.REGION6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G0.REGION6",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 0; TAD Region 6",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 0 to 7.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 6"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK5",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_IV_USED.UP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_C_RING_IV_USED.UP",
                                                                          brief_description:
                                                                              "IV Ring in Use; Up",
                                                                          public_description:
                                                                              Some("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 sent from the ring stop.; Filters for Up polarity"),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_DRS_CREDIT_ACQUIRED.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_DRS_CREDIT_ACQUIRED.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - DRS; for VN1",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. DRS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_FLITS_G2.NCB_DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G2.NCB_DATA",
                                                                          brief_description:
                                                                              "Flits Received - Group 2; Non-Coherent data Rx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of Non-Coherent Bypass data flits.  These flits are generally used to transmit non-coherent data across QPI.  This does not include a count of the DRS (coherent) data flits.  This only counts the data flits, not the NCB headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_INSERTS_HOM.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_HOM.VN0",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - HOM; for VN0",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only HOM flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_CORE13_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(125),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE13_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 13 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN0.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN0.NDR",
                                                                          brief_description:
                                                                              "VN0 Credit Consumed; NDR",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN0 credit for the NDR message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_LLC_LOOKUP.WRITE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(5),
                                                                          event_name:
                                                                              "UNC_C_LLC_LOOKUP.WRITE",
                                                                          brief_description:
                                                                              "Cache Lookups; Write Requests",
                                                                          public_description:
                                                                              Some("Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M\'FMESI] state.; Writeback transactions from L2 to the LLC  This includes all write transactions -- both Cachable and UC."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter0[23:17]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_CONFLICT_CYCLES.CMP_FWDS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_CONFLICT_CYCLES.CMP_FWDS",
                                                                          brief_description:
                                                                              "Conflict Checks; Cmp Fwds",
                                                                          public_description:
                                                                              Some("Count the number of Cmp_Fwd. This will give the number of late conflicts."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_DRS_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(31),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_DRS_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL DRS; for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  DRS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NCB.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NCB.VN0",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NCB; for VN0",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NCB flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_U_U2C_EVENTS.CMC",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.CMC",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Correctable Machine Check",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK7",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_NCS_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCS_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL NCS; for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  NCS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_VN1_CREDITS_USED.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_USED.SNP",
                                                                          brief_description:
                                                                              "VN1 Credit Used; SNP Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN1 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This counts the number of times a VN1 credit was used.  Note that a single VN1 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN1 will only count a single credit even though it may use multiple buffers.; Filter for Snoop (SNP) message class.  SNP is used for outgoing snoops.  Note that snoop responses flow on the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TRACKER_CYCLES_NE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_TRACKER_CYCLES_NE",
                                                                          brief_description:
                                                                              "Tracker Cycles Not Empty",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the local HA tracker pool is not empty.  This can be used with edge detect to identify the number of situations when the pool became empty.  This should not be confused with RTID credit usage -- which must be tracked inside each cbo individually -- but represents the actual tracker buffer structure.  In other words, this buffer could be completely empty, but there may still be credits in use by the CBos.  This stat can be used in conjunction with the occupancy accumulation stat in order to calculate average queue occpancy.  HA trackers are allocated as soon as a request enters the HA if an HT (Home Tracker) entry is available and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NDR",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NDR",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NDR flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AD_USED.UP_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.UP_VR1_ODD",
                                                                          brief_description:
                                                                              "AD Ring In Use; Up and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_DRS_CYCLES_FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_DRS_CYCLES_FULL",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the BL Ingress is full.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_USED.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_USED.NCB",
                                                                          brief_description:
                                                                              "VN0 Credit Used; NCB Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN0 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This counts the number of times a VN0 credit was used.  Note that a single VN0 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN0 will only count a single credit even though it may use multiple buffers.; Filter for Non-Coherent Broadcast (NCB).  NCB is generally used to transmit data without coherency.  For example, non-coherent read data returns."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_RACU_REQUESTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(70),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_U_RACU_REQUESTS",
                                                                          brief_description:
                                                                              "RACU Request",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECT2CORE_TXN_OVERRIDE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_DIRECT2CORE_TXN_OVERRIDE",
                                                                          brief_description:
                                                                              "Number of Reads that had Direct2Core Overridden",
                                                                          public_description:
                                                                              Some("Number of Reads where Direct2Core overridden"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.WR_WMM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.WR_WMM",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Write Major Mode",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the total number or DRAM Write CAS commands issued on this channel while in Write-Major-Mode."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNOOP_RESP.RSPI",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSPI",
                                                                          brief_description:
                                                                              "Snoop Responses Received; RspI",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for snoops responses of RspI.  RspI is returned when the remote cache does not have the data, or when the remote cache silently evicts data (such as when an RFO hits non-modified data)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO10",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_C_HI_AD_CREDITS_EMPTY.CBO10",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers higher CBoxes); Cbox 10"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NCS.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NCS.VN1",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NCS; for VN1",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NCS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO5",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 5"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_AK_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_AK_OCCUPANCY",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the AK Ingress in each cycles.  This queue is where the IRP receives responses from R2PCIe (the ring)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_USED.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_USED.NCB",
                                                                          brief_description:
                                                                              "R2PCIe IIO Credits in Use; NCB",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the NCB message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_NO_CREDIT_CYCLES.BL_QPI1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(34),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_IGR_NO_CREDIT_CYCLES.BL_QPI1",
                                                                          brief_description:
                                                                              "Cycles without QPI Ingress Credits; BL to QPI Link 1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not have credits to send messages to the QPI Agent.  This can be filtered by the different credit pools and the different links."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK5",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN0",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Regular; Channel 0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 0 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespSWb",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespSWb",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R2_RING_BL_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CW",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE2",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 2",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_CORE7_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(119),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE7_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 7 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_TO_HT_NOT_ISSUED.INCOMING_BL_HAZARD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(81),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_BT_TO_HT_NOT_ISSUED.INCOMING_BL_HAZARD",
                                                                          brief_description:
                                                                              "BT to HT Not Issued; Incoming Data Hazard",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not issue transaction from BT to HT.; Cycles unable to issue from BT due to incoming BL data hazard"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_AK_CYCLES_FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_AK_CYCLES_FULL",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the AK Ingress is full.  This queue is where the IRP receives responses from R2PCIe (the ring)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VN1_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VN1_NDR",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VN1 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_ADS_USED.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_TxR_ADS_USED.BL",
                                                                          brief_description:
                                                                              "Onto BL Ring",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WPQ_CYCLES_NE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_WPQ_CYCLES_NE",
                                                                          brief_description:
                                                                              "Write Pending Queue Not Empty",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the Write Pending Queue is not empty.  This can then be used to calculate the average queue occupancy (in conjunction with the WPQ Occupancy Accumulation count).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have \'posted\' to the iMC.  This is not to be confused with actually performing the write to DRAM.  Therefore, the average latency for this queue is actually not useful for deconstruction intermediate write latencies."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_NACK_CW.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_TxR_NACK_CW.BL",
                                                                          brief_description:
                                                                              "Egress CW NACK; BL CW",
                                                                          public_description:
                                                                              Some("BL Clockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_COUNTER0_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(31),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_C_COUNTER0_OCCUPANCY",
                                                                          brief_description:
                                                                              "Counter 0 Occupancy",
                                                                          public_description:
                                                                              Some("Since occupancy counts can only be captured in the Cbo\'s 0 counter, this event allows a user to capture occupancy related information by filtering the Cb0 occupancy count captured in Counter 0.   The filtering available is found in the control register - threshold, invert and edge detect.   E.g. setting threshold to 1 can effectively monitor how many cycles the monitored queue has an entry."),
                                                                          counter:
                                                                              Counter::Programmable(14),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_SINK_STARVED.IV",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RING_SINK_STARVED.IV",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_WRITE_OCCUPANCY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_CACHE_WRITE_OCCUPANCY.ANY",
                                                                          brief_description:
                                                                              "Outstanding Write Occupancy; Any Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of writes (and write prefetches)  that are outstanding in the uncore in each cycle.  This can be used with the transaction count event to calculate the average latency in the uncore.  The occupancy increments when the ownership fetch/prefetch is issued, and decrements the data is returned to the uncore.; Tracks all requests from any source port."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INSERTS.IRQ_REJECTED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_INSERTS.IRQ_REJECTED",
                                                                          brief_description:
                                                                              "Ingress Allocations: IRQ Rejected",
                                                                          public_description:
                                                                              Some("Counts number of allocations per cycle into the specified Ingress queue."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.NID_WB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(80),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.NID_WB",
                                                                          brief_description:
                                                                              "TOR Inserts; NID Matched Writebacks",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; NID matched write transactions inserted into the TOR."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AD_USED.CCW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CCW_VR1_EVEN",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Counterclockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_STARVED.AD_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_TxR_STARVED.AD_CORE",
                                                                          brief_description:
                                                                              "Injection Starvation; Onto AD Ring (to core)",
                                                                          public_description:
                                                                              Some("Counts injection starvation.  This starvation is triggered when the Egress cannot send a transaction onto the ring for a long period of time.; cycles that the core AD egress spent in starvation"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN0.BGF_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.BGF_NDR",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; BGF Stall - NCS",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled a packet from the NCS message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VN0_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VN0_SNP",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VN0 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPxFWDxWB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPxFWDxWB",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; Rsp*FWD*WB",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for a snoop response of Rsp*Fwd*WB.  This snoop response is only used in 4s systems.  It is used when a snoop HITM\'s in a remote caching agent and it directly forwards data to a requestor, and simultaneously returns data to the home to be written back to memory."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.AK",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.; Acknowledgements to core",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VN0_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VN0_NDR",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VN0 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_USED.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_USED.NDR",
                                                                          brief_description:
                                                                              "VN0 Credit Used; NDR Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN0 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This counts the number of times a VN0 credit was used.  Note that a single VN0 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN0 will only count a single credit even though it may use multiple buffers.; NDR packets are used to transmit a variety of protocol flits including grants and completions (CMP)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_ADS_USED.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_TxR_ADS_USED.AK",
                                                                          brief_description:
                                                                              "Onto AK Ring",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_REJECT.NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_REJECT.NDR",
                                                                          brief_description:
                                                                              "VNA Credit Reject; NDR Message Class",
                                                                          public_description:
                                                                              Some("Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full).  It is possible to filter this event by message class.  Some packets use more than one flit buffer, and therefore must acquire multiple credits.  Therefore, one could get a reject even if the VNA credits were not fully used up.  The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress).  VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially.  This can happen if the rest of the uncore is unable to drain the requests fast enough.; NDR packets are used to transmit a variety of protocol flits including grants and completions (CMP)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.CLEAR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.CLEAR",
                                                                          brief_description:
                                                                              "Directory Updates; Directory Clear",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears.; Filter for directory clears.  This occurs when snoops were sent and all returned with RspI."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AD_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R3_RING_AD_USED.CCW",
                                                                          brief_description:
                                                                              "R3 AD Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.RD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.RD",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; All DRAM Reads (RD_CAS + Underfills)",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the total number of DRAM Read CAS commands issued on this channel (including underfills)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI0_BL_CREDITS_EMPTY.VN1_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(45),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_BL_CREDITS_EMPTY.VN1_NDR",
                                                                          brief_description:
                                                                              "QPI0 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the BL Ring; VN1 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.SNP.AnySnp",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.SNP.AnySnp",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VN0_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VN0_SNP",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VN0 SNP Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.AK_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.AK_CORE",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.: Acknowledgements to core",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE11_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(123),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE11_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 11 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_QLRU.AGE0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(60),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_QLRU.AGE0",
                                                                          brief_description:
                                                                              "LRU Queue; LRU Age 0",
                                                                          public_description:
                                                                              Some("How often age was set to 0"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_REJECT.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_REJECT.NCS",
                                                                          brief_description:
                                                                              "VN1 Credit Acquisition Failed on DRS; NCS Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a VN1 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed.  This should generally be a rare situation.; Filter for Non-Coherent Standard (NCS).  NCS is commonly used for ?"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_CYCLES_NE.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R2_TxR_CYCLES_NE.BL",
                                                                          brief_description:
                                                                              "Egress Cycles Not Empty; BL",
                                                                          public_description:
                                                                              Some("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.; BL Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_E",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_E",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK1.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(177),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK1.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 1; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_INSERTS.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_RxR_INSERTS.NCB",
                                                                          brief_description:
                                                                              "Ingress Allocations; NCB",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the QPI Ingress.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; NCB Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_ADDRESS_MATCH.MERGE_COUNT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_ADDRESS_MATCH.MERGE_COUNT",
                                                                          brief_description:
                                                                              "Address Match (Conflict) Count; Conflict Merges",
                                                                          public_description:
                                                                              Some("Counts the number of times when an inbound write (from a device to memory or another device) had an address match with another request in the write cache.; When two requests to the same address from the same source are received back to back, it is possible to merge the two of them together."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CW_VR1_ODD",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Clockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TICKLES.LOST_OWNERSHIP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_TICKLES.LOST_OWNERSHIP",
                                                                          brief_description:
                                                                              "Tickle Count; Ownership Lost",
                                                                          public_description:
                                                                              Some("Counts the number of tickles that are received.  This is for both explicit (from Cbo) and implicit (internal conflict) tickles.; Tracks the number of requests that lost ownership as a result of a tickle.  When a tickle comes in, if the request is not at the head of the queue in the switch, then that request as well as any requests behind it in the switch queue will lose ownership and have to re-acquire it later when they get to the head of the queue.  This will therefore track the number of requests that lost ownership and not just the number of tickles."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_PREEMPTION.RD_PREEMPT_WR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_PREEMPTION.RD_PREEMPT_WR",
                                                                          brief_description:
                                                                              "Read Preemption Count; Read over Write Preemption",
                                                                          public_description:
                                                                              Some("Counts the number of times a read in the iMC preempts another read or write.  Generally reads to an open page are issued ahead of requests to closed pages.  This improves the page hit rate of the system.  However, high priority requests can cause pages of active requests to be closed in order to get them out.  This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.; Filter for when a read preempts a write."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_BAND0_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_BAND0_CYCLES",
                                                                          brief_description:
                                                                              "Frequency Residency",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.AD_CACHE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.AD_CACHE",
                                                                          brief_description:
                                                                              "Egress Allocations; AD - Cachebo",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Cachebo destined for the AD ring.  Some example include outbound requests, snoop requests, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_CREDITS_AD_QPI2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(89),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IGR_CREDITS_AD_QPI2",
                                                                          brief_description:
                                                                              "AD QPI Link 2 Credit Accumulator",
                                                                          public_description:
                                                                              Some("Accumulates the number of credits available to the QPI Link 2 AD Ingress buffer."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R2_CLOCKTICKS",
                                                                          brief_description:
                                                                              "Number of uclks in domain",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN2",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Special; Channel 2",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 2 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_CYCLES_NE.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_CYCLES_NE.SCHED1",
                                                                          brief_description:
                                                                              "BL Egress Not Empty; Scheduler 1",
                                                                          public_description:
                                                                              Some("BL Egress Not Empty; Filter for cycles not empty from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE11",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE11",
                                                                          brief_description:
                                                                              "Core 11 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AK_USED.CW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R2_RING_AK_USED.CW_VR0_ODD",
                                                                          brief_description:
                                                                              "R2 AK Ring in Use; Clockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_DRS_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_DRS_OCCUPANCY",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the BL Ingress in each cycles.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_BL_USED.CCW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(64),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_RING_BL_USED.CCW_VR1_EVEN",
                                                                          brief_description:
                                                                              "HA BL Ring in Use; Counterclockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_CYCLES_NE.LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(66),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_BT_CYCLES_NE.LOCAL",
                                                                          brief_description:
                                                                              "BT Cycles Not Empty: Local",
                                                                          public_description:
                                                                              Some("Cycles the Backup Tracker (BT) is not empty. The BT is the actual HOM tracker in IVT."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespFwdI",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespFwdI",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_REG_CREDITS.CHN2",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Regular; Channel 2",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 2 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AK_CYCLES_FULL.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_AK_CYCLES_FULL.ALL",
                                                                          brief_description:
                                                                              "AK Egress Full; All",
                                                                          public_description:
                                                                              Some("AK Egress Full; Cycles full from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_BL_QPI2_ACCUMULATOR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(90),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IGR_BL_QPI2_ACCUMULATOR",
                                                                          brief_description:
                                                                              "BL QPI Link 2 Credit Accumulator",
                                                                          public_description:
                                                                              Some("Accumulates the number of credits available to the QPI Link 2 BL Ingress buffer."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_F_Cmp",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_F_Cmp",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_U_LOCK_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(68),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_U_LOCK_CYCLES",
                                                                          brief_description:
                                                                              "IDI Lock/SplitLock Cycles",
                                                                          public_description:
                                                                              Some("Number of times an IDI Lock/SplitLock sequence was started"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE8",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(31),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE8",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 8",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_INSERTS_NDR.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(14),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NDR.VN1",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NDR; for VN1",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NDR flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK5.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(181),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK5.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 5; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK6",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN1.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN1.HOM",
                                                                          brief_description:
                                                                              "VN1 Credit Consumed; HOM",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN1 credit for the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_MAJOR_MODES.WRITE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_MAJOR_MODES.WRITE",
                                                                          brief_description:
                                                                              "Cycles in a Major Mode; Write Major Mode",
                                                                          public_description:
                                                                              Some("Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel.   Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This mode is triggered when the WPQ hits high occupancy and causes writes to be higher priority than reads.  This can cause blips in the available read bandwidth in the system and temporarily increase read latencies in order to achieve better bus utilizations and higher bandwidth."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_BL_INSERTS.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL_INSERTS.ALL",
                                                                          brief_description:
                                                                              "BL Egress Allocations; All",
                                                                          public_description:
                                                                              Some("BL Egress Allocations; Allocations from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN0.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN0.NCB",
                                                                          brief_description:
                                                                              "VN0 Credit Consumed; NCB",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN0 credit was consumed (i.e. message uses a VN0 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN0 credit for the NCB message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_BT_BYPASS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(82),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_BT_BYPASS",
                                                                          brief_description:
                                                                              "BT Bypass",
                                                                          public_description:
                                                                              Some("Number of transactions that bypass the BT (fifo) to HT"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN0_CREDITS_REJECT.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(55),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_VN0_CREDITS_REJECT.SNP",
                                                                          brief_description:
                                                                              "VN0 Credit Acquisition Failed on DRS; SNP Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a DRS VN0 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN0.  VNA is a shared pool used to achieve high performance.  The VN0 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN0 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN0 credit and is delayed.  This should generally be a rare situation.; Filter for Snoop (SNP) message class.  SNP is used for outgoing snoops.  Note that snoop responses flow on the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INSERTS.VFIFO",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RxR_INSERTS.VFIFO",
                                                                          brief_description:
                                                                              "Ingress Allocations; VFIFO",
                                                                          public_description:
                                                                              Some("Counts number of allocations per cycle into the specified Ingress queue.; Counts the number of allocations into the IRQ Ordering FIFO.  In JKT, it is necessary to keep IO requests in order.  Therefore, they are allocated into an ordering FIFO that sits next to the IRQ, and must be satisfied from the FIFO in order (with respect to each other).  This event, in conjunction with the Occupancy Accumulator event, can be used to calculate average lifetime in the FIFO.  Transactions are allocated into the FIFO as soon as they enter the Cachebo (and the IRQ) and are deallocated from the FIFO as soon as they are deallocated from the IRQ."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(24),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_HOM",
                                                                          brief_description:
                                                                              "RxQ Occupancy - HOM",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors HOM flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RING_BL_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_RING_BL_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R3 BL Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK6.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(190),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK6.BANK1",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 6; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_CREDITS_RBT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_CREDITS_RBT",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - Egress and RBT Invalid",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because there were not enough Egress credits AND the RBT bit was not set, but the RBT tag matched."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPIFWD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPIFWD",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; RspIFwd",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for snoop responses of RspIFwd.  This is returned when a remote caching agent forwards data and the requesting agent is able to acquire the data in E or M states.  This is commonly returned with RFO transactions.  It can be either a HitM or a HitFE."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_AK_BOUNCES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_R2_RxR_AK_BOUNCES",
                                                                          brief_description:
                                                                              "AK Ingress Bounced",
                                                                          public_description:
                                                                              Some("Counts the number of times when a request destined for the AK ingress bounced."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.MISS_LOCAL_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(35),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.MISS_LOCAL_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; Misses to Local Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding Miss transactions, satisifed by an opcode, in the TOR that are satisifed by locally HOMed memory."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_CYCLES_FULL.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_CYCLES_FULL.SCHED1",
                                                                          brief_description:
                                                                              "AD Egress Full; Scheduler 1",
                                                                          public_description:
                                                                              Some("AD Egress Full; Filter for cycles full  from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK6.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(182),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK6.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 6; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INSERTS.IRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_INSERTS.IRQ",
                                                                          brief_description:
                                                                              "Ingress Allocations; IRQ",
                                                                          public_description:
                                                                              Some("Counts number of allocations per cycle into the specified Ingress queue."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RPQ_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_RPQ_INSERTS",
                                                                          brief_description:
                                                                              "Read Pending Queue Allocations",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the Read Pending Queue.  This queue is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after the CAS command has been issued to memory.  This includes both ISOCH and non-ISOCH requests."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.MISS_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(42),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.MISS_LOCAL",
                                                                          brief_description:
                                                                              "TOR Inserts; Misses to Local Memory",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Miss transactions inserted into the TOR that are satisifed by locally HOMed memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_INSERTS.LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(40),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.LOCAL",
                                                                          brief_description:
                                                                              "TOR Inserts; Local Memory",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All transactions inserted into the TOR that are satisifed by locally HOMed memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_PRE_COUNT.PAGE_MISS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_PRE_COUNT.PAGE_MISS",
                                                                          brief_description:
                                                                              "DRAM Precharge commands.; Precharges due to page miss",
                                                                          public_description:
                                                                              Some("Counts the number of DRAM Precharge commands sent on this channel.; Counts the number of DRAM Precharge commands sent on this channel as a result of page misses.  This does not include explicit precharge commands sent with CAS commands in Auto-Precharge mode.  This does not include PRE commands sent as a result of the page close counter expiration."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN1.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN1.DRS",
                                                                          brief_description:
                                                                              "VN1 Credit Consumed; DRS",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN1 credit for the DRS message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK3",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespFwdSWb",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespFwdSWb",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AK_USED.UP_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.UP_VR1_EVEN",
                                                                          brief_description:
                                                                              "AK Ring In Use; Up and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_THROTTLE_CYCLES.RANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_POWER_THROTTLE_CYCLES.RANK0",
                                                                          brief_description:
                                                                              "Throttle Cycles for Rank 0; DIMM ID",
                                                                          public_description:
                                                                              Some("Counts the number of cycles while the iMC is being throttled by either thermal constraints or by the PCU throttling.  It is not possible to distinguish between the two.  This can be filtered by rank.  If multiple ranks are selected and are being throttled at the same time, the counter will only increment by 1.; Thermal throttling is performed per DIMM.  We support 3 DIMMs per channel.  This ID allows us to filter by ID."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_BYPASSED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_BYPASSED",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Bypassed",
                                                                          public_description:
                                                                              Some("Counts the number of times that an incoming flit was able to bypass the flit buffer and pass directly across the BGF and into the Egress.  This is a latency optimization, and should generally be the common case.  If this value is less than the number of flits transfered, it implies that there was queueing getting onto the ring, and thus the transactions saw higher latency."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_NCS_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_NCS_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - NCS; for VN0",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. NCS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_SNOOP_RESP.RSPCNFLCT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSPCNFLCT",
                                                                          brief_description:
                                                                              "Snoop Responses Received; RSPCNFLCT*",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for snoops responses of RspConflict.  This is returned when a snoop finds an existing outstanding transaction in a remote caching agent when it CAMs that caching agent.  This triggers conflict resolution hardware.  This covers both RspCnflct and RspCnflctWbI."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PKG_C_STATE_RESIDENCY_C3_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(44),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PKG_C_STATE_RESIDENCY_C3_CYCLES",
                                                                          brief_description:
                                                                              "Package C State Residency - C3",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the package is in C3"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_I_TxR_REQUEST_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_TxR_REQUEST_OCCUPANCY",
                                                                          brief_description:
                                                                              "Outbound Request Queue Occupancy",
                                                                          public_description:
                                                                              Some("Accumultes the number of outstanding outbound requests from the IRP to the switch (towards the devices).  This can be used in conjuection with the allocations event in order to calculate average latency of outbound requests."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G1.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(24),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G1.DRS",
                                                                          brief_description:
                                                                              "Flits Received - Group 1; DRS Flits (both Header and Data)",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of flits received over QPI on the DRS (Data Response) channel.  DRS flits are used to transmit data with coherency.  This does not count data flits received over the NCB channel which transmits non-coherent data."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RxR_ISMQ_RETRY.ANY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_ISMQ_RETRY.ANY",
                                                                          brief_description:
                                                                              "ISMQ Retries; Any Reject",
                                                                          public_description:
                                                                              Some("Number of times a transaction flowing through the ISMQ had to retry.  Transaction pass through the ISMQ as responses for requests that already exist in the Cbo.  Some examples include: when data is returned or when snoop responses come back from the cores.; Counts the total number of times that a request from the ISMQ retried because of a TOR reject.  ISMQ requests generally will not need to retry (or at least ISMQ retries are less common than IRQ retries).  ISMQ requests will retry if they are not able to acquire a needed Egress credit to get onto the ring, or for cache evictions that need to acquire an RTID.  Most ISMQ requests already have an RTID, so eviction retries will be less common here."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_IV_USED.DOWN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_C_RING_IV_USED.DOWN",
                                                                          brief_description:
                                                                              "IV Ring in Use; Down",
                                                                          public_description:
                                                                              Some("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 sent from the ring stop.; Filters for Down polarity"),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN2",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Regular; Channel 2",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 2 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_ACQUIRED.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_ACQUIRED.NCB",
                                                                          brief_description:
                                                                              "R2PCIe IIO Credit Acquired; NCB",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the NCB message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IMC_RETRY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(30),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IMC_RETRY",
                                                                          brief_description:
                                                                              "Retry Events",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK1",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 1",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.MISS_ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(10),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.MISS_ALL",
                                                                          brief_description:
                                                                              "TOR Occupancy; Miss All",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding miss requests in the TOR.  \'Miss\' means the allocation requires an RTID.  This generally means that the request was sent to memory or MMIO."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.DOWN_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.DOWN_VR0_ODD",
                                                                          brief_description:
                                                                              "AK Ring In Use; Down and Odd on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.DOWN_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.DOWN_VR0_ODD",
                                                                          brief_description:
                                                                              "BL Ring in Use; Down and Odd on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Down and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_PKG_C_STATE_RESIDENCY_C0_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_PKG_C_STATE_RESIDENCY_C0_CYCLES",
                                                                          brief_description:
                                                                              "Package C State Residency - C0",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the package is in C0"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE10",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE10",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 10",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_QLRU.VICTIM_NON_ZERO",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(60),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_QLRU.VICTIM_NON_ZERO",
                                                                          brief_description:
                                                                              "LRU Queue; Non-0 Aged Victim",
                                                                          public_description:
                                                                              Some("How often we picked a victim that had a non-zero age"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MATCH_MASK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MATCH_MASK",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_TOR_OCCUPANCY.REMOTE_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(129),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.REMOTE_OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; Remote Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); Number of outstanding  transactions, satisifed by an opcode,  in the TOR that are satisifed by remote caches or remote memory."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NCS.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(11),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NCS.VN1",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NCS; for VN1",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NCS flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AD_USED.UP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.UP",
                                                                          brief_description:
                                                                              "AD Ring In Use; Up",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK0",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_TxR_NACK_CW.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_TxR_NACK_CW.BL",
                                                                          brief_description:
                                                                              "Egress NACK; AK CW",
                                                                          public_description:
                                                                              Some("BL Clockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_BAND3_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(14),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_BAND3_CYCLES",
                                                                          brief_description:
                                                                              "Frequency Residency",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[31:24]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_TxR_NACK_CW.AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(38),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_TxR_NACK_CW.AK",
                                                                          brief_description:
                                                                              "Egress NACK; AD CCW",
                                                                          public_description:
                                                                              Some("AD CounterClockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_OCCUPANCY_NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(23),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_OCCUPANCY_NCS",
                                                                          brief_description:
                                                                              "RxQ Occupancy - NCS",
                                                                          public_description:
                                                                              Some("Accumulates the number of elements in the QPI RxQ in each cycle.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Not Empty event to calculate average occupancy, or with the Flit Buffer Allocations event to track average lifetime.  This monitors NCS flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_RxR_OCCUPANCY.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_RxR_OCCUPANCY.NCB",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; NCB",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given QPI Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the QPI Ingress Not Empty event to calculate average occupancy or the QPI Ingress Allocations event in order to calculate average queuing latency.; NCB Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_OCCUPANCY.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_RxR_OCCUPANCY.DRS",
                                                                          brief_description:
                                                                              "Ingress Occupancy Accumulator; DRS",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of a given QPI Ingress queue in each cycles.  This tracks one of the three ring Ingress buffers.  This can be used with the QPI Ingress Not Empty event to calculate average occupancy or the QPI Ingress Allocations event in order to calculate average queuing latency.; DRS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK7.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(183),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK7.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 7; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_BL_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R3_RING_BL_USED.CW",
                                                                          brief_description:
                                                                              "R3 BL Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK1",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_WPQ_CYCLES_NO_SPEC_CREDITS.CHN2",
                                                                          brief_description:
                                                                              "HA iMC CHN0 WPQ Credits Empty - Special; Channel 2",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting writes from the HA into the iMC.  In order to send writes into the memory controller, the HA must first acquire a credit for the iMC\'s WPQ (write pending queue).  This queue is broken into regular credits/buffers that are used by general writes, and \'special\' requests such as ISOCH writes.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 2 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_MAJOR_MODES.ISOCH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_MAJOR_MODES.ISOCH",
                                                                          brief_description:
                                                                              "Cycles in a Major Mode; Isoch Major Mode",
                                                                          public_description:
                                                                              Some("Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel.   Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; We group these two modes together so that we can use four counters to track each of the major modes at one time.  These major modes are used whenever there is an ISOCH txn in the memory controller.  In these mode, only ISOCH transactions are processed."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_ACQUIRED.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_ACQUIRED.NCS",
                                                                          brief_description:
                                                                              "R2PCIe IIO Credit Acquired; NCS",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the NCS message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_PRIO.MED",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(160),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_PRIO.MED",
                                                                          brief_description:
                                                                              "Read CAS issued with MEDIUM priority",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_CYCLES_NE.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_RxR_CYCLES_NE.NCB",
                                                                          brief_description:
                                                                              "Ingress Cycles Not Empty; NCB",
                                                                          public_description:
                                                                              Some("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.; NCB Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CYCLES_NE_NCB.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CYCLES_NE_NCB.VN1",
                                                                          brief_description:
                                                                              "RxQ Cycles Not Empty - NCB; for VN1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles that the QPI RxQ was not empty.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy Accumulator event to calculate the average occupancy.  This monitors NCB flits only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_TxR_BL.DRS_CACHE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_TxR_BL.DRS_CACHE",
                                                                          brief_description:
                                                                              "Outbound DRS Ring Transactions to Cache; Data to Cache",
                                                                          public_description:
                                                                              Some("Counts the number of DRS messages sent out on the BL ring.   This can be filtered by the destination.; Filter for data being sent to the cache."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WPQ_READ_HIT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_WPQ_READ_HIT",
                                                                          brief_description:
                                                                              "Write Pending Queue CAM Match",
                                                                          public_description:
                                                                              Some("Counts the number of times a request hits in the WPQ (write-pending queue).  The iMC allows writes and reads to pass up other writes to different addresses.  Before a read or a write is issued, it will first CAM the WPQ to see if there is a write pending to that address.  When reads hit, they are able to directly pull their data from the WPQ instead of going to memory.  Writes that hit will overwrite the existing data.  Partial writes that hit will not need to do underfill reads and will simply update their relevant sections."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.AK_CACHE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.AK_CACHE",
                                                                          brief_description:
                                                                              "Egress Allocations; AK - Cachebo",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Cachebo destined for the AK ring.  This is commonly used for credit returns and GO responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_AD_CREDITS_EMPTY.VN0_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(42),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_AD_CREDITS_EMPTY.VN0_HOM",
                                                                          brief_description:
                                                                              "QPI1 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the AD Ring; VN0 HOM Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_ISMQ_RETRY.RTID",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RxR_ISMQ_RETRY.RTID",
                                                                          brief_description:
                                                                              "ISMQ Retries; No RTIDs",
                                                                          public_description:
                                                                              Some("Number of times a transaction flowing through the ISMQ had to retry.  Transaction pass through the ISMQ as responses for requests that already exist in the Cbo.  Some examples include: when data is returned or when snoop responses come back from the cores.; Counts the number of times that a request from the ISMQ retried because of a TOR reject caused by no RTIDs.  M-state cache evictions are serviced through the ISMQ, and must acquire an RTID in order to write back to memory.  If no RTIDs are available, they will be retried."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_CREDITS_CONSUMED_VN1.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CREDITS_CONSUMED_VN1.NCB",
                                                                          brief_description:
                                                                              "VN1 Credit Consumed; NCB",
                                                                          public_description:
                                                                              Some("Counts the number of times that an RxQ VN1 credit was consumed (i.e. message uses a VN1 credit for the Rx Buffer).  This includes packets that went through the RxQ and those that were bypasssed.; VN1 credit for the NCB message class."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_TOR_INSERTS.NID_MISS_ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(74),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.NID_MISS_ALL",
                                                                          brief_description:
                                                                              "TOR Inserts; NID Matched Miss All",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; All NID matched miss requests that were inserted into the TOR."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[15:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK4",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_AD_USED.CW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R2_RING_AD_USED.CW_VR1_EVEN",
                                                                          brief_description:
                                                                              "R2 AD Ring in Use; Clockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_INSERTS.IPQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_C_RxR_INSERTS.IPQ",
                                                                          brief_description:
                                                                              "Ingress Allocations; IPQ",
                                                                          public_description:
                                                                              Some("Counts number of allocations per cycle into the specified Ingress queue."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK2.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(186),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK2.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 2; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_IIO_CREDITS_ACQUIRED.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(51),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_IIO_CREDITS_ACQUIRED.DRS",
                                                                          brief_description:
                                                                              "R2PCIe IIO Credit Acquired; DRS",
                                                                          public_description:
                                                                              Some("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).; Credits to the IIO for the DRS message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_OCCUPANCY.SCHED1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_OCCUPANCY.SCHED1",
                                                                          brief_description:
                                                                              "AD Egress Occupancy; Scheduler 1",
                                                                          public_description:
                                                                              Some("AD Egress Occupancy; Filter for occupancy from scheduler bank 1"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.REMOTE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(136),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.REMOTE",
                                                                          brief_description:
                                                                              "TOR Occupancy",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182)"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE12",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE12",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 12",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RxR_EXT_STARVED.IRQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RxR_EXT_STARVED.IRQ",
                                                                          brief_description:
                                                                              "Ingress Arbiter Blocking Cycles; IPQ",
                                                                          public_description:
                                                                              Some("Counts cycles in external starvation.  This occurs when one of the ingress queues is being starved by the other queues.; IRQ is externally starved and therefore we are blocking the IPQ."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BOUNCES.IV",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RING_BOUNCES.IV",
                                                                          brief_description:
                                                                              "Number of LLC responses that bounced on the Ring.; Snoops of processor\'s cache.",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(31),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE1",
                                                                          brief_description:
                                                                              "Core 1 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_LLC_LOOKUP.DATA_READ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_C_LLC_LOOKUP.DATA_READ",
                                                                          brief_description:
                                                                              "Cache Lookups; Data Read Request",
                                                                          public_description:
                                                                              Some("Counts the number of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2.  This has numerous filters available.  Note the non-standard filtering equation.  This event will count requests that lookup the cache multiple times with multiple increments.  One must ALWAYS set filter mask bit 0 and select a state or states to match.  Otherwise, the event will count nothing.   CBoGlCtrl[22:17] bits correspond to [M\'FMESI] state.; Read transactions"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter0[23:17]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CCW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CCW_VR1_ODD",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Counterclockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VNA_CREDITS_REJECT.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(52),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_VNA_CREDITS_REJECT.HOM",
                                                                          brief_description:
                                                                              "VNA Credit Reject; HOM Message Class",
                                                                          public_description:
                                                                              Some("Number of attempted VNA credit acquisitions that were rejected because the VNA credit pool was full (or almost full).  It is possible to filter this event by message class.  Some packets use more than one flit buffer, and therefore must acquire multiple credits.  Therefore, one could get a reject even if the VNA credits were not fully used up.  The VNA pool is generally used to provide the bulk of the QPI bandwidth (as opposed to the VN0 pool which is used to guarantee forward progress).  VNA credits can run out if the flit buffer on the receiving side starts to queue up substantially.  This can happen if the rest of the uncore is unable to drain the requests fast enough.; Filter for the Home (HOM) message class.  HOM is generally used to send requests, request responses, and snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_STARVED.AK_BOTH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_TxR_STARVED.AK_BOTH",
                                                                          brief_description:
                                                                              "Injection Starvation; Onto AK Ring",
                                                                          public_description:
                                                                              Some("Counts injection starvation.  This starvation is triggered when the Egress cannot send a transaction onto the ring for a long period of time.; cycles that both AK egresses spent in starvation"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNOOP_RESP.RSPS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_SNOOP_RESP.RSPS",
                                                                          brief_description:
                                                                              "Snoop Responses Received; RspS",
                                                                          public_description:
                                                                              Some("Counts the total number of RspI snoop responses received.  Whenever a snoops are issued, one or more snoop responses will be returned depending on the topology of the system.   In systems larger than 2s, when multiple snoops are returned this will count all the snoops that are received.  For example, if 3 snoops were issued and returned RspI, RspS, and RspSFwd; then each of these sub-events would increment by 1.; Filters for snoop responses of RspS.  RspS is returned when a remote cache has data but is not forwarding it.  It is a way to let the requesting socket know that it cannot allocate the data in E state.  No data is sent with S RspS."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_WRITE_ORDERING_STALL_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_WRITE_ORDERING_STALL_CYCLES",
                                                                          brief_description:
                                                                              "Write Ordering Stalls",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are pending write ACK\'s in the switch but the switch->IRP pipeline is not utilized."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK0.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(176),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK0.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 0; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.A2I",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.A2I",
                                                                          brief_description:
                                                                              "Directory Updates: A2I",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_FILTER_MATCH.ENABLE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_U_FILTER_MATCH.ENABLE",
                                                                          brief_description:
                                                                              "Filter Match",
                                                                          public_description:
                                                                              Some("Filter match per thread (w/ or w/o Filter Enable).  Specify the thread to filter on using NCUPMONCTRLGLCTR.ThreadID."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              Some("UBoxFilter[3:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE3_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(115),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE3_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 3 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_CACHE_WRITE_OCCUPANCY.SOURCE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_I_CACHE_WRITE_OCCUPANCY.SOURCE",
                                                                          brief_description:
                                                                              "Outstanding Write Occupancy; Select Source",
                                                                          public_description:
                                                                              Some("Accumulates the number of writes (and write prefetches)  that are outstanding in the uncore in each cycle.  This can be used with the transaction count event to calculate the average latency in the uncore.  The occupancy increments when the ownership fetch/prefetch is issued, and decrements the data is returned to the uncore.; Tracks only those requests that come from the port specified in the IRP_PmonFilter.OrderingQ register.  This register allows one to select one specific queue.  It is not possible to monitor multiple queues at a time."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G2.NDR_AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G2.NDR_AD",
                                                                          brief_description:
                                                                              "Flits Received - Group 2; Non-Data Response Rx Flits - AD",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of flits received over the NDR (Non-Data Response) channel.  This channel is used to send a variety of protocol flits including grants and completions.  This is only for NDR packets to the local socket which use the AK ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_QPI0_AD_CREDITS_EMPTY.VN1_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R3_QPI0_AD_CREDITS_EMPTY.VN1_NDR",
                                                                          brief_description:
                                                                              "QPI0 AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI0 on the AD Ring; VN1 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_CYCLES_NE.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_RxR_CYCLES_NE.SNP",
                                                                          brief_description:
                                                                              "Ingress Cycles Not Empty; SNP",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the QPI Ingress is not empty.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue occupancy.  Multiple ingress buffers can be tracked at a given time using multiple counters.; SNP Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_IV_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R3_RING_IV_USED.CW",
                                                                          brief_description:
                                                                              "R2 IV Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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 sent, 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.; Filters for Clockwise polarity"),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G0.NON_DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G0.NON_DATA",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 0; Non-Data protocol Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits transmitted across the QPI Link.  It includes filters for Idle, protocol, and Data Flits.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.; Number of non-NULL non-data flits transmitted across QPI.  This basically tracks the protocol overhead on the QPI link.  One can get a good picture of the QPI-link characteristics by evaluating the protocol flits, data flits, and idle/null flits.  This includes the header flits for data packets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.NO_SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.NO_SNP",
                                                                          brief_description:
                                                                              "Directory Lookups; Snoop Not Needed",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to.; Filters for transactions that did not have to send any snoops because the directory bit was clear."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO7",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 7"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_CORE5_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(117),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE5_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 5 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TRANSACTIONS.READS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_I_TRANSACTIONS.READS",
                                                                          brief_description:
                                                                              "Inbound Transaction Count; Reads",
                                                                          public_description:
                                                                              Some("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.; Tracks only read requests (not including read prefetches)."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G1.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(6),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.HOM",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; HOM Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of flits transmitted over QPI on the home channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_STALLS_VN0.GV",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN0.GV",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN0; GV",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 0; Stalled because a GV transition (frequency transition) was taking place."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_BYP_CMDS.CAS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(161),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_M_BYP_CMDS.CAS",
                                                                          brief_description:
                                                                              "CAS command issued by 2 cycle bypass",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_MIN_IO_P_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(97),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_MIN_IO_P_CYCLES",
                                                                          brief_description:
                                                                              "IO P Limit Strongest Lower Limit Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when IO P Limit is preventing us from dropping the frequency lower.  This algorithm monitors the needs to the IO subsystem on both local and remote sockets and will maintain a frequency high enough to maintain good IO BW.  This is necessary for when all the IA cores on a socket are idle but a user still would like to maintain high IO Bandwidth."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_ADS_USED.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_TxR_ADS_USED.AD",
                                                                          brief_description:
                                                                              "Onto AD Ring",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AK_NDR_CREDIT_ACQUIRED.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AK_NDR_CREDIT_ACQUIRED.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AK NDR: for VN0",
                                                                          public_description:
                                                                              Some("Number of credits into the R3 (for transactions across the BGF) acquired each cycle. Local NDR message class to AK Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_RxL_CRC_ERRORS.NORMAL_OP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_CRC_ERRORS.NORMAL_OP",
                                                                          brief_description:
                                                                              "CRC Errors Detected; Normal Operations",
                                                                          public_description:
                                                                              Some("Number of CRC errors detected in the QPI Agent.  Each QPI flit incorporates 8 bits of CRC for error detection.  This counts the number of flits where the CRC was able to detect an error.  After an error has been detected, the QPI agent will send a request to the transmitting socket to resend the flit (as well as any flits that came after it).; CRC errors detected during normal operation."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN1.BGF_HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(58),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN1.BGF_HOM",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN1; BGF Stall - DRS",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 1.; Stalled a packet from the DRS message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_U_U2C_EVENTS.TRAP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.TRAP",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Trap",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO6",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 6"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DELAYED_C_STATE_ABORT_CORE6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DELAYED_C_STATE_ABORT_CORE6",
                                                                          brief_description:
                                                                              "Deep C State Rejection - Core 6",
                                                                          public_description:
                                                                              Some("Number of times that a deep C state was requested, but the delayed C state algorithm \'rejected\' the deep sleep state.  In other words, a wake event occurred before the timer expired that causes a transition into the deeper C state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_INSERTS.HOM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_RxR_INSERTS.HOM",
                                                                          brief_description:
                                                                              "Ingress Allocations; HOM",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the QPI Ingress.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; HOM Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.UP_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.UP_VR0_ODD",
                                                                          brief_description:
                                                                              "AD Ring In Use; Up and Odd on Vring 0",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AD_USED.CCW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_RING_AD_USED.CCW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R3 AD Ring in Use; Counterclockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK3.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(187),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK3.BANK2",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 3; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS_NCB.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS_NCB.VN1",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations - NCB; for VN1",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime.  This monitors only NCB flits."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_CLOCKTICKS",
                                                                          brief_description:
                                                                              "uclks",
                                                                          public_description:
                                                                              Some("Counts the number of uclks in the HA.  This will be slightly different than the count in the Ubox because of enable/freeze delays.  The HA is on the other side of the die from the fixed Ubox uclk counter, so the drift could be somewhat larger than in units that are closer like the QPI Agent."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.WbEData",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.WbEData",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_RING_AK_USED.CCW_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CCW_VR1_ODD",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Counterclockwise and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TOR_OCCUPANCY.OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(54),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_TOR_OCCUPANCY.OPCODE",
                                                                          brief_description:
                                                                              "TOR Occupancy; Opcode Match",
                                                                          public_description:
                                                                              Some("For each cycle, this event accumulates the number of valid entries in the TOR that match qualifications specified by the subevent.   There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc to DRD (0x182); TOR entries that match an opcode (matched by Cn_MSR_PMON_BOX_FILTER.opc)."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK7.BANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(191),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK7.BANK6",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 7; Bank 6",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(22),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_SPEC_CREDITS.CHN3",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Special; Channel 3",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'special\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the \'special\' credits.  This statistic is generally not interesting for general IA workloads, but may be of interest for understanding the characteristics of systems using ISOCH.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 3 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AD_USED.DOWN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(27),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_C_RING_AD_USED.DOWN",
                                                                          brief_description:
                                                                              "AD Ring In Use; Down",
                                                                          public_description:
                                                                              Some("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.  We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_UPDATE.I2S",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(13),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_UPDATE.I2S",
                                                                          brief_description:
                                                                              "Directory Updates: I2S",
                                                                          public_description:
                                                                              Some("Counts the number of directory updates that were required.  These result in writes to the memory controller.  This can be filtered by directory sets and directory clears."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_REJECT.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(57),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_REJECT.SNP",
                                                                          brief_description:
                                                                              "VN1 Credit Acquisition Failed on DRS; SNP Message Class",
                                                                          public_description:
                                                                              Some("Number of times a request failed to acquire a VN1 credit.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This therefore counts the number of times when a request failed to acquire either a VNA or VN1 credit and is delayed.  This should generally be a rare situation.; Filter for Snoop (SNP) message class.  SNP is used for outgoing snoops.  Note that snoop responses flow on the HOM message class."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.DataC_F_FrcAckCnflt",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.DataC_F_FrcAckCnflt",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_RING_AK_USED.UP_VR1_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.UP_VR1_ODD",
                                                                          brief_description:
                                                                              "AK Ring In Use; Up and Odd on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Odd ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.NCS.AnyMsg1or2flits",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCS.AnyMsg1or2flits",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_TxR_NACK_CCW.BL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(40),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_R3_TxR_NACK_CCW.BL",
                                                                          brief_description:
                                                                              "Egress NACK; BL CCW",
                                                                          public_description:
                                                                              Some("AD CounterClockwise Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.UP_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.UP_VR1_EVEN",
                                                                          brief_description:
                                                                              "BL Ring in Use; Up and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_VN1_CREDITS_USED.NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_R3_VN1_CREDITS_USED.NCB",
                                                                          brief_description:
                                                                              "VN1 Credit Used; NCB Message Class",
                                                                          public_description:
                                                                              Some("Number of times a VN1 credit was used on the DRS message channel.  In order for a request to be transferred across QPI, it must be guaranteed to have a flit buffer on the remote socket to sink into.  There are two credit pools, VNA and VN1.  VNA is a shared pool used to achieve high performance.  The VN1 pool has reserved entries for each message class and is used to prevent deadlock.  Requests first attempt to acquire a VNA credit, and then fall back to VN1 if they fail.  This counts the number of times a VN1 credit was used.  Note that a single VN1 credit holds access to potentially multiple flit buffers.  For example, a transfer that uses VNA could use 9 flit buffers and in that case uses 9 credits.  A transfer on VN1 will only count a single credit even though it may use multiple buffers.; Filter for Non-Coherent Broadcast (NCB).  NCB is generally used to transmit data without coherency.  For example, non-coherent read data returns."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_DEMOTIONS_CORE3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(33),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_DEMOTIONS_CORE3",
                                                                          brief_description:
                                                                              "Core 3 C State Demotions",
                                                                          public_description:
                                                                              Some("Counts the number of times when a configurable cores had a C-state demotion"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              Some("PCUFilter[7:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_PREEMPTION.RD_PREEMPT_RD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_PREEMPTION.RD_PREEMPT_RD",
                                                                          brief_description:
                                                                              "Read Preemption Count; Read over Read Preemption",
                                                                          public_description:
                                                                              Some("Counts the number of times a read in the iMC preempts another read or write.  Generally reads to an open page are issued ahead of requests to closed pages.  This improves the page hit rate of the system.  However, high priority requests can cause pages of active requests to be closed in order to get them out.  This will reduce the latency of the high-priority request at the expense of lower bandwidth and increased overall average latency.; Filter for when a read preempts another read."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_AK_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R3_RING_AK_USED.CCW",
                                                                          brief_description:
                                                                              "R3 AK Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_ADDR_OPC_MATCH.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_H_ADDR_OPC_MATCH.AD",
                                                                          brief_description:
                                                                              "QPI Address/Opcode Match; AD Opcodes",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              Some("HA_OpcodeMatch[5:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_AK_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_C_RING_AK_USED.CW",
                                                                          brief_description:
                                                                              "AK Ring In Use; Clockwise",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK5.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(189),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK5.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 5; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_DRS_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_DRS_INSERTS",
                                                                          brief_description:
                                                                              "BL Ingress Occupancy - DRS",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the BL Ingress.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RING_BL_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_R3_RING_BL_USED.CCW",
                                                                          brief_description:
                                                                              "R3 BL Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(7),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_EXT_STARVED.ISMQ_BIDS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(18),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RxR_EXT_STARVED.ISMQ_BIDS",
                                                                          brief_description:
                                                                              "Ingress Arbiter Blocking Cycles; ISMQ_BID",
                                                                          public_description:
                                                                              Some("Counts cycles in external starvation.  This occurs when one of the ingress queues is being starved by the other queues.; Number of times that the ISMQ Bid."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_DIRECT2CORE.FAILURE_RBT_HIT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(19),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_DIRECT2CORE.FAILURE_RBT_HIT",
                                                                          brief_description:
                                                                              "Direct 2 Core Spawning; Spawn Failure - RBT Invalid",
                                                                          public_description:
                                                                              Some("Counts the number of DRS packets that we attempted to do direct2core on.  There are 4 mutually exlusive filters.  Filter [0] can be used to get successful spawns, while [1:3] provide the different failure cases.  Note that this does not count packets that are not candidates for Direct2Core.  The only candidates for Direct2Core are DRS packets destined for Cbos.; The spawn failed because the route-back table (RBT) specified that the transaction should not trigger a direct2core tranaction.  This is common for IO transactions.  There were enough Egress credits and the RBT tag matched but the valid bit was not set."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPSFWD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPSFWD",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; RspSFwd",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for a snoop response of RspSFwd.  This is returned when a remote caching agent forwards data but holds on to its currentl copy.  This is common for data and code reads that hit in a remote socket in E or F state."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RxR_CYCLES_NE.NCS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(16),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_R2_RxR_CYCLES_NE.NCS",
                                                                          brief_description:
                                                                              "Ingress Cycles Not Empty; NCS",
                                                                          public_description:
                                                                              Some("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.; NCS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxL_INSERTS",
                                                                          brief_description:
                                                                              "Tx Flit Buffer Allocations",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Tx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the TxQ and pass directly to the link.  However, the TxQ will be used with L0p and when LLR occurs, increasing latency to transfer out to the link.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK2",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK2",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 2",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.NCB.AnyMsg",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.NCB.AnyMsg",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO3",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 3"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LOOKUP.SNP",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LOOKUP.SNP",
                                                                          brief_description:
                                                                              "Directory Lookups; Snoop Needed",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that looked up the directory.  Can be filtered by requests that had to snoop and those that did not have to.; Filters for transactions that had to send one or more snoops because the directory bit was set."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_OCCUPANCY.IRQ_REJ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_C_RxR_OCCUPANCY.IRQ_REJ",
                                                                          brief_description:
                                                                              "Ingress Occupancy; IRQ Rejected",
                                                                          public_description:
                                                                              Some("Counts number of entries in the specified Ingress queue in each cycle."),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_BL_DRS_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(31),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_BL_DRS_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - BL DRS; for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  DRS message class to BL Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_DIRECT2CORE_COUNT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_DIRECT2CORE_COUNT",
                                                                          brief_description:
                                                                              "Direct2Core Messages Sent",
                                                                          public_description:
                                                                              Some("Number of Direct2Core messages sent"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TAD_REQUESTS_G1.REGION9",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(28),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_TAD_REQUESTS_G1.REGION9",
                                                                          brief_description:
                                                                              "HA Requests to a TAD Region - Group 1; TAD Region 9",
                                                                          public_description:
                                                                              Some("Counts the number of HA requests to a given TAD region.  There are up to 11 TAD (target address decode) regions in each home agent.  All requests destined for the memory controller must first be decoded to determine which TAD region they are in.  This event is filtered based on the TAD region ID, and covers regions 8 to 10.  This event is useful for understanding how applications are using the memory that is spread across the different memory regions.  It is particularly useful for \'Monroe\' systems that use the TAD to enable individual channels to enter self-refresh to save power.; Filters request made to TAD Region 9"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK0",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_INSERTS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(8),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_RxL_INSERTS",
                                                                          brief_description:
                                                                              "Rx Flit Buffer Allocations",
                                                                          public_description:
                                                                              Some("Number of allocations into the QPI Rx Flit Buffer.  Generally, when data is transmitted across QPI, it will bypass the RxQ and pass directly to the ring interface.  If things back up getting transmitted onto the ring, however, it may need to allocate into this buffer, thus increasing the latency.  This event can be used in conjunction with the Flit Buffer Occupancy event in order to calculate the average flit buffer lifetime."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_CAS_COUNT.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(4),
                                                                          umask:
                                                                              Tuple::One(15),
                                                                          event_name:
                                                                              "UNC_M_CAS_COUNT.ALL",
                                                                          brief_description:
                                                                              "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (w/ and w/out auto-pre)",
                                                                          public_description:
                                                                              Some("DRAM RD_CAS and WR_CAS Commands; Counts the total number of DRAM CAS commands issued on this channel."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_OSB_EDR.READS_LOCAL_I",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(84),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_OSB_EDR.READS_LOCAL_I",
                                                                          brief_description:
                                                                              "OSB Early Data Return; Reads to Local  I",
                                                                          public_description:
                                                                              Some("Counts the number of transactions that broadcast snoop due to OSB, but found clean data in memory and was able to do early data return"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IGR_AD_QPI2_ACCUMULATOR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(89),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_IGR_AD_QPI2_ACCUMULATOR",
                                                                          brief_description:
                                                                              "AD QPI Link 2 Credit Accumulator",
                                                                          public_description:
                                                                              Some("Accumulates the number of credits available to the QPI Link 2 AD Ingress buffer."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_SELF_REFRESH",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_POWER_SELF_REFRESH",
                                                                          brief_description:
                                                                              "Clock-Enabled Self-Refresh",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the iMC is in self-refresh and the iMC still has a clock.  This happens in some package C-states.  For example, the PCU may ask the iMC to enter self-refresh even though some of the cores are still processing.  One use of this is for Monroe technology.  Self-refresh is required during package C3 and C6, but there is no clock in the iMC at this time, so it is not possible to count these cases."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_U_U2C_EVENTS.OTHER",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_U_U2C_EVENTS.OTHER",
                                                                          brief_description:
                                                                              "Monitor Sent to T0; Other",
                                                                          public_description:
                                                                              Some("Events coming from Uncore can be sent to one or all cores; PREQ, PSMI, P2U, Thermal, PCUSMI, PMI"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("UBOX"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RING_BL_USED.UP_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(29),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_C_RING_BL_USED.UP_VR0_EVEN",
                                                                          brief_description:
                                                                              "BL Ring in Use; Up and Even on Vring 0",
                                                                          public_description:
                                                                              Some("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.We really have two rings in JKT -- a clockwise ring and a counter-clockwise ring.  On the left side of the ring, the \'UP\' direction is on the clockwise ring and \'DN\' is on the counter-clockwise ring.  On the right side of the ring, this is reversed.  The first half of the CBos are on the left side of the ring, and the 2nd half are on the right side of the ring.  In other words (for example), in a 4c part, Cbo 0 UP AD is NOT the same ring as CBo 2 UP AD because they are on opposite sides of the ring.; Filters for the Up and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(12),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_INSERTS.AD_CORE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(2),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_TxR_INSERTS.AD_CORE",
                                                                          brief_description:
                                                                              "Egress Allocations; AD - Corebo",
                                                                          public_description:
                                                                              Some("Number of allocations into the Cbo Egress.  The Egress is used to queue up requests destined for the ring.; Ring transactions from the Corebo destined for the AD ring.  This is commonly used for outbound requests."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_TxR_CYCLES_NE.AD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_TxR_CYCLES_NE.AD",
                                                                          brief_description:
                                                                              "Egress Cycles Not Empty; AD",
                                                                          public_description:
                                                                              Some("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.; AD Egress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(1),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IODC_CONFLICTS.REMOTE_INVI2E_SAME_RTID",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(87),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_H_IODC_CONFLICTS.REMOTE_INVI2E_SAME_RTID",
                                                                          brief_description:
                                                                              "IODC Conflicts: Remote InvItoE - Same RTID",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL_FLITS_G1.HOM_NONREQ",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_Q_TxL_FLITS_G1.HOM_NONREQ",
                                                                          brief_description:
                                                                              "Flits Transferred - Group 1; HOM Non-Request Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits trasmitted across the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for SNP, HOM, and DRS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the number of non-request flits transmitted over QPI on the home channel.  These are most commonly snoop responses, and this event can be used as a proxy for that."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_TxR_AK_NDR_CREDIT_OCCUPANCY.VN0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(37),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AK_NDR_CREDIT_OCCUPANCY.VN0",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AK NDR: for VN0",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of credits into the R3 (for transactions across the BGF) available in each cycle.  Local NDR message class to AK Egress."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_Q_MESSAGE.DRS.WbSData",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.WbSData",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_TOR_INSERTS.MISS_REMOTE_OPCODE",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(53),
                                                                          umask:
                                                                              Tuple::One(131),
                                                                          event_name:
                                                                              "UNC_C_TOR_INSERTS.MISS_REMOTE_OPCODE",
                                                                          brief_description:
                                                                              "TOR Inserts; Misses to Remote Memory - Opcode Matched",
                                                                          public_description:
                                                                              Some("Counts the number of entries successfuly inserted into the TOR that match  qualifications specified by the subevent.  There are a number of subevent \'filters\' but only a subset of the subevent combinations are valid.  Subevents that require an opcode or NID match require the Cn_MSR_PMON_BOX_FILTER.{opc, nid} field to be set.  If, for example, one wanted to count DRD Local Misses, one should select \'MISS_OPC_MATCH\' and set Cn_MSR_PMON_BOX_FILTER.opc  to DRD (0x182).; Miss transactions, satisifed by an opcode,  inserted into the TOR that are satisifed by remote caches or remote memory."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              Some("CBoFilter1[28:20]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_TxR_AD_CYCLES_NE.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(41),
                                                                          umask:
                                                                              Tuple::One(3),
                                                                          event_name:
                                                                              "UNC_H_TxR_AD_CYCLES_NE.ALL",
                                                                          brief_description:
                                                                              "AD Egress Not Empty; All",
                                                                          public_description:
                                                                              Some("AD Egress Not Empty; Cycles full from both schedulers"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_TxR_STARVED.IV",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_TxR_STARVED.IV",
                                                                          brief_description:
                                                                              "Injection Starvation; Onto IV Ring",
                                                                          public_description:
                                                                              Some("Counts injection starvation.  This starvation is triggered when the Egress cannot send a transaction onto the ring for a long period of time.; cycles that the cachebo IV egress spent in starvation"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_ADDR_OPC_MATCH.OPC",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(32),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_ADDR_OPC_MATCH.OPC",
                                                                          brief_description:
                                                                              "QPI Address/Opcode Match; Opcode",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              Some("HA_OpcodeMatch[5:0]"),
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK2.BANK5",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(178),
                                                                          umask:
                                                                              Tuple::One(32),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK2.BANK5",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 2; Bank 5",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_TxR_BL_STALL_CREDIT_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(25),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_TxR_BL_STALL_CREDIT_CYCLES",
                                                                          brief_description:
                                                                              "No BL Egress Credit Stalls",
                                                                          public_description:
                                                                              Some("Counts the number times when it is not possible to issue data to the R2PCIe because there are no BL Egress Credits available."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G0.DATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(1),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G0.DATA",
                                                                          brief_description:
                                                                              "Flits Received - Group 0; Data Tx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  It includes filters for Idle, protocol, and Data Flits.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time (for L0) or 4B instead of 8B for L0p.; Number of data flitsreceived over QPI.  Each flit contains 64b of data.  This includes both DRS and NCB data flits (coherent and non-coherent).  This can be used to calculate the data bandwidth of the QPI link.  One can get a good picture of the QPI-link characteristics by evaluating the protocol flits, data flits, and idle/null flits.  This does not include the header flits that go in data packets."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK4.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(180),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK4.BANK7",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 4; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.DRS.AnyResp9flits",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.DRS.AnyResp9flits",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_C_QLRU.LRU_DECREMENT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(60),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_C_QLRU.LRU_DECREMENT",
                                                                          brief_description:
                                                                              "LRU Queue; LRU Bits Decremented",
                                                                          public_description:
                                                                              Some("How often all LRU bits were decremented by 1"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK6",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(64),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK6",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_VMSE_MXB_WR_OCCUPANCY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(145),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_VMSE_MXB_WR_OCCUPANCY",
                                                                          brief_description:
                                                                              "VMSE MXB write buffer occupancy",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_CLOCKTICKS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(0),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_C_CLOCKTICKS",
                                                                          brief_description:
                                                                              "Uncore Clocks",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(21),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_RPQ_CYCLES_NO_REG_CREDITS.CHN1",
                                                                          brief_description:
                                                                              "iMC RPQ Credits Empty - Regular; Channel 1",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when there are no \'regular\' credits available for posting reads from the HA into the iMC.  In order to send reads into the memory controller, the HA must first acquire a credit for the iMC\'s RPQ (read pending queue).  This queue is broken into regular credits/buffers that are used by general reads, and \'special\' requests such as ISOCH reads.  This count only tracks the regular credits  Common high banwidth workloads should be able to make use of all of the regular buffers, but it will be difficult (and uncommon) to make use of both the regular and special buffers at the same time.  One can filter based on the memory controller channel.  One or more channels can be tracked at a given time.; Filter for memory controller channel 1 only."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK0",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 0",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_STALLS_VN1.BGF_NCB",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(58),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_STALLS_VN1.BGF_NCB",
                                                                          brief_description:
                                                                              "Stalls Sending to R3QPI on VN1; BGF Stall - SNP",
                                                                          public_description:
                                                                              Some("Number of stalls trying to send to R3QPI on Virtual Network 1.; Stalled a packet from the SNP message class because there were not enough BGF credits.  In bypass mode, we will stall on the packet boundary, while in RxQ mode we will stall on the flit boundary."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_WR_CAS_RANK4.BANK7",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(188),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK4.BANK7",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 4; Bank 7",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxL0_POWER_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(12),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_TxL0_POWER_CYCLES",
                                                                          brief_description:
                                                                              "Cycles in L0",
                                                                          public_description:
                                                                              Some("Number of QPI qfclk cycles spent in L0 power mode in the Link Layer.  L0 is the default mode which provides the highest performance with the most power.  Use edge detect to count the number of instances that the link entered L0.  Link power states are per link and per direction, so for example the Tx direction could be in one state while Rx was in another.  The phy layer  sometimes leaves L0 for training, which will not be captured by this event."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_MESSAGE.HOM.RespIWb",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(56),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_Q_MESSAGE.HOM.RespIWb",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_H_RING_AD_USED.CCW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(62),
                                                                          umask:
                                                                              Tuple::One(204),
                                                                          event_name:
                                                                              "UNC_H_RING_AD_USED.CCW",
                                                                          brief_description:
                                                                              "HA AD Ring in Use; Counterclockwise",
                                                                          public_description:
                                                                              Some("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."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_VMSE_WR_PUSH.WMM",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(144),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_M_VMSE_WR_PUSH.WMM",
                                                                          brief_description:
                                                                              "VMSE WR PUSH issued; VMSE write PUSH issued in WMM",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_RxR_INSERTS.DRS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(17),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_RxR_INSERTS.DRS",
                                                                          brief_description:
                                                                              "Ingress Allocations; DRS",
                                                                          public_description:
                                                                              Some("Counts the number of allocations into the QPI Ingress.  This tracks one of the three rings that are used by the QPI agent.  This can be used in conjunction with the QPI Ingress Occupancy Accumulator event in order to calculate average queue latency.  Multiple ingress buffers can be tracked at a given time using multiple counters.; DRS Ingress Queue"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_C_RxR_IRQ_RETRY.RTID",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(50),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_C_RxR_IRQ_RETRY.RTID",
                                                                          brief_description:
                                                                              "Ingress Request Queue Rejects; No RTIDs",
                                                                          public_description:
                                                                              Some("Counts the number of times that requests from the IRQ were retried because there were no RTIDs available.  RTIDs are required after a request misses the LLC and needs to send snoops and/or requests to memory.  If there are no RTIDs available, requests will queue up in the IRQ and retry until one becomes available.  Note that there are multiple RTID pools for the different sockets.  There may be cases where the local RTIDs are all used, but requests destined for remote memory can still acquire an RTID because there are remote RTIDs available.  This event does not provide any filtering for this case."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("CBO"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_NCB_CYCLES_FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(5),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_NCB_CYCLES_FULL",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the BL Ingress is full.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_IMC_WRITES.ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(26),
                                                                          umask:
                                                                              Tuple::One(15),
                                                                          event_name:
                                                                              "UNC_H_IMC_WRITES.ALL",
                                                                          brief_description:
                                                                              "HA to iMC Full Line Writes Issued; All Writes",
                                                                          public_description:
                                                                              Some("Counts the total number of full line writes issued from the HA into the memory controller.  This counts for all four channels.  It can be filtered by full/partial and ISOCH/non-ISOCH."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G2.NDR_AK",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G2.NDR_AK",
                                                                          brief_description:
                                                                              "Flits Received - Group 2; Non-Data Response Rx Flits - AK",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Counts the total number of flits received over the NDR (Non-Data Response) channel.  This channel is used to send a variety of protocol flits including grants and completions.  This is only for NDR packets destined for Route-thru to a remote socket."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_POWER_CKE_CYCLES.RANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(131),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_POWER_CKE_CYCLES.RANK3",
                                                                          brief_description:
                                                                              "CKE_ON_CYCLES by Rank; DIMM ID",
                                                                          public_description:
                                                                              Some("Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_P_FREQ_MAX_CURRENT_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(7),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_FREQ_MAX_CURRENT_CYCLES",
                                                                          brief_description:
                                                                              "Current Strongest Upper Limit Cycles",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when current is the upper limit on frequency."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_RING_AK_USED.CW_VR1_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(63),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_RING_AK_USED.CW_VR1_EVEN",
                                                                          brief_description:
                                                                              "HA AK Ring in Use; Clockwise and Even on VRing 1",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_DIRECTORY_LAT_OPT",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(65),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_H_DIRECTORY_LAT_OPT",
                                                                          brief_description:
                                                                              "Directory Lat Opt Return",
                                                                          public_description:
                                                                              Some("Directory Latency Optimization Data Return Path Taken. When directory mode is enabled and the directory retuned for a read is Dir=I, then data can be returned using a faster path if certain conditions are met (credits, free pipeline, etc)."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CCW_VR0_ODD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CCW_VR0_ODD",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Counterclockwise and Odd on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_TO_HT_NOT_ISSUED.WBMDATA_HAZARD",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(81),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_BT_TO_HT_NOT_ISSUED.WBMDATA_HAZARD",
                                                                          brief_description:
                                                                              "BT to HT Not Issued; Incoming Data Hazard",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the HA does not issue transaction from BT to HT.; Cycles unable to issue from BT due to incoming BL data hazard"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.OTHER",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(128),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.OTHER",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; Other",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for all other snoop responses."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_TxR_AD_SNP_CREDIT_OCCUPANCY.VN1",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(35),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_Q_TxR_AD_SNP_CREDIT_OCCUPANCY.VN1",
                                                                          brief_description:
                                                                              "R3QPI Egress Credit Occupancy - AD SNP; for VN1",
                                                                          public_description:
                                                                              Some("Occupancy event that tracks the number of link layer credits into the R3 (for transactions across the BGF) available in each cycle.  Flow Control FIFO fro Snoop messages on AD."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_P_CORE0_TRANSITION_CYCLES",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(112),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_P_CORE0_TRANSITION_CYCLES",
                                                                          brief_description:
                                                                              "Core 0 C State Transition Cycles",
                                                                          public_description:
                                                                              Some("Number of cycles spent performing core C state transitions.  There is one event per core."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("PCU"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_IV_USED.CW",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(10),
                                                                          umask:
                                                                              Tuple::One(51),
                                                                          event_name:
                                                                              "UNC_R2_RING_IV_USED.CW",
                                                                          brief_description:
                                                                              "R2 IV Ring in Use; Clockwise",
                                                                          public_description:
                                                                              Some("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 sent, 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.; Filters for Clockwise polarity"),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WMM_TO_RMM.VMSE_RETRY",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(192),
                                                                          umask:
                                                                              Tuple::One(4),
                                                                          event_name:
                                                                              "UNC_M_WMM_TO_RMM.VMSE_RETRY",
                                                                          brief_description:
                                                                              "Transition from WMM to RMM because of low threshold",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_QPI1_BL_CREDITS_EMPTY.VN0_NDR",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(46),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_R3_QPI1_BL_CREDITS_EMPTY.VN0_NDR",
                                                                          brief_description:
                                                                              "QPI1 BL Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to QPI1 on the BL Ring; VN0 NDR Messages"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_WR_CAS_RANK1.BANK3",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(185),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_M_WR_CAS_RANK1.BANK3",
                                                                          brief_description:
                                                                              "WR_CAS Access to Rank 1; Bank 3",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_BT_OCCUPANCY.WRITES_LOCAL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(67),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_H_BT_OCCUPANCY.WRITES_LOCAL",
                                                                          brief_description:
                                                                              "BT Occupancy; Writes Local",
                                                                          public_description:
                                                                              Some("Accumulates the occupancy of the HA BT pool in every cycle.  This can be used with the \'not empty\' stat to calculate average queue occupancy or the \'allocations\' stat in order to calculate average queue latency.  HA BTs are allocated as soon as a request enters the HA and is released after the snoop response and data return (or post in the case of a write) and the response is returned on the ring."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_I_RxR_BL_NCS_CYCLES_FULL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_I_RxR_BL_NCS_CYCLES_FULL",
                                                                          brief_description:
                                                                              "tbd",
                                                                          public_description:
                                                                              Some("Counts the number of cycles when the BL Ingress is full.  This queue is where the IRP receives data from R2PCIe (the ring).  It is used for data returns from read requets as well as outbound MMIO writes."),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("IRP"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R2_RING_BL_USED.CW_VR0_EVEN",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(9),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R2_RING_BL_USED.CW_VR0_EVEN",
                                                                          brief_description:
                                                                              "R2 BL Ring in Use; Clockwise and Even on VRing 0",
                                                                          public_description:
                                                                              Some("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.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R2PCIe"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_M_DRAM_PRE_ALL",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(6),
                                                                          umask:
                                                                              Tuple::One(0),
                                                                          event_name:
                                                                              "UNC_M_DRAM_PRE_ALL",
                                                                          brief_description:
                                                                              "DRAM Precharge All Commands",
                                                                          public_description:
                                                                              Some("Counts the number of times that the precharge all command was sent."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO0",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(43),
                                                                          umask:
                                                                              Tuple::One(1),
                                                                          event_name:
                                                                              "UNC_R3_C_LO_AD_CREDITS_EMPTY.CBO0",
                                                                          brief_description:
                                                                              "CBox AD Credits Empty",
                                                                          public_description:
                                                                              Some("No credits available to send to Cbox on the AD Ring (covers lower CBoxes); Cbox 0"),
                                                                          counter:
                                                                              Counter::Programmable(3),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("R3QPI"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_Q_RxL_FLITS_G2.NCB_NONDATA",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(3),
                                                                          umask:
                                                                              Tuple::One(8),
                                                                          event_name:
                                                                              "UNC_Q_RxL_FLITS_G2.NCB_NONDATA",
                                                                          brief_description:
                                                                              "Flits Received - Group 2; Non-Coherent non-data Rx Flits",
                                                                          public_description:
                                                                              Some("Counts the number of flits received from the QPI Link.  This is one of three \'groups\' that allow us to track flits.  It includes filters for NDR, NCB, and NCS message classes.  Each \'flit\' is made up of 80 bits of information (in addition to some ECC data).  In full-width (L0) mode, flits are made up of four \'fits\', each of which contains 20 bits of data (along with some additional ECC data).   In half-width (L0p) mode, the fits are only 10 bits, and therefore it takes twice as many fits to transmit a flit.  When one talks about QPI \'speed\' (for example, 8.0 GT/s), the \'transfers\' here refer to \'fits\'.  Therefore, in L0, the system will transfer 1 \'flit\' at the rate of 1/4th the QPI speed.  One can calculate the bandwidth of the link by taking: flits*80b/time.  Note that this is not the same as \'data\' bandwidth.  For example, when we are transfering a 64B cacheline across QPI, we will break it into 9 flits -- 1 with header information and 8 with 64 bits of actual \'data\' and an additional 16 bits of other information.  To calculate \'data\' bandwidth, one should therefore do: data flits * 8B / time.; Number of Non-Coherent Bypass non-data flits.  These packets are generally used to transmit non-coherent data across QPI, and the flits counted here are for headers and other non-data flits.  This includes extended headers."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("QPI LL"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              true,}),
                                      ("UNC_M_RD_CAS_RANK3.BANK4",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(179),
                                                                          umask:
                                                                              Tuple::One(16),
                                                                          event_name:
                                                                              "UNC_M_RD_CAS_RANK3.BANK4",
                                                                          brief_description:
                                                                              "RD_CAS Access to Rank 3; Bank 4",
                                                                          public_description:
                                                                              None,
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("iMC"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,}),
                                      ("UNC_H_SNP_RESP_RECV_LOCAL.RSPS",
                                       IntelPerformanceCounterDescription{event_code:
                                                                              Tuple::One(96),
                                                                          umask:
                                                                              Tuple::One(2),
                                                                          event_name:
                                                                              "UNC_H_SNP_RESP_RECV_LOCAL.RSPS",
                                                                          brief_description:
                                                                              "Snoop Responses Received Local; RspS",
                                                                          public_description:
                                                                              Some("Number of snoop responses received for a Local  request; Filters for snoop responses of RspS.  RspS is returned when a remote cache has data but is not forwarding it.  It is a way to let the requesting socket know that it cannot allocate the data in E state.  No data is sent with S RspS."),
                                                                          counter:
                                                                              Counter::Programmable(15),
                                                                          counter_ht_off:
                                                                              Counter::Fixed(0),
                                                                          pebs_counters:
                                                                              None,
                                                                          sample_after_value:
                                                                              0,
                                                                          msr_index:
                                                                              MSRIndex::None,
                                                                          msr_value:
                                                                              0,
                                                                          taken_alone:
                                                                              false,
                                                                          counter_mask:
                                                                              0,
                                                                          invert:
                                                                              false,
                                                                          any_thread:
                                                                              false,
                                                                          edge_detect:
                                                                              false,
                                                                          pebs:
                                                                              PebsType::Regular,
                                                                          precise_store:
                                                                              false,
                                                                          data_la:
                                                                              false,
                                                                          l1_hit_indication:
                                                                              false,
                                                                          errata:
                                                                              None,
                                                                          offcore:
                                                                              false,
                                                                          unit:
                                                                              Some("HA"),
                                                                          filter:
                                                                              None,
                                                                          extsel:
                                                                              false,})]),}