linux/Documentation/admin-guide/perf
Yicong Yang 3b051bb7cb drivers/perf: hisi: Export associated CPUs of each PMU through sysfs
Although the event of the uncore PMU can only be opened on a single
CPU, some PMU does have the affinity on a range of CPUs. For example
the L3C PMU is associated to the CPUs sharing the L3T it monitors.
Users may infer this affinity by the PMU name which may have SCCL ID
and CCL ID encoded (for L3C etc), but it's not that straightforward.
So export this information by adding an "associated_cpus" sysfs
attribute then user can get this directly.

Reviewed-by: Jonathan Cameron <Joanthan.Cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20241210141525.37788-9-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2024-12-10 15:57:24 +00:00
..
alibaba_pmu.rst
ampere_cspmu.rst
arm-ccn.rst
arm-cmn.rst
arm-ni.rst
arm_dsu_pmu.rst
cxl.rst
dwc_pcie_pmu.rst
hisi-pcie-pmu.rst
hisi-pmu.rst drivers/perf: hisi: Export associated CPUs of each PMU through sysfs 2024-12-10 15:57:24 +00:00
hns3-pmu.rst
imx-ddr.rst
index.rst
meson-ddr-pmu.rst
mrvl-odyssey-ddr-pmu.rst
mrvl-odyssey-tad-pmu.rst
mrvl-pem-pmu.rst
nvidia-pmu.rst
qcom_l2_pmu.rst
qcom_l3_pmu.rst
starfive_starlink_pmu.rst
thunderx2-pmu.rst
xgene-pmu.rst