LIBPFM(3)
π LIBPFM β the libpfm_intel_hswep_unc_r2pcie era π
okay bestie, welcome to the libpfm(3) manual page, Linux Programmer's Manual edition π«Ά this one's all about a very specific little diva of a PMU and we're gonna stan her properly β¨
β¨ NAME β¨
libpfm_intel_hswep_unc_r2pcie β support for Intel Haswell-EP R2 PCIe uncore PMU π
like, that's literally her whole job. supporting that one PMU. and she does it flawlessly. no cap.
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
PMU name: hswep_unc_r2pcie
PMU desc: Intel Haswell-EP R2 PCIe uncore PMU
see that? two whole identifiers. iconic. memorize them, you'll need them π
π¦ DESCRIPTION π¦
So the library supports the Intel Haswell R2 PCIe uncore PMU. That's the vibe. That's the whole thing π
Lowkey important detail tho: this PMU model only exists on Haswell model 63. Like, she's exclusive. She does not show up anywhere else. If you're on literally any other model, don't even try it, she's not coming π
π MODIFIERS π
The following modifiers are supported on Intel Haswell R2PCIe uncore PMU β and bestie, there are three of them, and they have opinions about each other:
eβ Enable edge detection. Basically: count only when there's a state transition from no occurrence of the event to at least one occurrence. She's counting the glow-up moment β¨
Real talk: this modifier must be combined with a threshold modifier (t) with a value greater than or equal to one. It cannot go solo. This is a boolean modifier.
tβ Set the threshold value. When you set it to a non-zero value, the counter counts the number of R2PCIe cycles in which the number of occurrences of the event is greater or equal to the threshold. She's picky like that π
This is an integer modifier with values in the range [0:15]. Yes, that's the whole range. Don't push it.
iβ Invert the meaning of the threshold or edge filter. So if it's set, the event counts when strictly less thanNoccurrences occur per cycle, if threshold is set toN. When invert is set, then threshold must be set to a non-zero value. And if edge detection is set, then when invert is set, the event counts when the event transitions from occurring to not occurring β that's the falling edge, bestie, the sad part π This is a boolean modifier.
π AUTHORS π
Stephane Eranian <eranian@gmail.com> β the main character who wrote this whole thing, we love him, we thank him, periodt π«Ά
and that's the page!! this was the Linux Programmer's Manual, version LIBPFM(3), dated May, 2015 π ty for coming to my ted talk, go count some uncore events, slay πππ¦
π¦ 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