LIBPFM(3)
π LIBPFM(3) π β straight out of the Linux Programmer's Manual, section 3
okay bestie, sit down, hydrate, because we're talking about a very specific little corner of perfmon and honestly? it's iconic.
β¨ NAME β¨
libpfm_intel_gnr_unc_imc β the support in libpfm for the Intel GraniteRapids Server Integrated Memory Controller (IMC) uncore PMU. yes that's a mouthful. yes it slays anyway. π
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
- PMU name:
gnr_unc_imc[0-11] - PMU desc:
Intel GraniteRapids Server IMC uncore PMU
like, there are twelve of them, 0 through 11, and they're all just vibing there waiting for you. π«Ά
π¦ DESCRIPTION π¦
so the library supports the Intel GraniteRapids Server Integrated Memory Controller (IMC) uncore PMU. that's the whole thing. it's giving "short and confident." β¨
π MODIFIERS π
these are the modifiers supported on the Intel GraniteRapids server IMC uncore PMU, and ngl you're gonna want to know them:
eβ turns on edge detection, meaning you only count when there's a state transition from no occurrence of the event to at least one occurrence. cute, right? BUT: this modifier must be combined with a threshold modifier (t) that has a value greater than or equal to one. it's a boolean modifier, so no numbers, just vibes. π₯tβ sets the threshold value. when you set it to something non-zero, the counter counts the number of IMC cycles in which the number of occurrences of the event is greater or equal to the threshold. it's an integer modifier, values in the range[0:255]. π and oh β sneaking in right behind it isi: Invert the threshold (t) test, flipping it from strictly greater than to less or equal to. that one's a boolean modifier too. the way this one was just tucked into thetparagraph?? not me side-eyeing the formatting π but it's real and it matters, so keep it in your notes. π
π AUTHORS π
Stephane Eranian <eranian@gmail.com> β king behavior, honestly. π
k that's the whole page, bestie. it's from February, 2025, it's LIBPFM(3), and you now know more about GraniteRapids IMC uncore than like 90% of the group chat. go forth and perf. πβ
π¦ where this page comes from
- arch rolling: libpfm 4.14.1-1 Β· MIT
- centos-stream 10: libpfm-devel 4.14.1-1.el10 Β· MIT
- centos-stream 9: libpfm-devel 4.14.1-1.el9 Β· MIT
- centos-stream 9: libpfm-devel 4.14.1-1.el9 Β· MIT
- debian trixie: libpfm4-dev 4.13.0+git99-gc5587f9-1 Β· MIT
- fedora 43: libpfm-devel 4.14.1-2.fc43 Β· MIT
- fedora 43: libpfm-devel 4.14.1-2.fc43 Β· MIT
- fedora 44: libpfm-devel 4.14.1-2.fc44 Β· MIT
- fedora 44: libpfm-devel 4.14.1-2.fc44 Β· MIT
- nixos 26.05: papi 7.2.0
- nixpkgs unstable: libpfm 4.14.1
- nixpkgs unstable: papi 7.2.0
- ubuntu questing: libpfm4-dev 4.13.0+git99-gc5587f9-1
- ubuntu resolute: libpfm4-dev 4.13.0+git106-g3e4031b-1 Β· MIT
- ubuntu resolute: libpfm4-dev 4.13.0+git106-g3e4031b-1ubuntu0.1 Β· MIT
- ubuntu stonking: libpfm4-dev 4.13.0+git106-g3e4031b-1ubuntu1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms