Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276391
b: refs/heads/master
c: 47fbe53
h: refs/heads/master
i:
  276389: 54eff42
  276387: 7e43706
  276383: be6a22b
v: v3
  • Loading branch information
David Ahern authored and Arnaldo Carvalho de Melo committed Nov 16, 2011
1 parent 5208d9c commit 5610292
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e2a5f10fb550835e199a3b56a80ed88232188e9
refs/heads/master: 47fbe53bef3b219a365ebf3eca949d6cd4c5291c
4 changes: 4 additions & 0 deletions trunk/tools/perf/util/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,10 @@ int perf_session__cpu_bitmap(struct perf_session *session,
}

map = cpu_map__new(cpu_list);
if (map == NULL) {
pr_err("Invalid cpu_list\n");
return -1;
}

for (i = 0; i < map->nr; i++) {
int cpu = map->map[i];
Expand Down

0 comments on commit 5610292

Please sign in to comment.