find_tool_events(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is find_tool_events(9), and yes bestie, it's from the Kernel API Manual β€” she's got a very specific job and she's gonna do it. πŸ’…

🌸 NAME 🌸

find_tool_events β€” search for the pressence (that's the page's spelling, iykyk) of tool events in metric_list. Think of it like a vibe check for tool events, except the guest list is metric_list. πŸŽ€

✨ SYNOPSIS ✨

void find_tool_events (const struct list_head *metric_list , bool
       tool_events[TOOL_PMU__EVENT_MAX] );

That's a void return, so there's no return value to catch β€” periodt. πŸ’–

πŸŽ€ ARGUMENTS πŸŽ€

  • metric_list β€” the list you're taking metrics from. This is the source pile, bestie. 🫢
  • tool_events β€” an array of false values. The indices that correspond to tool events get set to true if that tool event is found. So it's a little treasure map of trues and falses. 🌈

πŸ’œ SEE ALSO πŸ’œ

the kernel file ./tools/perf/util/metricgroup.c and the whole friend group:


okay that's the whole page bestie β€” signed off from ./tools/perf/util, dated October 2026, and she ate. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from