evsel__is_group_leader(9)
π evsel__is_group_leader(9) π
okay so this is a page straight out of the Kernel API Manual, bestie, and it's literally about one tiny little bool function that tells you if an evsel is the leader of the group. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
evsel__is_group_leader β returns whether the given evsel is a leader event π
β¨ SYNOPSIS β¨
bool evsel__is_group_leader (const struct evsel *evsel );
that's it. that's the whole call. one argument, one bool back, no cap π
β¨ ARGUMENTS β¨
evselβ ngl the original page just says-- undescribed --here π so like, there's no extra blurb for this one in the canpage. the description section below is where the actual tea is π΅
β¨ DESCRIPTION β¨
so <lavender>evsel</lavender> is the evsel selector that's getting tested π§
the function returns true if evsel is a group leader β or if it's a stand-alone event (y'know, out here living its solo main character life, no group, no problem) β¨
that's the whole deal. true = leader or solo. iconic behaviour honestly π
β¨ SEE ALSO β¨
and the kernel file itself lives at ./tools/perf/util/evsel.h if you wanna go read the source, which honestly you should π
friendly reminder bestie: this page is filed under./tools/perf/util, dated October 2026, and it's literally titledevsel__is_group_leader(9)β so if you forget what you were reading, the manpage has you covered ππ
ok bye, go check your group leaders, ily πππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms