LIBPFM(3)
π LIBPFM(3) β the Linux Programmer's Manual era π
okay bestie, welcome to the LIBPFM(3) page, section 3 of the Linux Programmer's Manual, and no we are NOT skipping anything, this is a full tour π«Ά
β¨ NAME β¨
libpfm_intel_bdx_unc_qpi β it's giving support for Intel Broadwell Server QPI uncore PMU π
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
PMU name: bdx_unc_qpi0, bdx_unc_qpi1
PMU desc: Intel Broadwell Server QPI uncore PMU
like, that's the whole vibe. two PMU names, one iconic description β¨
π¦ DESCRIPTION π¦
So the library supports the Intel Broadwell Server QPI uncore PMU. Periodt. π
And bestie, listen β this PMU model only exists on various Broadwell server models (79, 86). Not 79 through 86, not "around there", literally those two numbers. If you're on anything else, this is not your moment, iykyk π
π MODIFIERS π
The following modifiers are supported on the Broadwell server QPI uncore PMU β there are exactly three, and they're all kinda extra, so let's go one by one π
eβ Enable edge detection, aka count only when there's a state transition from no occurrence of the event to at least one occurrence. Very "glow up" of it. But lowkey important: this modifier must be combined with a threshold modifier (t) with a value greater than or equal to one. 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 QPI cycles in which the number of occurrences of the event is greater than or equal to the threshold. This is an integer modifier with values in the range[0:255]. Slay. π₯iβ Invert the meaning of the threshold or edge filter. If it's set, the event counts when strictly less than N occurrences occur per cycle, when threshold is set to N. And heads up: when invert is set, then threshold must be set to a non-zero value, no exceptions bestie π. If it's set and edge detection is also set, the event counts when the event transitions from occurring to not occurring β the falling edge. This is a boolean modifier π
ngl,eandiare out here with real requirements attached, so don't just sprinkle them on and hope for the best.eneedst >= 1, andineedstnon-zero. Read the fine print, main character energy includes reading the fine print π
π AUTHORS π
Stephane Eranian <eranian@gmail.com> β the icon, the legend, the one who wrote this whole thing π
okay that's the page!! π this was the June, 2017 edition of LIBPFM(3) from the Linux Programmer's Manual, so go forth, count those QPI cycles, and remember: [0:255], falling edges, and threshold values are all part of your story now π¦π
β¨
π¦ 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