evlist__for...try_continue(9)
π evlist__for...try_continue(9)
okay so bestie, welcome to the Kernel API Manual β this one's a lil macro from the perf tooling corner of the kernel, and honestly? it's giving "continue where you left off" main character energy β¨
πΈ NAME πΈ
evlist__for_each_entry_continue β continue iteration thru all the evsels π¦
like, literally keep looping through your evsels, but pick up where you stopped instead of starting over. no cap.
β¨ SYNOPSIS β¨
evlist__for_each_entry_continue (evlist , evsel );
that's the whole vibe, babes β two args, one loop π
π ARGUMENTS π
evlistβ the evlist instance to iterate π«Ά β yes, this is the thing you're walking through, she's the main character hereevselβ astruct evseliterator π β this is your little cursor bestie, she holds your place in the loop
π₯ SEE ALSO π₯
the kernel file ./tools/perf/util/evlist.h is where all the siblings live, and honestly the whole fam is iconic π β go say hi:
__evlist__for_each_entry(9)evlist__for_each_entry(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_entry_safe(9)evlist__for_each_cpu(9)
like, the double-underscore ones and the regular ones are all in there together, one big happy iteration family π iykyk
ngl bestie, this page is short and sweet β but don't let the size fool you, continue semantics are doing work π₯
and that's a wrap! π brought to you from ./tools/perf/util, dated October 2026, under the Kernel API Manual banner β mwah π π§ββοΈ π
π¦ 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