Skip to content

Commit

Permalink
docs: ABI: sysfs-bus-event_source-devices-vpa-dtl: Document sysfs eve…
Browse files Browse the repository at this point in the history
…nt format entries for vpa_dtl pmu

Details are added for the vpa_dtl pmu event and format
attributes in the ABI documentation.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
  • Loading branch information
kjain101 authored and athira-rajeev committed Aug 1, 2024
1 parent 55f2364 commit c2d6fa0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/ABI/testing/sysfs-bus-event_source-devices-vpa-dtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
What: /sys/bus/event_source/devices/vpa_dtl/format
Date: July 2024
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
Description: Read-only. Attribute group to describe the magic bits
that go into perf_event_attr.config for a particular pmu.
(See ABI/testing/sysfs-bus-event_source-devices-format).

Each attribute under this group defines a bit range of the
perf_event_attr.config. Supported attribute are listed
below::

event = "config:0-7" - event ID

For example::

dtl_cede = "event=0x1"

What: /sys/bus/event_source/devices/vpa_dtl/events
Date: July 2024
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
Description: (RO) Attribute group to describe performance monitoring events
for the Virtual Processor Dispatch Trace Log. Each attribute in
this group describes a single performance monitoring event
supported by vpa_dtl pmu. The name of the file is the name of
the event (See ABI/testing/sysfs-bus-event_source-devices-events).

0 comments on commit c2d6fa0

Please sign in to comment.