.. | .. |
---|
| 1 | +What: /sys/bus/event_source/devices/hv_24x7/format |
---|
| 2 | +Date: September 2020 |
---|
| 3 | +Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|
| 4 | +Description: Read-only. Attribute group to describe the magic bits |
---|
| 5 | + that go into perf_event_attr.config for a particular pmu. |
---|
| 6 | + (See ABI/testing/sysfs-bus-event_source-devices-format). |
---|
| 7 | + |
---|
| 8 | + Each attribute under this group defines a bit range of the |
---|
| 9 | + perf_event_attr.config. All supported attributes are listed |
---|
| 10 | + below:: |
---|
| 11 | + |
---|
| 12 | + chip = "config:16-31" |
---|
| 13 | + core = "config:16-31" |
---|
| 14 | + domain = "config:0-3" |
---|
| 15 | + lpar = "config:0-15" |
---|
| 16 | + offset = "config:32-63" |
---|
| 17 | + vcpu = "config:16-31" |
---|
| 18 | + |
---|
| 19 | + For example:: |
---|
| 20 | + |
---|
| 21 | + PM_PB_CYC = "domain=1,offset=0x80,chip=?,lpar=0x0" |
---|
| 22 | + |
---|
| 23 | + In this event, '?' after chip specifies that |
---|
| 24 | + this value will be provided by user while running this event. |
---|
| 25 | + |
---|
1 | 26 | What: /sys/bus/event_source/devices/hv_24x7/interface/catalog |
---|
2 | 27 | Date: February 2014 |
---|
3 | 28 | Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|
.. | .. |
---|
22 | 47 | Exposes the "version" field of the 24x7 catalog. This is also |
---|
23 | 48 | extractable from the provided binary "catalog" sysfs entry. |
---|
24 | 49 | |
---|
| 50 | +What: /sys/devices/hv_24x7/interface/sockets |
---|
| 51 | +Date: May 2020 |
---|
| 52 | +Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|
| 53 | +Description: read only |
---|
| 54 | + This sysfs interface exposes the number of sockets present in the |
---|
| 55 | + system. |
---|
| 56 | + |
---|
| 57 | +What: /sys/devices/hv_24x7/interface/chipspersocket |
---|
| 58 | +Date: May 2020 |
---|
| 59 | +Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|
| 60 | +Description: read only |
---|
| 61 | + This sysfs interface exposes the number of chips per socket |
---|
| 62 | + present in the system. |
---|
| 63 | + |
---|
| 64 | +What: /sys/devices/hv_24x7/interface/coresperchip |
---|
| 65 | +Date: May 2020 |
---|
| 66 | +Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|
| 67 | +Description: read only |
---|
| 68 | + This sysfs interface exposes the number of cores per chip |
---|
| 69 | + present in the system. |
---|
| 70 | + |
---|
| 71 | +What: /sys/devices/hv_24x7/cpumask |
---|
| 72 | +Date: July 2020 |
---|
| 73 | +Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|
| 74 | +Description: read only |
---|
| 75 | + This sysfs file exposes the cpumask which is designated to make |
---|
| 76 | + HCALLs to retrieve hv-24x7 pmu event counter data. |
---|
| 77 | + |
---|
25 | 78 | What: /sys/bus/event_source/devices/hv_24x7/event_descs/<event-name> |
---|
26 | 79 | Date: February 2014 |
---|
27 | 80 | Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
---|