LIBPFM(3)
π LIBPFM(3) β bestie edition
okay so this is a page from the libpfm manual (Linux Programmer's Manual, section 3, the "library calls" section, iykyk), and it's all about one very specific little guy: the Intel Skylake X Server U-Box uncore PMU. yes the whole page. no I will not be normal about it. πΈ
β¨ NAME β¨
libpfm_intel_skx_unc_ubo β support for Intel Skylake X Server U-Box uncore PMU
like... that's the name. that's literally it. she's a mouthful and she knows it. π
π¦ SYNOPSIS π¦
the way you get to her:
#include <perfmon/pfmlib.h>
and her little ID card:
- PMU name:
skx_unc_ubo - PMU desc: Intel Skylake X Server U-Box uncore PMU
π DESCRIPTION π
so the library does support the Intel Skylake X server system configuration unit (U-Box) uncore PMU. that's the whole description. short, sweet, iconic, ate. π₯
no cap β U-Box, uncore, Skylake X server. if that's your situation, congrats, this is your girl. π
π MODIFIERS π
here's where it gets juicy. these are the modifiers supported on the Intel Skylake X server U-Box uncore PMU, and you're gonna want to know all three because they do NOT play the same. β¨
eβ turn on edge detection, i.e. count only when there's a state transition from no occurrence of the event to at least one occurrence. π¦ big catch though: this modifier must be combined with a threshold modifier (t) with a value greater than or equal to one. it's a boolean modifier, so it's just on/off energy.tβ set the threshold value. when you set it to a non-zero value, the counter counts the number of HA cycles in which the number of occurrences of the event is greater than or equal to the threshold. it's an integer modifier, values in the range[0:15]. that's fifteen max bestie, don't get greedy. π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 if threshold is set to N. when invert is set, then threshold must be set to a non-zero value. also, if it's set, the event counts when the event transitions from occurring to not occurring (falling edge) when edge detection is set. it's a boolean modifier. π
real talk:ewithoutt(β₯ 1) is a no, andiwithout a non-zerotis also a no. read the modifiers, love, they're not decorative. π
π AUTHORS π
Stephane Eranian <eranian@gmail.com> β thank you for your service, king. π«Ά
and that's the page, bestie. written up in January, 2018, from the Linux Programmer's Manual, section 3, under the name LIBPFM(3). go forth and count your 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