Lines Matching refs:threads
56 perf_thread_map__put(evsel->threads); in __perf_evlist__propagate_maps()
57 evsel->threads = perf_thread_map__get(evlist->threads); in __perf_evlist__propagate_maps()
130 perf_thread_map__put(evlist->threads); in perf_evlist__exit()
133 evlist->threads = NULL; in perf_evlist__exit()
151 struct perf_thread_map *threads) in perf_evlist__set_maps() argument
165 if (threads != evlist->threads) { in perf_evlist__set_maps()
166 perf_thread_map__put(evlist->threads); in perf_evlist__set_maps()
167 evlist->threads = perf_thread_map__get(threads); in perf_evlist__set_maps()
182 err = perf_evsel__open(evsel, evsel->cpus, evsel->threads); in perf_evlist__open()
292 int nr_threads = perf_thread_map__nr(evlist->threads); in perf_evlist__alloc_pollfd()
376 sid->tid = perf_thread_map__pid(evsel->threads, thread); in perf_evsel__set_sid_idx()
507 int nr_threads = perf_thread_map__nr(evlist->threads); in mmap_per_thread()
532 int nr_threads = perf_thread_map__nr(evlist->threads); in mmap_per_cpu()
563 nr_mmaps = perf_thread_map__nr(evlist->threads); in perf_evlist__nr_mmaps()
574 const struct perf_thread_map *threads = evlist->threads; in perf_evlist__mmap_ops() local
586 perf_evsel__alloc_id(evsel, perf_cpu_map__nr(cpus), threads->nr) < 0) in perf_evlist__mmap_ops()