diff --git a/[refs] b/[refs] index e372f999d89d..e4e09885e645 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10b47d54154ce711e4c4438aff10f0215b2ab8eb +refs/heads/master: 55261f46702cec96911a81aacfb3cba13434d304 diff --git a/trunk/tools/perf/util/evlist.c b/trunk/tools/perf/util/evlist.c index 30328623cae6..183b199b0d09 100644 --- a/trunk/tools/perf/util/evlist.c +++ b/trunk/tools/perf/util/evlist.c @@ -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);