Home | History | Annotate | Download | only in util

Lines Matching refs:threads

313 	struct thread_map *threads;
326 pthreads->threads = thread_map__new(pid, tid);
327 if (pthreads->threads == NULL)
334 thread_map__delete(pthreads->threads);
342 return pthreads->threads->nr;
349 if (i >= pthreads->threads->nr)
352 return Py_BuildValue("i", pthreads->threads->map[i]);
499 struct thread_map *threads = NULL;
502 static char *kwlist[] = {"cpus", "threads", "group", "inherit", NULL, NULL};
509 threads = ((struct pyrf_thread_map *)pthreads)->threads;
515 if (perf_evsel__open(evsel, cpus, threads, group) < 0) {
564 struct thread_map *threads;
569 threads = ((struct pyrf_thread_map *)pthreads)->threads;
571 perf_evlist__init(&pevlist->evlist, cpus, threads);