Skip to content

Commit f84d99e

Browse files
author
Fox Snowpatch
committed
1 parent 2dd0957 commit f84d99e

File tree

4 files changed

+489
-1
lines changed

4 files changed

+489
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
What: /sys/bus/event_source/devices/vpa_dtl/format
2+
Date: December 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+
12+
event = "config:0-7" - event ID
13+
14+
For example::
15+
16+
dtl_cede = "event=0x1"
17+
18+
What: /sys/bus/event_source/devices/vpa_dtl/events
19+
Date: December 2024
20+
Contact: Linux on PowerPC Developer List <[email protected]>
21+
Description: (RO) Attribute group to describe performance monitoring events
22+
for the Virtual Processor Dispatch Trace Log. Each attribute in
23+
this group describes a single performance monitoring event
24+
supported by vpa_dtl pmu. The name of the file is the name of
25+
the event (See ABI/testing/sysfs-bus-event_source-devices-events).

arch/powerpc/perf/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o
1414
obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o
1515
obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o
1616

17-
obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
17+
obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o vpa-dtl.o
1818

1919
obj-$(CONFIG_VPA_PMU) += vpa-pmu.o
2020

0 commit comments

Comments
 (0)