0001 What: /sys/bus/event_source/devices/<dev>/caps
0002 Date: May 2022
0003 KernelVersion: 5.19
0004 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
0005 Description:
0006 Attribute group to describe the capabilities exposed
0007 for a particular pmu. Each attribute of this group can
0008 expose information specific to a PMU, say pmu_name, so that
0009 userspace can understand some of the feature which the
0010 platform specific PMU supports.
0011
0012 One of the example available capability in supported platform
0013 like Intel is pmu_name, which exposes underlying CPU name known
0014 to the PMU driver.
0015
0016 Example output in powerpc:
0017 grep . /sys/bus/event_source/devices/cpu/caps/*
0018 /sys/bus/event_source/devices/cpu/caps/pmu_name:POWER9