LIBPFM(3)
π LIBPFM(3) π
okay bestie, so this is a page from the Linux Programmer's Manual β it's LIBPFM(3), and we're about to get so acquainted π«Ά
β¨ NAME β¨
libpfm_arm_ac15 β the whole entire vibe here is support for Arm Cortex A15 PMU π
πΈ SYNOPSIS πΈ
like, just pull it in, bestie:
#include <perfmon/pfmlib.h>
and then the deets:
PMU name: arm_ac15
PMU desc: ARM Cortex A15
π copy those two lines exactly, okay? arm_ac15 is the name the library answers to, no nicknames.
π¦ DESCRIPTION π¦
So the library supports the ARM Cortex A15 core PMU. That's it, that's the assignment, and it ate π
This PMU supports 6 counters and privilege levels filtering. Six! Counters! Filtering! We love a modest but capable queen π
π MODIFIERS π
These are the modifiers supported on ARM Cortex A15, and they're all boolean, meaning it's a yes/no situation, no in-between, periodt:
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. Also a boolean modifier. β¨hvβ measure at the hypervisor level. This corresponds toPFM_PLMH. Yep, boolean modifier too. π
π not me reminding you again: all three are boolean modifiers, so don't go trying to feed them values like it's a number situation. It is not.
π AUTHORS π
- Stephane Eranian
<eranian@gmail.com>
and that's the whole page, bestie, you understood it perfectly, I'm obsessed ππ this was LIBPFM(3), from the Linux Programmer's Manual, and it was dated August, 2012 β yeah I know, ancient, but iconic behaviour never expires β slay, go forth and profile responsibly π§
π¦ 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
- 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