is_sysfs_pmu_core(9)
π NAME π
okay bestie, welcome to the is_sysfs_pmu_core(9) page from the Kernel API Manual π. So is_sysfs_pmu_core is here for this exact situation: PMU CORE devices have a different name other than cpu in sysfs on some platforms β think ARM or Intel hybrid πΈ. Itβs looking for the possible cpus file in the sysfs files to identify whether this is a core device. No cap, thatβs the vibe check π₯.
β¨ SYNOPSIS β¨
int is_sysfs_pmu_core (const char *name );
π ARGUMENTS π
nameβ the PMU name such as"cpu_atom"π . Thatβs the string youβre handing over, bestie.
π¦ SEE ALSO π¦
the kernel file is ./tools/perf/util/pmu.c, and the whole squad is:
struct perf_pmu_alias(9)perf_pmu__match_wildcard(9)perf_pmu__match_ignoring_suffix_uncore(9)perf_pmu__match_wildcard_uncore(9)is_pmu_core(9)perf_pmu__name_wildcard_match(9)perf_pmu__name_no_suffix_match(9)
okay bye bestie π«Ά this page comes from ./tools/perf/util, dated October 2026, and itβs literally the is_sysfs_pmu_core(9) page β slay β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms