Messages in this thread Patch in this message | | | Date | Wed, 24 May 2023 15:18:06 -0700 | Subject | [PATCH v3 10/35] perf evlist: Allow has_user_cpus to be set on hybrid | From | Ian Rogers <> |
| |
Now that CPU map propagation only sets valid CPUs for core PMUs, there is no reason to disable "has_user_cpus" for hybrid.
Signed-off-by: Ian Rogers <irogers@google.com> --- tools/perf/util/evlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index a0504316b06f..2e2c3509bec3 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -1067,7 +1067,7 @@ int evlist__create_maps(struct evlist *evlist, struct target *target) if (!cpus) goto out_delete_threads; - evlist->core.has_user_cpus = !!target->cpu_list && !target->hybrid; + evlist->core.has_user_cpus = !!target->cpu_list; perf_evlist__set_maps(&evlist->core, cpus, threads); -- 2.40.1.698.g37aff9b760-goog
| |