__evlist__f...h_entry_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ __evlist__for_each_entry_safe(9) πŸŽ€

okay bestie, this is the Kernel API Manual page for the safe little loop that helps you iterate thru all the evsels. no cap, the vibes are very β€œtrust the process, but make it safe.” πŸ’…βœ¨


✨ NAME ✨

__evlist__for_each_entry_safe β€” safely iterate thru all the evsels 🫢


🌸 SYNOPSIS 🌸

__evlist__for_each_entry_safe (list , tmp , evsel );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • list β€” a list_head instance to iterate. literally the list bestie is moving through πŸ’–
  • tmp β€” struct evsel temp iterator. the little temp helper keeping things safe ✨
  • evsel β€” struct evsel iterator. the main iterator doing the actual walking πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./tools/perf/util/evlist.h

the whole squad, in order:


source/version spot: ./tools/perf/util β€” date stamp: October 2026 πŸ’œπŸ«Ά

πŸ“¦ where this page comes from