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 <[email protected]> Co-developed-by: Madhavan Srinivasan <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 176cda0 commit 4ae0b32

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
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 <[email protected]>
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 <[email protected]>
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)