Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304917
b: refs/heads/master
c: 55261f4
h: refs/heads/master
i:
  304915: e979f67
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed May 7, 2012
1 parent 28e034c commit a2d0507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 10b47d54154ce711e4c4438aff10f0215b2ab8eb
refs/heads/master: 55261f46702cec96911a81aacfb3cba13434d304
5 changes: 3 additions & 2 deletions trunk/tools/perf/util/evlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,9 @@ int perf_evlist__create_maps(struct perf_evlist *evlist,
if (evlist->threads == NULL)
return -1;

if (target->uid != UINT_MAX ||
(target->cpu_list == NULL && target->tid))
if (target->uid != UINT_MAX || target->tid)
evlist->cpus = cpu_map__dummy_new();
else if (!target->system_wide && target->cpu_list == NULL)
evlist->cpus = cpu_map__dummy_new();
else
evlist->cpus = cpu_map__new(target->cpu_list);
Expand Down

0 comments on commit a2d0507

Please sign in to comment.