Lines Matching refs:threads
36 struct perf_thread_map *threads;
49 threads = thread_map__new(-1, getpid(), UINT_MAX);
50 if (threads == NULL) {
77 perf_evlist__set_maps(&evlist->core, cpus, threads);
98 if (evsel__open(evsels[i], cpus, threads) < 0) {
168 perf_thread_map__put(threads);
175 struct perf_thread_map *threads;
188 threads = perf_thread_map__new_dummy();
189 TEST_ASSERT_VAL("failed to create threads", threads);
191 perf_thread_map__set_pid(threads, 0, 0);
196 err = perf_evsel__open(evsel, NULL, threads);
265 perf_thread_map__put(threads);