162306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/dfl_fmeX/format 262306a36Sopenharmony_ciDate: April 2020 362306a36Sopenharmony_ciKernelVersion: 5.8 462306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 562306a36Sopenharmony_ciDescription: Read-only. Attribute group to describe the magic bits 662306a36Sopenharmony_ci that go into perf_event_attr.config for a particular pmu. 762306a36Sopenharmony_ci (See ABI/testing/sysfs-bus-event_source-devices-format). 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci Each attribute under this group defines a bit range of the 1062306a36Sopenharmony_ci perf_event_attr.config. All supported attributes are listed 1162306a36Sopenharmony_ci below:: 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci event = "config:0-11" - event ID 1462306a36Sopenharmony_ci evtype = "config:12-15" - event type 1562306a36Sopenharmony_ci portid = "config:16-23" - event source 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci For example:: 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff" 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci It shows this fab_mmio_read is a fabric type (0x02) event with 2262306a36Sopenharmony_ci 0x06 local event id for overall monitoring (portid=0xff). 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/dfl_fmeX/cpumask 2562306a36Sopenharmony_ciDate: April 2020 2662306a36Sopenharmony_ciKernelVersion: 5.8 2762306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 2862306a36Sopenharmony_ciDescription: Read-only. This file always returns cpu which the PMU is bound 2962306a36Sopenharmony_ci for access to all fme pmu performance monitoring events. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/dfl_fmeX/events 3262306a36Sopenharmony_ciDate: April 2020 3362306a36Sopenharmony_ciKernelVersion: 5.8 3462306a36Sopenharmony_ciContact: Wu Hao <hao.wu@intel.com> 3562306a36Sopenharmony_ciDescription: Read-only. Attribute group to describe performance monitoring 3662306a36Sopenharmony_ci events specific to fme. Each attribute in this group describes 3762306a36Sopenharmony_ci a single performance monitoring event supported by this fme pmu. 3862306a36Sopenharmony_ci The name of the file is the name of the event. 3962306a36Sopenharmony_ci (See ABI/testing/sysfs-bus-event_source-devices-events). 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci All supported performance monitoring events are listed below. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci Basic events (evtype=0x00):: 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci clock = "event=0x00,evtype=0x00,portid=0xff" 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci Cache events (evtype=0x01):: 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci cache_read_hit = "event=0x00,evtype=0x01,portid=0xff" 5062306a36Sopenharmony_ci cache_read_miss = "event=0x01,evtype=0x01,portid=0xff" 5162306a36Sopenharmony_ci cache_write_hit = "event=0x02,evtype=0x01,portid=0xff" 5262306a36Sopenharmony_ci cache_write_miss = "event=0x03,evtype=0x01,portid=0xff" 5362306a36Sopenharmony_ci cache_hold_request = "event=0x05,evtype=0x01,portid=0xff" 5462306a36Sopenharmony_ci cache_data_write_port_contention = 5562306a36Sopenharmony_ci "event=0x06,evtype=0x01,portid=0xff" 5662306a36Sopenharmony_ci cache_tag_write_port_contention = 5762306a36Sopenharmony_ci "event=0x07,evtype=0x01,portid=0xff" 5862306a36Sopenharmony_ci cache_tx_req_stall = "event=0x08,evtype=0x01,portid=0xff" 5962306a36Sopenharmony_ci cache_rx_req_stall = "event=0x09,evtype=0x01,portid=0xff" 6062306a36Sopenharmony_ci cache_eviction = "event=0x0a,evtype=0x01,portid=0xff" 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ci Fabric events (evtype=0x02):: 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ci fab_pcie0_read = "event=0x00,evtype=0x02,portid=0xff" 6562306a36Sopenharmony_ci fab_pcie0_write = "event=0x01,evtype=0x02,portid=0xff" 6662306a36Sopenharmony_ci fab_pcie1_read = "event=0x02,evtype=0x02,portid=0xff" 6762306a36Sopenharmony_ci fab_pcie1_write = "event=0x03,evtype=0x02,portid=0xff" 6862306a36Sopenharmony_ci fab_upi_read = "event=0x04,evtype=0x02,portid=0xff" 6962306a36Sopenharmony_ci fab_upi_write = "event=0x05,evtype=0x02,portid=0xff" 7062306a36Sopenharmony_ci fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff" 7162306a36Sopenharmony_ci fab_mmio_write = "event=0x07,evtype=0x02,portid=0xff" 7262306a36Sopenharmony_ci fab_port_pcie0_read = "event=0x00,evtype=0x02,portid=?" 7362306a36Sopenharmony_ci fab_port_pcie0_write = "event=0x01,evtype=0x02,portid=?" 7462306a36Sopenharmony_ci fab_port_pcie1_read = "event=0x02,evtype=0x02,portid=?" 7562306a36Sopenharmony_ci fab_port_pcie1_write = "event=0x03,evtype=0x02,portid=?" 7662306a36Sopenharmony_ci fab_port_upi_read = "event=0x04,evtype=0x02,portid=?" 7762306a36Sopenharmony_ci fab_port_upi_write = "event=0x05,evtype=0x02,portid=?" 7862306a36Sopenharmony_ci fab_port_mmio_read = "event=0x06,evtype=0x02,portid=?" 7962306a36Sopenharmony_ci fab_port_mmio_write = "event=0x07,evtype=0x02,portid=?" 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci VTD events (evtype=0x03):: 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ci vtd_port_read_transaction = "event=0x00,evtype=0x03,portid=?" 8462306a36Sopenharmony_ci vtd_port_write_transaction = "event=0x01,evtype=0x03,portid=?" 8562306a36Sopenharmony_ci vtd_port_devtlb_read_hit = "event=0x02,evtype=0x03,portid=?" 8662306a36Sopenharmony_ci vtd_port_devtlb_write_hit = "event=0x03,evtype=0x03,portid=?" 8762306a36Sopenharmony_ci vtd_port_devtlb_4k_fill = "event=0x04,evtype=0x03,portid=?" 8862306a36Sopenharmony_ci vtd_port_devtlb_2m_fill = "event=0x05,evtype=0x03,portid=?" 8962306a36Sopenharmony_ci vtd_port_devtlb_1g_fill = "event=0x06,evtype=0x03,portid=?" 9062306a36Sopenharmony_ci 9162306a36Sopenharmony_ci VTD SIP events (evtype=0x04):: 9262306a36Sopenharmony_ci 9362306a36Sopenharmony_ci vtd_sip_iotlb_4k_hit = "event=0x00,evtype=0x04,portid=0xff" 9462306a36Sopenharmony_ci vtd_sip_iotlb_2m_hit = "event=0x01,evtype=0x04,portid=0xff" 9562306a36Sopenharmony_ci vtd_sip_iotlb_1g_hit = "event=0x02,evtype=0x04,portid=0xff" 9662306a36Sopenharmony_ci vtd_sip_slpwc_l3_hit = "event=0x03,evtype=0x04,portid=0xff" 9762306a36Sopenharmony_ci vtd_sip_slpwc_l4_hit = "event=0x04,evtype=0x04,portid=0xff" 9862306a36Sopenharmony_ci vtd_sip_rcc_hit = "event=0x05,evtype=0x04,portid=0xff" 9962306a36Sopenharmony_ci vtd_sip_iotlb_4k_miss = "event=0x06,evtype=0x04,portid=0xff" 10062306a36Sopenharmony_ci vtd_sip_iotlb_2m_miss = "event=0x07,evtype=0x04,portid=0xff" 10162306a36Sopenharmony_ci vtd_sip_iotlb_1g_miss = "event=0x08,evtype=0x04,portid=0xff" 10262306a36Sopenharmony_ci vtd_sip_slpwc_l3_miss = "event=0x09,evtype=0x04,portid=0xff" 10362306a36Sopenharmony_ci vtd_sip_slpwc_l4_miss = "event=0x0a,evtype=0x04,portid=0xff" 10462306a36Sopenharmony_ci vtd_sip_rcc_miss = "event=0x0b,evtype=0x04,portid=0xff" 105