evlist__for_each_entry_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the Kernel API Manual page for evlist__for_each_entry_safe β€” and yes it's literally the safe way to iterate thru all the evsels. no cap. πŸ¦‹


✨ SYNOPSIS ✨

evlist__for_each_entry_safe (evlist , tmp , evsel );

πŸŽ€ ARGUMENTS πŸŽ€

  • evlist β€” the evlist instance you're iterating over, bestie. that's the whole vibe. πŸ’–
  • tmp β€” a struct evsel temp iterator. it's giving "hold my spot" energy. 🫢
  • evsel β€” a struct evsel iterator. main character of each loop moment. πŸ‘‘

🌸 SEE ALSO 🌸

lowkey obsessed with the whole family, so here's the full squad from the Kernel file ./tools/perf/util/evlist.h:


and that's the whole page, bestie 🫢 β€” sourced from ./tools/perf/util, dated October 2026, and yes the manual section is evlist__for_each_entry_safe(9). periodt. πŸ’–

πŸ“¦ where this page comes from