Lines Matching defs:cpu_map_idx
319 int evsel__enable_cpu(struct evsel *evsel, int cpu_map_idx);
322 int evsel__disable_cpu(struct evsel *evsel, int cpu_map_idx);
324 int evsel__open_per_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, int cpu_map_idx);
376 int evsel__read_counter(struct evsel *evsel, int cpu_map_idx, int thread);
378 int __evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread, bool scale);
384 * @cpu_map_idx - CPU of interest
387 static inline int evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread)
389 return __evsel__read_on_cpu(evsel, cpu_map_idx, thread, false);
396 * @cpu_map_idx - CPU of interest
399 static inline int evsel__read_on_cpu_scaled(struct evsel *evsel, int cpu_map_idx, int thread)
401 return __evsel__read_on_cpu(evsel, cpu_map_idx, thread, true);