LIBPFM(3)

πŸ“¦ version 4.13.0+git106-g3e4031b, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– LIBPFM(3) β€” the Linux Programmer's Manual, bestie edition πŸ’–

okay so bestie, you're looking at the LIBPFM(3) page and honestly? iconic. this one is all about libpfm_arm_monaka, which is the support layer for the Fujitsu FUJITSU-MONAKA PMU. no cap.


✨ NAME ✨

libpfm_arm_monaka β€” support for Fujitsu FUJITSU-MONAKA PMU

like, that's the whole vibe. it's the thing that lets you talk to that specific PMU. periodt. 🫢


🌸 SYNOPSIS 🌸

#include <perfmon/pfmlib.h>

PMU name: arm_monaka

PMU desc: Fujitsu FUJITSU-MONAKA

so you drop that include in and you're already halfway there, slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

The library supports the Fujitsu FUJITSU-MONAKA core PMU. that's the main character right there. πŸ‘‘

This PMU supports 8 counters and privilege levels filtering. eight. counters. count them. πŸ”₯

It can operate in 64 bit mode only. so like, don't come at it with 32-bit energy, it's not gonna happen, fr fr.


πŸŽ€ MODIFIERS πŸŽ€

The following modifiers are supported on Fujitsu FUJITSU-MONAKA:

  • u β€” Measure at the user level. This corresponds to PFM_PLM3. This is a boolean modifier. so it's just a yes/no situation, on or off, no in-between. ✨
  • k β€” Measure at the kernel level. This corresponds to PFM_PLM0. This is a boolean modifier. also just vibes in boolean form. πŸ’œ
  • hv β€” Measure at the hypervisor level. This corresponds to PFM_PLMH. This is a boolean modifier. yes bestie, hypervisor too, we're covering everyone. 🌈

πŸ’– AUTHORS πŸ’–

Stephane Eranian <eranian@gmail.com>

giving credit where credit is due, as we should. 🫢


okay that's the whole page!! October, 2024, from the LIBPFM(3) corner of the Linux Programmer's Manual β€” go forth and profile something, bestie πŸ’…βœ¨πŸŽ€