LIBPFM(3)

✨ LIBPFM(3) β€” libpfm_amd64_fam19h_zen3 ✨

okay bestie, gather round πŸ’– this is the manual page for libpfm_amd64_fam19h_zen3, from section 3 of the Linux Programmer's Manual. yes it's a whole library page for one specific CPU family and honestly? she ate.


🌸 NAME 🌸

libpfm_amd64_fam19h_zen3 β€” support for AMD64 Family 19h processors 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <perfmon/pfmlib.h>
PMU name: amd64_fam19h_zen3
PMU desc: AMD64 Fam19h Zen3

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, the library supports the AMD Family 19h processors Zen3 core PMU, in both 32-bit and 64-bit modes. that's it, that's the whole vibe check, she's versatile πŸ’…


πŸ’œ MODIFIERS πŸ’œ

here's the list of modifiers supported on the AMD64 Family 19h Zen3 core PMU, and bestie there are seven of them, we're going through every single one no skipping πŸ”₯

  • u β€” measure at user level, which includes privilege levels 1, 2, 3. this corresponds to PFM_PLM3. this is a boolean modifier. ✨
  • k β€” measure at kernel level, which includes privilege level 0. this corresponds to PFM_PLM0. this is a boolean modifier. πŸŽ€
  • h β€” measure while executing in host mode (when you're using virtualization, iykyk). this corresponds to PFM_PLMH. this modifier is available starting with Fam10h. this is a boolean modifier. πŸ’–
  • g β€” measure while executing in guest mode (again, virtualization things ✨). this modifier is available starting with Fam10h. this is a boolean modifier. 🌈
  • i β€” invert the meaning of the event. the counter will now count cycles in which the event is not occurring. this is a boolean modifier. πŸ’€
  • e β€” enable edge detection, i.e., count only when there is a state transition. this is a boolean modifier. πŸ¦‹
  • c β€” set the counter mask value. the mask acts as a threshold. the counter will count the number of cycles in which the number of occurrences of the event is greater or equal to the threshold. this is an integer modifier with values in the range [0:255]. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

Swarup Sahoo πŸ’–


okay that's the whole page, you're welcome, go forth and profile responsibly 🫢 slay ✨

β€” with love, from the Linux Programmer's Manual, back in February 2021, section 3, LIBPFM(3), periodt πŸ’…

πŸ“¦ where this page comes from