rte_pmu(3)

πŸ“¦
version 25.11.3 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ rte_pmu ✨

okay bestie, welcome to rte_pmu β€” that's a section 3 library function, she lives in the Library Functions Manual, and she's literally the moment πŸ’…


🌸 NAME 🌸

rte_pmu β€” no cap, that's the whole name, she's that iconic πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <rte_pmu.h>

πŸ’– Public Member Functions πŸ’–

  • TAILQ_HEAD (, rte_pmu_event) event_list β€” the event list, bestie, it's a TAILQ_HEAD and I'm obsessed 🫢

πŸŽ€ Data Fields πŸŽ€

  • struct rte_pmu_event_group event_groups [RTE_MAX_LCORE]
  • unsigned int num_group_events
  • unsigned int initialized
  • char * name

🌈 Detailed Description 🌈

So like… it's a PMU state container. That's the vibe. That's the whole vibe. ✨

fr fr, the definition lives at line 64 of the file rte_pmu.h πŸ“

πŸ’œ Member Function Documentation πŸ’œ

🧚 TAILQ_HEAD (rte_pmu_event ) 🧚

it's the list of matching events, periodt πŸ’…


🌸 Field Documentation 🌸

πŸ“ struct rte_pmu_event_group event_groups[RTE_MAX_LCORE] πŸ“

the event groups 🌿

definition? line 65 of file rte_pmu.h, no cap πŸ“

πŸŽ€ unsigned int num_group_events πŸŽ€

the number of events in a group β€” like, how many lil guys are in there 🫢

definition at line 66 of file rte_pmu.h πŸ“

⭐ unsigned int initialized ⭐

the initialization counter β€” she's counting how init she is, and honestly? same πŸ’€

definition at line 67 of file rte_pmu.h πŸ“

πŸ¦‹ char* name πŸ¦‹

the name of core PMU listed under /sys/bus/event_source/devices β€” yes the whole path, we don't abbreviate, we don't play πŸ™ˆ

definition at line 68 of file rte_pmu.h πŸ“

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so like, no human wrote this, it's a robot's magnum opus and honestly? she ate πŸ”₯


and that's the whole page bestie 🫢 this was DPDK, Version 25.11.3, rte_pmu(3) β€” slay, drink water, go read /sys/bus/event_source/devices, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from