|
@@ -66,4 +66,6 @@ int cpu__get_node(int cpu);
|
|
|
int cpu_map__build_map(struct cpu_map *cpus, struct cpu_map **res,
|
|
|
int (*f)(struct cpu_map *map, int cpu, void *data),
|
|
|
void *data);
|
|
|
+
|
|
|
+bool cpu_map__has(struct cpu_map *cpus, int cpu);
|
|
|
#endif /* __PERF_CPUMAP_H */
|