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