LIBPFM(3)
π libpfm(3) β the Intel IcelakeX Server UBOX uncore PMU page π
okay bestie, welcome to the libpfm corner of the Linux Programmer's Manual πΈ this one is specifically about libpfm_intel_icx_unc_ubox, and ngl it's niche but it's giving very much "I know things" energy. pull up a chair, we're learning β¨
β¨ NAME β¨
libpfm_intel_icx_unc_ubox β the support for the Intel IcelakeX Server UBOX uncore PMU, and yes that's a whole mouthful, we love her anyway π«Ά
π SYNOPSIS π
#include <perfmon/pfmlib.h>
- PMU name:
icx_unc_ubox - PMU desc:
Intel IcelakeX UBOX uncore PMU
that's it, that's the whole summoning ritual π
π¦ DESCRIPTION π¦
so the library ships support for the Intel IcelakeX UBOX uncore PMU β and UBOX here means the System configuration controller, in case you were wondering what the acronym was doing π
here's the tea, fr fr:
- there is one UBOX per processor π
- each UBOX PMU implements 4 generic counters β four. that's the whole counter budget, no cap π
so when you're counting stuff on a UBOX, you've got four slots to play with, and you should plan accordingly bestie π
π MODIFIERS π
the following modifiers are supported on the Intel IcelakeX UBOX uncore PMU β these are your little knobs and switches, and the way that each one changes the counting behaviour is lowkey important, so let's go one by one π
eβ enables edge detection β¨ meaning you count only when there's a state transition: from the event not happening at all, to it happening at least once. it's giving "only count the moment it kicks off" energy. important though: this modifier must be combined with a threshold modifier (t) whose value is greater or equal to one β you can't runesolo, it needs its friend π. this is a boolean modifier, so it's on or off, no in-between πtβ sets the threshold value. when you set it to a non-zero value, the counter counts the number of UBOX clockticks in which the number of occurrences of the event is greater or equal to the threshold π°οΈ think of it like "only start counting when it's happened this many times". this is an integer modifier with values in the range[0:255]β so 0 through 255 inclusive, stay in your lane bestie π―iβ inverts the threshold (t) test π it flips things from strictly greater than to less or equal to. so instead of "count when it's above the bar", it becomes "count when it's at or below the bar". this is a boolean modifier too, just flip it and go β¨
ok so quick recap of the trio:eis the edge-detection girly,tis the threshold girly,iis the invert-the-test girly. and remember βewill NOT work withouttbeing at least 1, that's the rule and we respect the rule π
π AUTHORS π
- Stephane Eranian
<eranian@gmail.com>β thank you for the lore, icon π
and that's the page bestie!! π¦ this was pulled from the Linux Programmer's Manual, dated November, 2023, and it lives under LIBPFM(3). go forth and count your UBOX events, four counters at a time, 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 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 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