evsel__read_on_cpu_scaled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual entry for evsel__read_on_cpu_scaled β€” read out the results on a CPU and thread, scaled ✨


🌸 SYNOPSIS 🌸

int evsel__read_on_cpu_scaled (struct evsel *evsel , int cpu_map_idx ,
       int thread );

πŸŽ€ ARGUMENTS πŸŽ€

  • evsel β€” -- undescribed -- πŸ™ˆ
  • cpu_map_idx β€” -- undescribed -- 😭
  • thread β€” -- undescribed -- πŸ’€
no cap, the arguments section literally says -- undescribed -- for all three, so that's what we're keeping πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So the vibe is: evsel is the event selector to read value from, cpu_map_idx is the CPU of interest, and thread is the thread of interest. That's the whole breakdown, periodt πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./tools/perf/util/evsel.h is right there β€” also go peek at evsel__read_on_cpu(9), evsel__is_group_leader(9), and evsel__is_group_event(9) 🫢


πŸ’– cute sign-off time: this one comes from source/version ./tools/perf/util, dated October 2026 β€” evsel__read_on_cpu_scaled(9), signing off bestie πŸŒˆπŸ’…

πŸ“¦ where this page comes from