LIBPFM(3)
π LIBPFM π
ok so bestie, you're reading the libpfm manual, page LIBPFM(3) from the Linux Programmer's Manual. buckle up, this one's about a very specific little PMU and it's giving niche-icon energy π
β¨ NAME β¨
libpfm_intel_bdx_unc_r2pcie β the whole vibe is: support for the Intel Broadwell Server R2 PCIe uncore PMU π¦
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
- PMU name:
bdx_unc_r2pcie - PMU desc:
Intel Broadwell Server R2 PCIe uncore PMU
π DESCRIPTION π
ok so here's the tea: this library supports the Intel Broadwell server R2 PCIe uncore PMU. no cap.
and listen β this PMU model only exists on Broadwell server models (79, 86). like, that's it. if you're not on one of those, this page is not for you, sorry bestie π
π MODIFIERS π
the following modifiers are supported on the Intel Broadwell server R2PCIe uncore PMU:
eβ enable edge detection, i.e. count only when there's 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. it's a boolean modifier, so it's on or off, periodt.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. this is an integer modifier with values in the range[0:15]β¨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 a 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 π
ngl,eandiboth being boolean is a whole mood, but they do completely different things β read carefully, bestie π«Ά
π«Ά AUTHORS π«Ά
- Stephane Eranian
<eranian@gmail.com>β an absolute icon for writing this π
and that's the page, fr fr π this one's from the Linux Programmer's Manual, dated June, 2017, and it lives at page LIBPFM(3). slay, go count some PCIe events, ily bye ππβ
π¦ 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