perf_cpu_map__has_any_cpu_or_is_empty
if (perf_cpu_map__has_any_cpu_or_is_empty(evlist->all_cpus)) {
if (perf_cpu_map__has_any_cpu_or_is_empty(cpus))
LIBPERF_API bool perf_cpu_map__has_any_cpu_or_is_empty(const struct perf_cpu_map *map);
assert(!perf_cpu_map__has_any_cpu_or_is_empty(evsel->core.cpus));