LIBPFM(3)
π LIBPFM(3) π
okay bestie, this is a page from the Linux Programmer's Manual, and it's all about libpfm_arm_ac72 β yes, that's the whole vibe, it's giving "one specific Arm core and its performance monitoring unit". sit with me, it's short and it's slay π
β¨ NAME β¨
libpfm_arm_ac72 β support for Arm Cortex A72 PMU
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
PMU name: arm_ac72
PMU desc: ARM Cortex A72
π¦ DESCRIPTION π¦
So this library, right, it supports the ARM Cortex A72 core PMU. That's it, that's the whole thing, main character energy π
This PMU supports 6 counters and privilege levels filtering β so you can pick and choose who you're measuring, which is honestly so iconic of it. And it can operate in both 32 and 64 bit modes. Versatile queen π
π MODIFIERS π
Here are the modifiers supported on ARM Cortex A72. Read them, learn them, love them:
uβ measure at the user level. This corresponds toPFM_PLM3. This is a boolean modifier. β¨kβ measure at the kernel level. This corresponds toPFM_PLM0. This is a boolean modifier. π₯hvβ measure at the hypervisor level. This corresponds toPFM_PLMH. This is a boolean modifier. π§
ngl the pattern here is chef's kiss: each modifier maps to exactly one PFM_PLM* value, and every single one of them is boolean. no surprises, no drama, just vibes π
π AUTHORS π
Stephane Eranian <eranian@gmail.com>
and that's the whole page fr fr π«Ά this one came from the LIBPFM(3) manual, dated September, 2024, and it lives in the Linux Programmer's Manual. bye bestie, go count some counters ππΈπ¦
π¦ where this page comes from
- debian trixie: libpfm4-dev 4.13.0+git99-gc5587f9-1 Β· MIT
- ubuntu questing: libpfm4-dev 4.13.0+git99-gc5587f9-1
- ubuntu resolute: libpfm4-dev 4.13.0+git106-g3e4031b-1 Β· MIT
- ubuntu resolute: libpfm4-dev 4.13.0+git106-g3e4031b-1ubuntu0.1 Β· MIT
- ubuntu stonking: libpfm4-dev 4.13.0+git106-g3e4031b-1ubuntu1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms