STRUCT MSM_PERFCNTR_GROUP_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct msm_perfcntr_group_state(9)

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, and yes this page is a whole vibe. it's all about struct msm_perfcntr_group_state, which is the tracking for the currently allocated counter state ✨


🌸 NAME

struct msm_perfcntr_group_state β€” tracking for the currently allocated counter state πŸŽ€


✨ SYNOPSIS

struct msm_perfcntr_group_state {
    unsigned allocated_counters;
    uint32_t countables[];
};

🫢 Members

  • allocated_counters β€” the allocated counters for global counter collection, no cap. the way this works is the corresponding counters get allocated from highest to lowest, and the whole point of that order is to minimize the chance of conflict with old userspace, which allocates from lowest to highest. literally strategic πŸ’…
  • countables β€” the corresponding SELect reg values for the allocated counters. the other half of the situation, iconic behavior honestly πŸ¦‹

πŸ‘‘ SEE ALSO

the Kernel file ./drivers/gpu/drm/msm/msm_gpu.h, plus:

go read those too, iykyk πŸ“š


so yeah, that's the whole page fr fr β€” huge thanks to the source at ./drivers/gpu/drm/msm, dated October 2026, mwah πŸ’– and that's on struct msm_..._group_state(9) slaying periodt 🌈

πŸ“¦ where this page comes from