LIBPFM(3)
π LIBPFM_AMD64_FAM16H π
okay bestie, so this is a page from the Linux Programmer's Manual, section 3 β yes, LIBPFM(3), that's the one. sit down, grab a strawberry π, and let me tell you about AMD64 Family 16h processors.
β¨ NAME β¨
libpfm_amd64_fam16h β support for AMD64 Family 16h processors π¦
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
PMU name: amd64_fam16h
PMU desc: AMD64 Fam16h Zen
like. the vibes are immaculate. π
π DESCRIPTION π
The library supports AMD Family 16h processors core PMU in both 32 and 64-bit modes. no cap, both modes, it's giving versatility. π₯
π MODIFIERS π
The following modifiers are supported on AMD64 Family 16h core PMU β every single one, i'm not gatekeeping:
uβ measure at user level, which includes privilege levels 1, 2, 3. this corresponds toPFM_PLM3. it's a boolean modifier, periodt.kβ measure at kernel level, which includes privilege level 0. this corresponds toPFM_PLM0. also a boolean modifier. πhβ measure while executing in host mode (when you're doing the virtualization thing). this corresponds toPFM_PLMH. this modifier is available starting with Fam10h. boolean modifier, iykyk.gβ measure while executing in guest mode (again, the virtualization situation). this one is also available starting with Fam10h. boolean modifier bestie. β¨iβ invert the meaning of the event. the counter will now count cycles in which the event is not occurring. this is a boolean modifier.eβ enable edge detection, i.e., count only when there is a state transition. this is a boolean modifier. not me counting only the transitions π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]. π§
π AUTHORS π
Stephane Eranian <eranian@gmail.com> π
okay that's the whole page bestie, every modifier accounted for, nothing skipped, we ate and left no crumbs π β¨
sign-off time: this was the July, 2017 edition of the LIBPFM(3) page β that's the source, the version and the date all in one cute little bow ππ«Ά mwah, 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