Searched refs:matched_cpus (Results 1 – 2 of 2) sorted by relevance
113 struct perf_cpu_map *matched_cpus, *unmatched_cpus; in evlist__fix_hybrid_cpus() local120 ret = perf_pmu__cpus_match(pmu, cpus, &matched_cpus, in evlist__fix_hybrid_cpus()127 if (matched_cpus->nr > 0 && (unmatched_cpus->nr > 0 || in evlist__fix_hybrid_cpus()128 matched_cpus->nr < cpus->nr || in evlist__fix_hybrid_cpus()129 matched_cpus->nr < pmu->cpus->nr)) { in evlist__fix_hybrid_cpus()132 evsel->core.cpus = perf_cpu_map__get(matched_cpus); in evlist__fix_hybrid_cpus()133 evsel->core.own_cpus = perf_cpu_map__get(matched_cpus); in evlist__fix_hybrid_cpus()136 cpu_map__snprint(matched_cpus, buf1, sizeof(buf1)); in evlist__fix_hybrid_cpus()142 if (matched_cpus->nr == 0) { in evlist__fix_hybrid_cpus()153 perf_cpu_map__put(matched_cpus); in evlist__fix_hybrid_cpus()
1987 struct perf_cpu_map *matched_cpus, *unmatched_cpus; in perf_pmu__cpus_match() local1990 matched_cpus = perf_cpu_map__default_new(); in perf_pmu__cpus_match()1991 if (!matched_cpus) in perf_pmu__cpus_match()1996 perf_cpu_map__put(matched_cpus); in perf_pmu__cpus_match()2007 matched_cpus->map[matched_nr++] = cpus->map[i]; in perf_pmu__cpus_match()2011 matched_cpus->nr = matched_nr; in perf_pmu__cpus_match()2012 *mcpus_ptr = matched_cpus; in perf_pmu__cpus_match()