LIBPFM(3)

πŸ’– LIBPFM(3) β€” bestie edition πŸ’–

okay so like, hi, this is a page from the Linux Programmer's Manual, and it's all about one very specific little slice of the libpfm family. it's libpfm_arm_ac7, which is support for Arm Cortex A7 PMU. that's the whole thing. that's the assignment. let's get into it ✨


✨ NAME ✨

libpfm_arm_ac7 β€” support for Arm Cortex A7 PMU πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <perfmon/pfmlib.h>
  • PMU name: arm_ac7
  • PMU desc: ARM Cortex A7

🌸 DESCRIPTION 🌸

so basically the library supports the ARM Cortex A7 core PMU. that's its whole job and it does it πŸ’…

this PMU supports 4 counters and privilege levels filtering. four counters!! counting things!! at different privilege levels!! iconic behavior honestly πŸ‘‘


🌈 MODIFIERS 🌈

these are the modifiers supported on ARM Cortex A7, bestie, and there are exactly three, so like, no skipping:

  • u β€” measure at the user level. this corresponds to PFM_PLM3. it's a boolean modifier. (so it's just on or off, no in-between, very demure)
  • k β€” measure at the kernel level. this corresponds to PFM_PLM0. also a boolean modifier.
  • hv β€” measure at the hypervisor level. this corresponds to PFM_PLMH. yep, you guessed it, boolean modifier.
three booleans, three privilege levels, zero drama. the vibe check passed 🫢

πŸ‘‘ AUTHORS πŸ‘‘

Stephane Eranian <eranian@gmail.com> β€” thank you for your service, king πŸ’œ


and that's the page!! it's giving Linux Programmer's Manual, LIBPFM(3), August, 2012 β€” shoutout to that source and date, they carried the whole footer. bye bestie, go count some events πŸ˜­πŸ’–πŸŒΈ