xref: /linux/Documentation/ABI/testing/sysfs-bus-event_source-devices-vpa-pmu (revision c771600c6af14749609b49565ffb4cac2959710d)
14ae0b32eSKajol JainWhat:           /sys/bus/event_source/devices/vpa_pmu/format
24ae0b32eSKajol JainDate:           November 2024
34ae0b32eSKajol JainContact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
44ae0b32eSKajol JainDescription:    Read-only. Attribute group to describe the magic bits
54ae0b32eSKajol Jain                that go into perf_event_attr.config for a particular pmu.
64ae0b32eSKajol Jain                (See ABI/testing/sysfs-bus-event_source-devices-format).
74ae0b32eSKajol Jain
84ae0b32eSKajol Jain                Each attribute under this group defines a bit range of the
94ae0b32eSKajol Jain                perf_event_attr.config. Supported attribute are listed
104ae0b32eSKajol Jain                below::
11*a7476956SMichael Ellerman
124ae0b32eSKajol Jain                  event = "config:0-31" - event ID
134ae0b32eSKajol Jain
144ae0b32eSKajol Jain                For example::
154ae0b32eSKajol Jain
164ae0b32eSKajol Jain                  l1_to_l2_lat = "event=0x1"
174ae0b32eSKajol Jain
184ae0b32eSKajol JainWhat:           /sys/bus/event_source/devices/vpa_pmu/events
194ae0b32eSKajol JainDate:           November 2024
204ae0b32eSKajol JainContact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
214ae0b32eSKajol JainDescription:    Read-only. Attribute group to describe performance monitoring
224ae0b32eSKajol Jain                events for the Virtual Processor Area events. Each attribute
234ae0b32eSKajol Jain                in this group describes a single performance monitoring event
244ae0b32eSKajol Jain                supported by vpa_pmu. The name of the file is the name of
254ae0b32eSKajol Jain                the event (See ABI/testing/sysfs-bus-event_source-devices-events).
26