Go to the documentation of this file. 1 #ifndef __PERF_CPUMAP_H
2 #define __PERF_CPUMAP_H
18 static inline int cpu_map__nr(
const struct cpu_map *
map)
20 return map ? map->
nr : 1;
23 static inline bool cpu_map__all(
const struct cpu_map *
map)
25 return map ? map->
map[0] == -1 :
true;