LIBPFM(3)
π LIBPFM(3) π
okay bestie, welcome to the Linux Programmer's Manual page for libpfm β you're in the right place, pull up a chair πͺβ¨
πΈ NAME πΈ
libpfm_amd64_fam10h β support for AMD64 Family 10h processors π
β¨ SYNOPSIS β¨
#include <perfmon/pfmlib.h>
PMU name: amd64_fam10h_barcelona, amd64_fam10h_shanghai, amd64_fam10h_istanbul
PMU desc: AMD64 Fam10h Barcelona, AMD64 Fam10h Shanghai, AMD64 Fam10h Istanbul
π¦ DESCRIPTION π¦
so the library supports AMD Family 10h processors, and it does this in both 32-bit and 64-bit modes β yes, both, she's flexible πββοΈ
and those correspond to processor family 16. that's the number, don't forget it, it comes back later π
π MODIFIERS π
here's the modifier lineup for AMD64 Family 10h (16) processors β she's giving a whole collection, honestly obsessed π«Ά
uβ measure at user level, which includes privilege levels 1, 2, 3. this corresponds toPFM_PLM3. it's a boolean modifier β¨kβ measure at kernel level, which includes privilege level 0. this corresponds toPFM_PLM0. it's a boolean modifier β¨hβ measure while executing in host mode (that's when you're using virtualization, iykyk). this corresponds toPFM_PLMH. this modifier is available starting with Fam10h. it's a boolean modifier β¨gβ measure while executing in guest mode (again, that's virtualization hours π₯οΈ). this modifier is available starting with Fam10h. it's a boolean modifier β¨iβ invert the meaning of the event. the counter will now count cycles in which the event is not occurring. it's a boolean modifier β¨eβ enable edge detection, i.e., count only when there is a state transition. it's a boolean modifier β¨cβ set the counter mask value. the mask acts as a threshold. the counter will count the number of 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:255]. no cap, that's the range π
π AUTHORS π
the icons who made this happen:
- Stephane Eranian
<eranian@gmail.com>π - Robert Richter
<robert.richter@amd.com>π
okay that's the whole page bestie, you ate that. go profile something iconic π₯
signing off π β this was the LIBPFM(3) page from the Linux Programmer's Manual, dated August, 2010 π take care of her, she's vintage and she slays π β¨
π¦ 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