LIBPFM(3)
π LIBPFM(3) β Linux Programmer's Manual π
okay bestie, so this is a page from section 3 of the Linux Programmer's Manual, and it's literally all about libpfm_intel_coreduo β the glow-up that lets libpfm talk to your Intel Core Duo/Solo era chips. it's giving β¨niche but iconicβ¨. let's get into it π«Ά
β¨ NAME β¨
libpfm_intel_coreduo β support for Intel Core Duo/Solo processors
πΈ SYNOPSIS πΈ
#include <perfmon/pfmlib.h>
PMU name: coreduo
PMU desc: Intel Core Duo
π¦ DESCRIPTION π¦
so basically, this library has your back for all Intel Yonah-based processors β think Intel Core Duo and Intel Core Solo. that's the whole vibe. Yonah girlies, this one's for you π
π MODIFIERS π
here's the tea on the modifiers you can use on Intel Core Duo processors, no cap:
uβ measure at user level, which includes privilege levels 1, 2, 3. this maps toPFM_PLM3. it's a boolean modifier β¨kβ measure at kernel level, which includes privilege level 0. this maps toPFM_PLM0. also a boolean modifier πiβ invert the meaning of the event. so the counter will now count cycles in which the event is not occurring. yep, another boolean modifier πeβ enable edge detection, i.e. count only when there's a state transition. boolean modifier, bestie β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 one's an integer modifier with values in the range[0:255]π₯
π ENVIRONMENT VARIABLES π
you can force activation of the Intel Core Duo support using the LIBPFM_FORCE_PMU variable. the PMU name, coreduo, must be passed. no additional options are supported β that's it, that's the whole menu π
π AUTHORS π
Stephane Eranian <eranian@gmail.com>
and that's the whole page, bestie π this little gem is from September, 2009, and it lives in section 3 of the Linux Programmer's Manual under the name LIBPFM. periodt. π
β¨
π¦ where this page comes from
- 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-20.fc43
- 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-20.fc44
- fedora 44: libpfm-devel 4.14.1-2.fc44 Β· 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