LIBPFM(3)
π LIBPFM(3) β the bestie edition π
ok so this is a page from the Linux Programmer's Manual, section 3, and it's all about libpfm's glow-up for one specific PMU. no cap.
β¨ NAME β¨
libpfm_arm_a64fx β support for Fujitsu A64FX PMU
like, that's the whole vibe. it does one thing and it slays at it. π
β¨ SYNOPSIS β¨
#include <perfmon/pfmlib.h>
PMU name: arm_a64fx PMU desc: Fujitsu A64FX
β¨ DESCRIPTION β¨
okay bestie, listen. the library supports the Fujitsu A64FX core PMU. that's it, that's the headline. π
this PMU is giving 8 counters and privilege levels filtering. and the way it can operate in 64 bit mode only?? no 32-bit era nostalgia here, we moved on, periodt. β¨
β¨ MODIFIERS β¨
here are the modifiers supported on Fujitsu A64FX, and yes you need to know all of them, don't skip, i'm watching π«Ά
uβ measure at the user level. this corresponds toPFM_PLM3. it's a boolean modifier, so it's giving on/off energy, no in-between. πΈkβ measure at the kernel level. this corresponds toPFM_PLM0. also a boolean modifier. iconic. π₯hvβ measure at the hypervisor level. this corresponds toPFM_PLMH. yep, boolean modifier too, they're all matching, it's a coordinated outfit. π
β¨ AUTHORS β¨
Stephane Eranian <eranian@gmail.com> β the main character who wrote this. we stan. π
okay that's the whole page, tysm for reading, love u, bye!! this was May, 2020 energy, from the LIBPFM(3) era, and honestly? still hits. πβ¨π¦
π¦ 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