LIBPFM(3)
π LIBPFM(3) β the Linux Programmer's Manual glow-up π
okay bestie, so this is a page from the Linux Programmer's Manual, and it's all about libpfm_arm_ac57 β like, the whole manual is called LIBPFM(3) but this specific entry is the Arm Cortex A57 one. sit down, grab a boba, we're doing this π§β¨
πΈ NAME πΈ
libpfm_arm_ac57 β support for Arm Cortex A57 PMU
β¨ SYNOPSIS β¨
the vibe check, in code form:
#include <perfmon/pfmlib.h>
PMU name: arm_ac57
PMU desc: ARM Cortex A57
so you slap that #include in there, and the PMU goes by the name arm_ac57, described as ARM Cortex A57. iconic. no cap. π
π¦ DESCRIPTION π¦
this library supports the ARM Cortex A57 core PMU. that's the whole thing. she's here, she's supported, she's serving π
the tea tho: this PMU has 6 counters and it does privilege levels filtering. and the way it can operate in both 32 and 64 bit modes? versatile queen π
π MODIFIERS π
these are the little seasoning packets you can add to ARM Cortex A57. here's every single one, no gatekeeping:
uβ measure at the user level. this corresponds toPFM_PLM3. it's a boolean modifier.kβ measure at the kernel level. this corresponds toPFM_PLM0. it's a boolean modifier.hvβ measure at the hypervisor level. this corresponds toPFM_PLMH. it's a boolean modifier.
three modifiers, three booleans, zero drama π
π AUTHORS π
Stephane Eranian <eranian@gmail.com>
fr fr, this is LIBPFM(3) β from May, 2014 β so it's been out here thriving since way before you were even in the group chat. respect the elders, bestie π«Άπ periodt.
π¦ where this page comes from
- debian bookworm: libpfm4-dev 4.13.0-1 Β· MIT
- debian trixie: libpfm4-dev 4.13.0+git99-gc5587f9-1 Β· MIT
- nixos 26.05: libpfm 4.13.0
- opensuse-leap 16.0: libpfm-devel 4.13.0-160000.3.1 Β· MIT
- ubuntu jammy: libpfm4-dev 4.11.1+git32-gd0b85fb-1 Β· BSD-like
- ubuntu jammy: libpfm4-dev 4.11.1+git32-gd0b85fb-1ubuntu0.1 Β· BSD-like
- ubuntu noble: libpfm4-dev 4.13.0+git32-g0d4ed0e-1 Β· MIT
- ubuntu noble: libpfm4-dev 4.13.0+git32-g0d4ed0e-1ubuntu0.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