diff options
Diffstat (limited to 'tools/perf/util/cpumap.h')
-rw-r--r-- | tools/perf/util/cpumap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h index 9bed02e5fb3d..b123bb9d6f55 100644 --- a/tools/perf/util/cpumap.h +++ b/tools/perf/util/cpumap.h | |||
@@ -41,7 +41,7 @@ static inline int cpu_map__nr(const struct cpu_map *map) | |||
41 | return map ? map->nr : 1; | 41 | return map ? map->nr : 1; |
42 | } | 42 | } |
43 | 43 | ||
44 | static inline bool cpu_map__all(const struct cpu_map *map) | 44 | static inline bool cpu_map__empty(const struct cpu_map *map) |
45 | { | 45 | { |
46 | return map ? map->map[0] == -1 : true; | 46 | return map ? map->map[0] == -1 : true; |
47 | } | 47 | } |