Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304958
b: refs/heads/master
c: 879d77d
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed May 16, 2012
1 parent 09e3ff8 commit 33dfd8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa22dd4990e38700b1855555aa0def5215859abb
refs/heads/master: 879d77d0cbe20ad1d6099a1e16f03b72c0649828
6 changes: 3 additions & 3 deletions trunk/tools/perf/util/evlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,10 @@ int perf_evlist__create_maps(struct perf_evlist *evlist,
if (evlist->threads == NULL)
return -1;

if (perf_target__has_cpu(target))
evlist->cpus = cpu_map__new(target->cpu_list);
else
if (perf_target__has_task(target))
evlist->cpus = cpu_map__dummy_new();
else
evlist->cpus = cpu_map__new(target->cpu_list);

if (evlist->cpus == NULL)
goto out_delete_threads;
Expand Down

0 comments on commit 33dfd8e

Please sign in to comment.