LIBPFM(3)

πŸ“¦ version 4.13.0+git106-g3e4031b, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ok so bestie, this is libpfm_arm_ac76 β€” literally the support page for the Arm Cortex A76 PMU. that's it, that's the whole vibe. it's part of the LIBPFM(3) manual, and she's a whole queen.


✨ SYNOPSIS ✨

first thing, you gotta pull in the header, no cap:

#include <perfmon/pfmlib.h>

then the two things you actually came here for:

  • PMU name: arm_ac76
  • PMU desc: ARM Cortex A76

🌸 DESCRIPTION 🌸

the library supports the ARM Cortex A76 core PMU. periodt. πŸ’…

this PMU is lowkey stacked β€” she supports 6 counters and privilege levels filtering, so you can slice your measurements by privilege level if that's your thing. and she's flexible fr fr: she can operate in both 32 and 64 bit modes. main character energy honestly. πŸ‘‘


πŸŽ€ MODIFIERS πŸŽ€

here's the modifier lineup for ARM Cortex A76. all three of these are boolean modifiers, so it's giving yes/no, on/off, slay/not-slay:

  • u β€” measure at the user level. this corresponds to PFM_PLM3. boolean modifier.
  • k β€” measure at the kernel level. this corresponds to PFM_PLM0. boolean modifier.
  • hv β€” measure at the hypervisor level. this corresponds to PFM_PLMH. boolean modifier.
ok bestie, quick vibe check: these are booleans, meaning you either turn them on or you don't. no in-between, no maybe. πŸ¦‹

πŸ‘‘ AUTHORS πŸ‘‘

this iconic work was brought to you by:

  • Stephane Eranian <eranian@gmail.com>

and that's the whole page, bestie 🫢 tysm for reading. this was the LIBPFM(3) page from the Linux Programmer's Manual, dated September, 2024. go measure something iconic. πŸ’œβœ¨