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 to PFM_PLM3. it's a boolean modifier, so it's giving on/off energy, no in-between. 🌸
  • k β€” measure at the kernel level. this corresponds to PFM_PLM0. also a boolean modifier. iconic. πŸ”₯
  • hv β€” measure at the hypervisor level. this corresponds to PFM_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. πŸ’–βœ¨πŸ¦‹