__perf_evli...ntry_reverse(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __perf_evli...ntry_reverse β€” Kernel API Manual ✨

okay bestie, before we even start: yes, the header totally got cut off mid-word (it's __perf_evli...ntry_reverse(9) up there, the kernel manual's just being dramatic πŸ’…). This is a page from the Kernel API Manual, and it's lowkey a tiny one β€” but it's cute and you're gonna slay it. 🫢


✨ NAME ✨

__perf_evlist__for_each_entry_reverse β€” iterate thru all the evsels in reverse order πŸ”„

like, it walks the whole list of evsels but backwards. main character energy: last one first, no cap. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

__perf_evlist__for_each_entry_reverse (list , evsel );

that's it. two args, one macro, zero stress. 🧚


πŸ¦‹ ARGUMENTS πŸ¦‹

  • list β€” a list_head instance to iterate. πŸ“ this is the thing you're walking through, bestie.
  • evsel β€” a struct evsel iterator. ⭐ this is your little cursor buddy, going backwards through the whole thing.

πŸ’œ SEE ALSO πŸ’œ


fr fr, if you're touching entries while iterating, go check the _safe ones β€” the plain ones are giving "I will absolutely explode" πŸ’€

and that's the whole page, bestie. go be iconic with your reverse iteration πŸŒˆπŸ¦‹πŸ’–

that was ./tools/lib/perf/include/internal, October 2026 β€” mwah, kiss kiss, slay, periodt πŸŽ€βœ¨

πŸ“¦ where this page comes from