xref: /linux/Documentation/ABI/testing/sysfs-bus-event_source-devices-caps (revision 305a72efa791c826fe84768ca55e31adc4113ea8)
1What:		/sys/bus/event_source/devices/<dev>/caps
2Date:		May 2022
3KernelVersion:	5.19
4Contact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
5Description:
6		Attribute group to describe the capabilities exposed
7		for a particular pmu. Each attribute of this group can
8		expose information specific to a PMU, say pmu_name, so that
9		userspace can understand some of the feature which the
10		platform specific PMU supports.
11
12		One of the example available capability in supported platform
13		like Intel is pmu_name, which exposes underlying CPU name known
14		to the PMU driver.
15
16		Example output in powerpc:
17		grep . /sys/bus/event_source/devices/cpu/caps/*
18		/sys/bus/event_source/devices/cpu/caps/pmu_name:POWER9
19