perf_cpu_map__has
LIBPERF_API bool perf_cpu_map__has(const struct perf_cpu_map *map, struct perf_cpu cpu);
if (!perf_cpu_map__has(online_cpus, cpu))
if (perf_cpu_map__has(sper->arm_spe_pmu->cpus, cpu))
if (sched->map.color_cpus && perf_cpu_map__has(sched->map.color_cpus, cpu))
if (sched->map.cpus && !perf_cpu_map__has(sched->map.cpus, this_cpu))
if (user_requested_cpus && !perf_cpu_map__has(user_requested_cpus, this_cpu))
if (!perf_cpu_map__has(map, cpu))
has_first = perf_cpu_map__has(user_requested_cpus, cpu);
if (perf_cpu_map__has(user_requested_cpus, cpu) != has_first) {
if (!perf_cpu_map__has(map, (struct perf_cpu){ .cpu = i }))
if (!perf_cpu_map__has(evsel__cpus(counter), cpu))
if (user_requested_cpus && !perf_cpu_map__has(user_requested_cpus, this_cpu))