Lines Matching refs:threads

95 	struct perf_thread_map *threads;  in test_stat_thread()  local
108 threads = perf_thread_map__new_dummy(); in test_stat_thread()
109 __T("failed to create threads", threads); in test_stat_thread()
111 perf_thread_map__set_pid(threads, 0, 0); in test_stat_thread()
130 perf_evlist__set_maps(evlist, NULL, threads); in test_stat_thread()
143 perf_thread_map__put(threads); in test_stat_thread()
150 struct perf_thread_map *threads; in test_stat_thread_enable() local
165 threads = perf_thread_map__new_dummy(); in test_stat_thread_enable()
166 __T("failed to create threads", threads); in test_stat_thread_enable()
168 perf_thread_map__set_pid(threads, 0, 0); in test_stat_thread_enable()
187 perf_evlist__set_maps(evlist, NULL, threads); in test_stat_thread_enable()
209 perf_thread_map__put(threads); in test_stat_thread_enable()
219 struct perf_thread_map *threads; in test_mmap_thread() local
261 threads = perf_thread_map__new_dummy(); in test_mmap_thread()
262 __T("failed to create threads", threads); in test_mmap_thread()
267 perf_thread_map__set_pid(threads, 0, pid); in test_mmap_thread()
278 perf_evlist__set_maps(evlist, cpus, threads); in test_mmap_thread()
312 perf_thread_map__put(threads); in test_mmap_thread()
443 struct perf_thread_map *threads; in test_stat_multiplexing() local
460 threads = perf_thread_map__new_dummy(); in test_stat_multiplexing()
461 __T("failed to create threads", threads); in test_stat_multiplexing()
463 perf_thread_map__set_pid(threads, 0, 0); in test_stat_multiplexing()
468 err = perf_evsel__open(evsel, NULL, threads); in test_stat_multiplexing()
490 perf_thread_map__put(threads); in test_stat_multiplexing()
493 threads = perf_thread_map__new_dummy(); in test_stat_multiplexing()
494 __T("failed to create threads", threads); in test_stat_multiplexing()
496 perf_thread_map__set_pid(threads, 0, 0); in test_stat_multiplexing()
507 perf_evlist__set_maps(evlist, NULL, threads); in test_stat_multiplexing()
569 perf_thread_map__put(threads); in test_stat_multiplexing()