projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Fix calloc() arguments to address error introduced in gcc-14
[linux-block.git]
/
tools
/
perf
/
builtin-c2c.c
diff --git
a/tools/perf/builtin-c2c.c
b/tools/perf/builtin-c2c.c
index a4cf9de7a7b5a9d6ae416f1a65f6a5c47c6e2e4f..f78eea9e21539352e96c68f37c4b0001c84054e4 100644
(file)
--- a/
tools/perf/builtin-c2c.c
+++ b/
tools/perf/builtin-c2c.c
@@
-2320,7
+2320,7
@@
static int setup_nodes(struct perf_session *session)
nodes[node] = set;
/* empty node, skip */
- if (perf_cpu_map__empty(map))
+ if (perf_cpu_map__
has_any_cpu_or_is_
empty(map))
continue;
perf_cpu_map__for_each_cpu(cpu, idx, map) {