Lines Matching refs:threads
56 perf_thread_map__put(evsel->threads); in __perf_evlist__propagate_maps()
57 evsel->threads = perf_thread_map__new_dummy(); in __perf_evlist__propagate_maps()
59 perf_thread_map__put(evsel->threads); in __perf_evlist__propagate_maps()
60 evsel->threads = perf_thread_map__get(evlist->threads); in __perf_evlist__propagate_maps()
140 perf_thread_map__put(evlist->threads); in perf_evlist__exit()
143 evlist->threads = NULL; in perf_evlist__exit()
161 struct perf_thread_map *threads) in perf_evlist__set_maps() argument
175 if (threads != evlist->threads) { in perf_evlist__set_maps()
176 perf_thread_map__put(evlist->threads); in perf_evlist__set_maps()
177 evlist->threads = perf_thread_map__get(threads); in perf_evlist__set_maps()
189 err = perf_evsel__open(evsel, evsel->cpus, evsel->threads); in perf_evlist__open()
307 int nr_threads = perf_thread_map__nr(evlist->threads); in perf_evlist__alloc_pollfd()
391 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
531 int nr_threads = perf_thread_map__nr(evlist->threads); in mmap_per_thread()
573 int nr_threads = perf_thread_map__nr(evlist->threads); in mmap_per_cpu()
609 nr_mmaps += perf_thread_map__nr(evlist->threads); in perf_evlist__nr_mmaps()