evsel__read_on_cpu_scaled(9)
π 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
- 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