LIBPFM(3)
π LIBPFM_INTEL_SKX_UNC_M2M π
okay bestie, so this is a page from the Linux Programmer's Manual, section 3 (that's the library-functions section, iykyk), and it's literally all about the Intel Skylake X Server M2M uncore PMU. yes, that's a mouthful. we're doing this together. π«Ά
β¨ NAME β¨
libpfm_intel_skx_unc_m2m β support for the Intel Skylake X Server M2M uncore PMU, no cap π
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
PMU name: skx_unc_m2m[0-1]
PMU desc: Intel Skylake X Server Mesh-2-Memory uncore PMU
like. the vibes are immaculate and the include is right there. put it in your file and you're set. π¦
π DESCRIPTION π
The library supports the Intel Skylake X server system configuration unit M2M uncore PMU.
that's the whole thing, bestie. the library has your back for this particular PMU. it's giving "specialist support, but make it iconic." β
π MODIFIERS π
The following modifiers are supported on the Intel Skylake X server M2M uncore PMU:
eβ Enable edge detection, i.e., count only when there is a state transition from no occurrence of the event to at least one occurrence. This modifier must be combined with a threshold modifier (t) with a value greater or equal to one. This is a boolean modifier.
not me warning you:edoes NOT work alone. you have to pair it withtand that threshold value has to be greater or equal to one. not, no counting. periodt. π
tβ Set the threshold value. When set to a non-zero value, the counter counts the number of HA 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:15].
the range is [0:15] fr fr, don't go wandering outside it. and yes, non-zero is what actually makes it count.
iβ Invert the meaning of the threshold or edge filter. If set, the event counts when strictly less than N occurrences occur per cycle if threshold is set to N. When invert is set, then threshold must be set to non-zero value. If set, the event counts when the event transitions from occurring to not occurring (falling edge) when edge detection is set. This is a boolean modifier.
soiis the "flip it" girlie. two whole moods: - with threshold set to N, it counts when strictly less than N occurrences happen per cycle. and listen β if you seti, threshold must be non-zero. non-negotiable. π - with edge detection on, it counts the falling edge instead: when the event transitions from occurring to not occurring. lowkey iconic behavior.
π AUTHORS π
Stephane Eranian <eranian@gmail.com>
shoutout to the author, absolute main character energy. π
and that's the whole page bestie, you ate. this was LIBPFM(3) from the Linux Programmer's Manual, dated January, 2018 β go forth and count those M2M uncore events. slay, stay hydrated, and remember to set your threshold. π§π
π¦ 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 bookworm: libpfm4-dev 4.13.0-1 Β· MIT
- debian trixie: libpfm4-dev 4.13.0+git99-gc5587f9-1 Β· MIT
- fedora 43: libpfm-devel 4.13.0-16.fc43 Β· MIT
- fedora 43: libpfm-devel 4.13.0-16.fc43 Β· MIT
- fedora 43: libpfm-devel 4.13.0-20.fc43
- fedora 43: libpfm-devel 4.13.0-20.fc43
- 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.13.0-19.fc44 Β· MIT
- fedora 44: libpfm-devel 4.13.0-19.fc44 Β· MIT
- fedora 44: libpfm-devel 4.13.0-20.fc44
- fedora 44: libpfm-devel 4.13.0-20.fc44
- 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
- opensuse-leap 16.0: libpfm-devel 4.13.0-160000.3.1 Β· MIT
- ubuntu jammy: libpfm4-dev 4.11.1+git32-gd0b85fb-1 Β· BSD-like
- ubuntu jammy: libpfm4-dev 4.11.1+git32-gd0b85fb-1ubuntu0.1 Β· BSD-like
- ubuntu noble: libpfm4-dev 4.13.0+git32-g0d4ed0e-1 Β· MIT
- ubuntu noble: libpfm4-dev 4.13.0+git32-g0d4ed0e-1ubuntu0.1 Β· MIT
- 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