1*724142f8SWu HaoWhat: /sys/bus/event_source/devices/dfl_fmeX/format 2*724142f8SWu HaoDate: April 2020 3*724142f8SWu HaoKernelVersion: 5.8 4*724142f8SWu HaoContact: Wu Hao <hao.wu@intel.com> 5*724142f8SWu HaoDescription: Read-only. Attribute group to describe the magic bits 6*724142f8SWu Hao that go into perf_event_attr.config for a particular pmu. 7*724142f8SWu Hao (See ABI/testing/sysfs-bus-event_source-devices-format). 8*724142f8SWu Hao 9*724142f8SWu Hao Each attribute under this group defines a bit range of the 10*724142f8SWu Hao perf_event_attr.config. All supported attributes are listed 11*724142f8SWu Hao below. 12*724142f8SWu Hao 13*724142f8SWu Hao event = "config:0-11" - event ID 14*724142f8SWu Hao evtype = "config:12-15" - event type 15*724142f8SWu Hao portid = "config:16-23" - event source 16*724142f8SWu Hao 17*724142f8SWu Hao For example, 18*724142f8SWu Hao 19*724142f8SWu Hao fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff" 20*724142f8SWu Hao 21*724142f8SWu Hao It shows this fab_mmio_read is a fabric type (0x02) event with 22*724142f8SWu Hao 0x06 local event id for overall monitoring (portid=0xff). 23*724142f8SWu Hao 24*724142f8SWu HaoWhat: /sys/bus/event_source/devices/dfl_fmeX/cpumask 25*724142f8SWu HaoDate: April 2020 26*724142f8SWu HaoKernelVersion: 5.8 27*724142f8SWu HaoContact: Wu Hao <hao.wu@intel.com> 28*724142f8SWu HaoDescription: Read-only. This file always returns cpu which the PMU is bound 29*724142f8SWu Hao for access to all fme pmu performance monitoring events. 30*724142f8SWu Hao 31*724142f8SWu HaoWhat: /sys/bus/event_source/devices/dfl_fmeX/events 32*724142f8SWu HaoDate: April 2020 33*724142f8SWu HaoKernelVersion: 5.8 34*724142f8SWu HaoContact: Wu Hao <hao.wu@intel.com> 35*724142f8SWu HaoDescription: Read-only. Attribute group to describe performance monitoring 36*724142f8SWu Hao events specific to fme. Each attribute in this group describes 37*724142f8SWu Hao a single performance monitoring event supported by this fme pmu. 38*724142f8SWu Hao The name of the file is the name of the event. 39*724142f8SWu Hao (See ABI/testing/sysfs-bus-event_source-devices-events). 40*724142f8SWu Hao 41*724142f8SWu Hao All supported performance monitoring events are listed below. 42*724142f8SWu Hao 43*724142f8SWu Hao Basic events (evtype=0x00) 44*724142f8SWu Hao 45*724142f8SWu Hao clock = "event=0x00,evtype=0x00,portid=0xff" 46*724142f8SWu Hao 47*724142f8SWu Hao Cache events (evtype=0x01) 48*724142f8SWu Hao 49*724142f8SWu Hao cache_read_hit = "event=0x00,evtype=0x01,portid=0xff" 50*724142f8SWu Hao cache_read_miss = "event=0x01,evtype=0x01,portid=0xff" 51*724142f8SWu Hao cache_write_hit = "event=0x02,evtype=0x01,portid=0xff" 52*724142f8SWu Hao cache_write_miss = "event=0x03,evtype=0x01,portid=0xff" 53*724142f8SWu Hao cache_hold_request = "event=0x05,evtype=0x01,portid=0xff" 54*724142f8SWu Hao cache_data_write_port_contention = 55*724142f8SWu Hao "event=0x06,evtype=0x01,portid=0xff" 56*724142f8SWu Hao cache_tag_write_port_contention = 57*724142f8SWu Hao "event=0x07,evtype=0x01,portid=0xff" 58*724142f8SWu Hao cache_tx_req_stall = "event=0x08,evtype=0x01,portid=0xff" 59*724142f8SWu Hao cache_rx_req_stall = "event=0x09,evtype=0x01,portid=0xff" 60*724142f8SWu Hao cache_eviction = "event=0x0a,evtype=0x01,portid=0xff" 61*724142f8SWu Hao 62*724142f8SWu Hao Fabric events (evtype=0x02) 63*724142f8SWu Hao 64*724142f8SWu Hao fab_pcie0_read = "event=0x00,evtype=0x02,portid=0xff" 65*724142f8SWu Hao fab_pcie0_write = "event=0x01,evtype=0x02,portid=0xff" 66*724142f8SWu Hao fab_pcie1_read = "event=0x02,evtype=0x02,portid=0xff" 67*724142f8SWu Hao fab_pcie1_write = "event=0x03,evtype=0x02,portid=0xff" 68*724142f8SWu Hao fab_upi_read = "event=0x04,evtype=0x02,portid=0xff" 69*724142f8SWu Hao fab_upi_write = "event=0x05,evtype=0x02,portid=0xff" 70*724142f8SWu Hao fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff" 71*724142f8SWu Hao fab_mmio_write = "event=0x07,evtype=0x02,portid=0xff" 72*724142f8SWu Hao fab_port_pcie0_read = "event=0x00,evtype=0x02,portid=?" 73*724142f8SWu Hao fab_port_pcie0_write = "event=0x01,evtype=0x02,portid=?" 74*724142f8SWu Hao fab_port_pcie1_read = "event=0x02,evtype=0x02,portid=?" 75*724142f8SWu Hao fab_port_pcie1_write = "event=0x03,evtype=0x02,portid=?" 76*724142f8SWu Hao fab_port_upi_read = "event=0x04,evtype=0x02,portid=?" 77*724142f8SWu Hao fab_port_upi_write = "event=0x05,evtype=0x02,portid=?" 78*724142f8SWu Hao fab_port_mmio_read = "event=0x06,evtype=0x02,portid=?" 79*724142f8SWu Hao fab_port_mmio_write = "event=0x07,evtype=0x02,portid=?" 80*724142f8SWu Hao 81*724142f8SWu Hao VTD events (evtype=0x03) 82*724142f8SWu Hao 83*724142f8SWu Hao vtd_port_read_transaction = "event=0x00,evtype=0x03,portid=?" 84*724142f8SWu Hao vtd_port_write_transaction = "event=0x01,evtype=0x03,portid=?" 85*724142f8SWu Hao vtd_port_devtlb_read_hit = "event=0x02,evtype=0x03,portid=?" 86*724142f8SWu Hao vtd_port_devtlb_write_hit = "event=0x03,evtype=0x03,portid=?" 87*724142f8SWu Hao vtd_port_devtlb_4k_fill = "event=0x04,evtype=0x03,portid=?" 88*724142f8SWu Hao vtd_port_devtlb_2m_fill = "event=0x05,evtype=0x03,portid=?" 89*724142f8SWu Hao vtd_port_devtlb_1g_fill = "event=0x06,evtype=0x03,portid=?" 90*724142f8SWu Hao 91*724142f8SWu Hao VTD SIP events (evtype=0x04) 92*724142f8SWu Hao 93*724142f8SWu Hao vtd_sip_iotlb_4k_hit = "event=0x00,evtype=0x04,portid=0xff" 94*724142f8SWu Hao vtd_sip_iotlb_2m_hit = "event=0x01,evtype=0x04,portid=0xff" 95*724142f8SWu Hao vtd_sip_iotlb_1g_hit = "event=0x02,evtype=0x04,portid=0xff" 96*724142f8SWu Hao vtd_sip_slpwc_l3_hit = "event=0x03,evtype=0x04,portid=0xff" 97*724142f8SWu Hao vtd_sip_slpwc_l4_hit = "event=0x04,evtype=0x04,portid=0xff" 98*724142f8SWu Hao vtd_sip_rcc_hit = "event=0x05,evtype=0x04,portid=0xff" 99*724142f8SWu Hao vtd_sip_iotlb_4k_miss = "event=0x06,evtype=0x04,portid=0xff" 100*724142f8SWu Hao vtd_sip_iotlb_2m_miss = "event=0x07,evtype=0x04,portid=0xff" 101*724142f8SWu Hao vtd_sip_iotlb_1g_miss = "event=0x08,evtype=0x04,portid=0xff" 102*724142f8SWu Hao vtd_sip_slpwc_l3_miss = "event=0x09,evtype=0x04,portid=0xff" 103*724142f8SWu Hao vtd_sip_slpwc_l4_miss = "event=0x0a,evtype=0x04,portid=0xff" 104*724142f8SWu Hao vtd_sip_rcc_miss = "event=0x0b,evtype=0x04,portid=0xff" 105