__evlist__f...h_entry_safe(9)
π __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β alist_headinstance to iterate. literally the list bestie is moving through πtmpβstruct evseltemp iterator. the little temp helper keeping things safe β¨evselβstruct evseliterator. the main iterator doing the actual walking π
π₯ SEE ALSO π₯
Kernel file: ./tools/perf/util/evlist.h
the whole squad, in order:
__evlist__for_each_entry(9)evlist__for_each_entry(9)__evlist__for_each_entry_continue(9)evlist__for_each_entry_continue(9)__evlist__for_each_entry_from(9)evlist__for_each_entry_from(9)__evlist__for_each_entry_reverse(9)evlist__for_each_entry_reverse(9)evlist__for_each_entry_safe(9)evlist__for_each_cpu(9)
source/version spot: ./tools/perf/util β date stamp: October 2026 ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms