Skip to content

Commit 4ae0b32

Browse files
kjain101mpe
authored andcommitted
docs: ABI: sysfs-bus-event_source-devices-vpa-pmu: Document sysfs event format entries for vpa_pmu
Details are added for the vpa_pmu event and format attributes in the ABI documentation. Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Co-developed-by: Madhavan Srinivasan <maddy@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://patch.msgid.link/20241118114114.208964-2-kjain@linux.ibm.com
1 parent 176cda0 commit 4ae0b32

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
What: /sys/bus/event_source/devices/vpa_pmu/format
2+
Date: November 2024
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. Supported attribute are listed
10+
below::
11+
event = "config:0-31" - event ID
12+
13+
For example::
14+
15+
l1_to_l2_lat = "event=0x1"
16+
17+
What: /sys/bus/event_source/devices/vpa_pmu/events
18+
Date: November 2024
19+
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
20+
Description: Read-only. Attribute group to describe performance monitoring
21+
events for the Virtual Processor Area events. Each attribute
22+
in this group describes a single performance monitoring event
23+
supported by vpa_pmu. The name of the file is the name of
24+
the event (See ABI/testing/sysfs-bus-event_source-devices-events).

0 commit comments

Comments
 (0)