162306a36Sopenharmony_ciWhat: /sys/bus/event_source/devices/<dev>/caps 262306a36Sopenharmony_ciDate: May 2022 362306a36Sopenharmony_ciKernelVersion: 5.19 462306a36Sopenharmony_ciContact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci Attribute group to describe the capabilities exposed 762306a36Sopenharmony_ci for a particular pmu. Each attribute of this group can 862306a36Sopenharmony_ci expose information specific to a PMU, say pmu_name, so that 962306a36Sopenharmony_ci userspace can understand some of the feature which the 1062306a36Sopenharmony_ci platform specific PMU supports. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci One of the example available capability in supported platform 1362306a36Sopenharmony_ci like Intel is pmu_name, which exposes underlying CPU name known 1462306a36Sopenharmony_ci to the PMU driver. 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci Example output in powerpc: 1762306a36Sopenharmony_ci grep . /sys/bus/event_source/devices/cpu/caps/* 1862306a36Sopenharmony_ci /sys/bus/event_source/devices/cpu/caps/pmu_name:POWER9 19