evsel__is_group_leader(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 titled evsel__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