Searched refs:pmu_cpus (Results 1 – 10 of 10) sorted by relevance
96 evsel->core.pmu_cpus = perf_cpu_map__get(metric_event->core.pmu_cpus); in topdown_insert_slots_event()
40 if (perf_cpu_map__is_empty(evsel->pmu_cpus)) { in __perf_evlist__propagate_maps()45 evsel->pmu_cpus = perf_cpu_map__new_online_cpus(); in __perf_evlist__propagate_maps()58 evsel->cpus = perf_cpu_map__get(evsel->pmu_cpus); in __perf_evlist__propagate_maps()67 evsel->cpus = perf_cpu_map__get(evsel->pmu_cpus); in __perf_evlist__propagate_maps()84 !perf_cpu_map__is_subset(evsel->pmu_cpus, evsel->cpus)) { in __perf_evlist__propagate_maps()85 struct perf_cpu_map *tmp = perf_cpu_map__intersect(evsel->pmu_cpus, evsel->cpus); in __perf_evlist__propagate_maps()98 perf_cpu_map__equal(evsel->cpus, evsel->pmu_cpus) && in __perf_evlist__propagate_maps()114 evsel->pmu_cpus, in __perf_evlist__propagate_maps()
49 perf_cpu_map__put(evsel->pmu_cpus); in perf_evsel__exit()
114 perf_cpu_map__put(evsel->core.pmu_cpus); in test__event_update() 115 evsel->core.pmu_cpus = perf_cpu_map__new("1,2,3"); in test__event_update()
414 * pmu_cpus. If not present fall back to max. in tool_pmu__read_event() 416 if (!perf_cpu_map__is_empty(evsel->core.pmu_cpus)) in tool_pmu__read_event() 417 *result = perf_cpu_map__nr(evsel->core.pmu_cpus); in tool_pmu__read_event() 443 * pmu_cpus, if not present then just the online cpu in tool_pmu__read_event() 446 if (!perf_cpu_map__is_empty(evsel->core.pmu_cpus)) { in tool_pmu__read_event() 448 perf_cpu_map__intersect(online, evsel->core.pmu_cpus);
183 struct perf_cpu_map *cpus, *pmu_cpus; in __add_event() local 231 pmu_cpus = perf_cpu_map__get(pmu->cpus); in __add_event() 232 if (perf_cpu_map__is_empty(pmu_cpus)) in __add_event() 233 pmu_cpus = cpu_map__online(); in __add_event() 237 pmu_cpus = is_pmu_core ? cpu_map__online() : NULL; in __add_event() 243 cpus = perf_cpu_map__get(pmu_cpus); in __add_event() 251 perf_cpu_map__put(pmu_cpus); in __add_event() 269 evsel->core.pmu_cpus = pmu_cpus; in __add_event() 289 perf_cpu_map__put(pmu_cpus); in __add_event() [all...]
550 evsel->core.pmu_cpus = perf_cpu_map__get(orig->core.pmu_cpus); in evsel__clone() 1780 if (evsel->core.pmu_cpus || evsel->unit) in evsel__append_tp_filter()
2076 struct synthesize_cpu_map_data syn_data = { .map = evsel->core.pmu_cpus }; in perf_event__synthesize_event_update_cpus() 2157 if (evsel->core.pmu_cpus) { in perf_event__synthesize_extra_attr()
5729 perf_cpu_map__put(evsel->core.pmu_cpus);5730 evsel->core.pmu_cpus = map;
102 struct perf_cpu_map *pmu_cpus; member