LIBPFM(3)
β¨ LIBPFM(3) β the Linux Programmer's Manual glow-up β¨
okay so bestie, you're reading the libpfm man page (that's section 3 of the Linux Programmer's Manual, for the library girlies π«Ά), and today's episode is all about one very specific little corner of it. buckle up. π
πΈ NAME πΈ
libpfm_intel_hswep_unc_sbo β support for Intel Haswell-EP S-Box uncore PMU π
π¦ SYNOPSIS π¦
#include <perfmon/pfmlib.h>
- PMU name:
hswep_unc_sbo - PMU desc: Intel Haswell-EP S-Box uncore PMU
π DESCRIPTION π
so the library ships support for the Intel Haswell Rrint Transfer unit (S-Box) uncore PMU. no cap. π
and here's the tea: this PMU model only exists on Haswell model 63. that's it. that's the whole vibe check. if you're not on model 63, this isn't your girl. π
β¨ MODIFIERS β¨
these are the modifiers supported on the Intel Haswell S-Box uncore PMU, and honestly, they're giving very much "control freak but make it cute" π
eβ turns on edge detection, meaning it counts only when there's a state transition from no occurrence of the event to at least one occurrence. β‘ important though: this modifier must be combined with a threshold modifier (t) whose value is greater than or equal to one. it's a boolean modifier, so it's on or off, periodt.tβ sets 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. this is an integer modifier, and its values live in the range[0:15]. π’iβ inverts the meaning of the threshold or edge filter. if set, the event counts when strictly less than N occurrences occur per cycle, given that threshold is set to N. when invert is set, then threshold must be set to a non-zero value. and if edge detection is set, then setting invert means the event counts when the event transitions from occurring to not occurring (a falling edge π). this is a boolean modifier.iβ inverts the meaning of the threshold or edge filter. if set, the event counts when strictly less than N occurrences occur per cycle, given that threshold is set to N. when invert is set, then threshold must be set to a non-zero value. and if edge detection is set, then setting invert means the event counts when the event transitions from occurring to not occurring (a falling edge π). this is a boolean modifier.
not me listing i twice π bestie that is literally how it appears in the original β same modifier, same words, twice in a row. i'm not merging them, i'm not "fixing" it, i'm just handing you the truth as it was written. the way that documentation justβ¦ did that. π
π AUTHORS π
Stephane Eranian <eranian@gmail.com>
and that's the whole page, bestie!! π₯³ this edition of the Linux Programmer's Manual is dated May, 2015, and it's filed under LIBPFM(3) β go forth, count your S-Box events, and 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