LIBPFM(3)

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

πŸ’– LIBPFM πŸ’–

okay so bestie, we're in the Linux Programmer's Manual and today's episode is all about libpfm_arm_neoverse_n3 πŸŽ€ grab a strawberry, sit down, it's giving very niche but very slay.


✨ NAME ✨

libpfm_arm_neoverse_n3 β€” support for ARM Neoverse N2 core PMU πŸ¦‹


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>
  • PMU name: arm_n3
  • PMU desc: ARM Neoverse N2

πŸ’… DESCRIPTION πŸ’…

So the library supports the ARM Neoverse N2 core PMU. That's the whole vibe. 🫢

This PMU lowkey supports 6 or 20 64-bit counters and privilege levels filtering. It can operate in both 32 and 64 bit modes. Versatile icon behavior honestly πŸ‘‘


⭐ MODIFIERS ⭐

The following modifiers are supported on ARM Neoverse N3:

  • u β€” measure at the user level. This corresponds to PFM_PLM3. This is a boolean modifier. ✨
  • k β€” measure at the kernel level. This corresponds to PFM_PLM0. This is a boolean modifier. πŸ’œ
  • hv β€” measure at the hypervisor level. This corresponds to PFM_PLMH. This is a boolean modifier. πŸ”₯
not me giving you three whole booleans like little light switches for privilege levels πŸ’€ flip them responsibly bestie.

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com> β€” the main character who wrote this, periodt πŸŽ€


and that's the whole page!! πŸ’– this lil masterpiece came out in the Linux Programmer's Manual, October, 2024 edition β€” mwah, no notes, go forth and count your counters πŸ¦‹βœ¨πŸŽ€