evsel__is_function_event(9)
π evsel__is_function_event β a Kernel API Manual moment π
ok so this is one of those tiny little helper functions from the Kernel API Manual, and honestly? she's short, she's sweet, and she does exactly one (1) thing. main character energy for a boolean. let's get into it β¨
πΈ NAME πΈ
evsel__is_function_event β tells you whether the evsel you handed her is a function trace event. that's it. that's the whole gig. π«Ά
β¨ SYNOPSIS β¨
bool evsel__is_function_event (struct evsel *evsel );
yeah bestie, that's the whole signature. one argument, returns a bool, no drama, no cap. π
π¦ ARGUMENTS π¦
evselβ okay so the manpage literally just says -- undescribed -- here π like girl... nothing?? no notes?? but don't stress, the DESCRIPTION section comes through and tells you it's the evsel selector to be tested. so it IS described, just... one section later. iconic of her honestly. π
π DESCRIPTION π
evselβ the evsel selector you want tested. hand it over and let her do her thing. π
Return true if event is function trace event. that's the vibe check: true = yes, it's a function trace event, false = nope, not one. simple as that, fr fr. β
π₯ SEE ALSO π₯
all of these live in the kernel file ./tools/perf/util/evsel.c β go say hi to her siblings, they're all in there together π§π
π a lil sign-off π
this page comes to you from ./tools/perf/util, dated October 2026, and it is literally the Kernel API Manual. short page, big slay. go test that evsel, bestie ππΈπ
mwah π
π¦ 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