rte_pmu_event_group(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

rte_pmu_event_group β€” like, the whole entire struct, bestie πŸ’…

So this page is from the Library Functions Manual (that's the manual name, iykyk), and it's all about one lil struct that holds a group of events. Let's get into it 🫢


✨ SYNOPSIS ✨

First things first, you gotta pull in the header:

#include <rte_pmu.h>

πŸ’œ Public Member Functions

  • TAILQ_ENTRY (rte_pmu_event_group) next β€” the list entry, slaying in TAILQ form ✨

πŸŽ€ Data Fields

  • struct perf_event_mmap_page * mmap_pages [RTE_MAX_NUM_GROUP_EVENTS] β€” an array of user pages πŸ‘‘
  • int fds [RTE_MAX_NUM_GROUP_EVENTS] β€” an array of event descriptors πŸ“
  • bool enabled β€” true if the group was enabled on a particular lcore, no cap πŸ’€

πŸ’– DETAILED DESCRIPTION πŸ’–

Okay so picture this: a struct that describes a group of events. That's it, that's the vibe. Main character energy fr fr 🌈

Ngl, the source of truth here is literal β€” it's defined at line 53 of file rte_pmu.h. Iconic.

πŸŽ€ MEMBER FUNCTION DOCUMENTATION πŸŽ€

πŸ’… TAILQ_ENTRY (rte_pmu_event_group )

That's the list entry. It's giving linked-list realness, and we're obsessed πŸ¦‹


πŸ¦‹ FIELD DOCUMENTATION πŸ¦‹

🌟 struct perf_event_mmap_page* mmap_pages[RTE_MAX_NUM_GROUP_EVENTS]

An array of user pages. Lowkey essential. ✨

Defined at line 55 of file rte_pmu.h. πŸ’–

🌟 int fds[RTE_MAX_NUM_GROUP_EVENTS]

An array of event descriptors β€” the fds themselves, bestie πŸ“

Defined at line 56 of file rte_pmu.h. πŸ’–

🌟 bool enabled

true if the group was enabled on a particular lcore β€” like, that specific lcore, okay? 😭

Defined at line 58 of file rte_pmu.h. πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for DPDK, straight from the source code. Not me writing this by hand, it's the robots πŸ§šβ€β™€οΈβœ¨


And that's a wrap, bestie 🫢 This lil page is from DPDK, Version 26.03.0 β€” rte_pmu_event_group(3), and honestly? She ate. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from