LIBPFM(3)
π LIBPFM π
okay bestie, welcome to the Linux Programmer's Manual glow-up edition β this is the page for LIBPFM(3), and we're about to get you fully acquainted with the Arm Neoverse V1 PMU. grab a snack, hydrate, and let's go π«Άβ¨
β¨ NAME β¨
libpfm_arm_neoverse_v1 β the whole entire vibe is: support for the Arm Neoverse V1 core PMU. that's it, that's the girl π
πΈ SYNOPSIS πΈ
first things first, you gotta invite the library to the function:
#include <perfmon/pfmlib.h>
and here's her little ID card, no cap:
- PMU name:
arm_v1 - PMU desc:
Arm Neoverse V1
π¦ DESCRIPTION π¦
so the library literally supports the Arm Neoverse V1 core PMU. iconic behavior, honestly.
this PMU is serving 6 counters and privilege levels filtering β yes, she does both, she's multi-talented π she can also operate in both 32 and 64 bit modes, so whatever era you're living in, she's got you covered fr fr.
π MODIFIERS π
here's where it gets juicy β these are the modifiers supported on ARM Neoverse V1, and every single one of them is a boolean modifier (so, on or off, yes or no, slay or not slay):
uβ measure at the user level. this one corresponds toPFM_PLM3. πkβ measure at the kernel level. this one corresponds toPFM_PLM0. π₯hvβ measure at the hypervisor level. this one corresponds toPFM_PLMH. β¨
π AUTHORS π
the masterminds behind all this, give them their flowers fr:
- John Linford
<jlinford@nvidia.com> - Stephane Eranian
<eranian@gmail.com>
and that's the whole page, bestie β you ate that ππ this was the LIBPFM(3) manual page from August, 2022, and now you know her, you love her, you understand her. 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 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