perf_evlist...ntry_reverse(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… perf_evlist__for_each_entry_reverse(9) β€” like, the whole Kernel API Manual vibe ✨

okay so bestie, real talk: this is a page straight outta the Kernel API Manual, and it's about one very specific little macro. No cap, it's a short one, but she's iconic in her own quiet way. πŸŽ€


🌸 NAME 🌸

perf_evlist__for_each_entry_reverse β€” literally iterates thru all the evsels, but backwards. reverse order. like when you scroll the group chat from the bottom up because you missed everything. πŸ¦‹


✨ SYNOPSIS ✨

perf_evlist__for_each_entry_reverse (evlist , evsel );

that's it. that's the whole call. she's compact, she's efficient, she said what she said. πŸ’…


🫢 ARGUMENTS 🫢

  • evlist β€” the evlist instance you're gonna iterate over. your main character, your starting point, the whole squad. πŸ‘‘
  • evsel β€” your struct evsel iterator. this is the lil variable that walks the walk, one entry at a time (backwards, remember πŸ’€).

πŸ”₯ SEE ALSO πŸ”₯

like yes, there's a whole family of these. the double-underscore ones, the _safe ones… collect them all, iykyk 🧚


ngl if you need forwards instead of reverse, that's a different page bestie β€” this one only does the backwards walk. no guessing, fr fr. πŸ™ˆ

and that's the whole thing! source/version: ./tools/lib/perf/include/internal, dated October 2026, and she's filed under perf_evlist...ntry_reverse(9) in the Kernel API Manual. slay, go iterate responsibly πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from