perf_evsel_f..._period_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– Kernel API Manual, bestie πŸ’–

okay so you're looking at the Kernel API Manual page for perf_evsel_for_each_per_thread_period_safe(9) β€” iconic, lowkey very specific, and we're gonna get through it together 🫢


✨ NAME ✨

perf_evsel_for_each_per_thread_period_safe β€” safely iterate thru all the per_stream_periods πŸ’…


🌸 SYNOPSIS 🌸

the call shape is giving exactly this, no edits:

perf_evsel_for_each_per_thread_period_safe (evsel , tmp , item );

πŸŽ€ ARGUMENTS πŸŽ€

  • evsel β€” the original literally says -- undescribed --, so yeah, that's the whole vibe there πŸ™ˆ
  • tmp β€” a struct perf_sample_id_period temp iterator ✨
  • item β€” a struct perf_sample_id_period iterator πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./tools/lib/perf/include/internal/evsel.h β€” go read it, iykyk πŸ‘‘

source/version: ./tools/lib/perf/include/internal Β· date: October 2026 Β· manual entry: perf_evsel_f..._period_safe(9) β€” byeee bestie, slay responsibly πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from