Home
last modified time | relevance | path

Searched refs:pmu_cpus (Results 1 – 10 of 10) sorted by relevance

/linux/tools/perf/arch/x86/util/
H A Dtopdown.c96 evsel->core.pmu_cpus = perf_cpu_map__get(metric_event->core.pmu_cpus); in topdown_insert_slots_event()
/linux/tools/lib/perf/
H A Devlist.c40 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()
H A Devsel.c49 perf_cpu_map__put(evsel->pmu_cpus); in perf_evsel__exit()
/linux/tools/perf/tests/
H A Devent_update.c112 perf_cpu_map__put(evsel->core.pmu_cpus); in test__event_update()
113 evsel->core.pmu_cpus = perf_cpu_map__new("1,2,3"); in test__event_update()
/linux/tools/perf/util/
H A Dtool_pmu.c385 if (!perf_cpu_map__is_empty(evsel->core.pmu_cpus)) in tool_pmu__read_event()
386 *result = perf_cpu_map__nr(evsel->core.pmu_cpus); in tool_pmu__read_event()
415 if (!perf_cpu_map__is_empty(evsel->core.pmu_cpus)) { in tool_pmu__read_event()
417 perf_cpu_map__intersect(online, evsel->core.pmu_cpus); in tool_pmu__read_event()
H A Dparse-events.c184 struct perf_cpu_map *cpus, *pmu_cpus; in __add_event() local
232 pmu_cpus = perf_cpu_map__get(pmu->cpus); in __add_event()
233 if (perf_cpu_map__is_empty(pmu_cpus)) { in __add_event()
235 pmu_cpus = tool_pmu__cpus(attr); in __add_event()
237 pmu_cpus = cpu_map__online(); in __add_event()
242 pmu_cpus = is_pmu_core ? cpu_map__online() : NULL; in __add_event()
248 cpus = perf_cpu_map__get(pmu_cpus); in __add_event()
256 perf_cpu_map__put(pmu_cpus); in __add_event()
274 evsel->core.pmu_cpus = pmu_cpus; in __add_event()
293 perf_cpu_map__put(pmu_cpus); in __add_event()
H A Dsynthetic-events.c2060 struct synthesize_cpu_map_data syn_data = { .map = evsel->core.pmu_cpus }; in perf_event__synthesize_event_update_cpus()
2141 if (evsel->core.pmu_cpus) { in perf_event__synthesize_extra_attr()
H A Devsel.c493 evsel->core.pmu_cpus = perf_cpu_map__get(orig->core.pmu_cpus); in evsel__clone()
1595 if (evsel->core.pmu_cpus || evsel->unit) in evsel__config()
H A Dheader.c4525 perf_cpu_map__put(evsel->core.pmu_cpus); in perf_event__process_event_update()
4526 evsel->core.pmu_cpus = map; in perf_event__process_event_update()
/linux/tools/lib/perf/include/internal/
H A Devsel.h102 struct perf_cpu_map *pmu_cpus; member