Searched refs:pthreads (Results 1 – 5 of 5) sorted by relevance
580 static int pyrf_thread_map__init(struct pyrf_thread_map *pthreads, in pyrf_thread_map__init() argument 590 pthreads->threads = thread_map__new(pid, tid); in pyrf_thread_map__init() 591 if (pthreads->threads == NULL) in pyrf_thread_map__init() 596 static void pyrf_thread_map__delete(struct pyrf_thread_map *pthreads) in pyrf_thread_map__delete() argument 598 perf_thread_map__put(pthreads->threads); in pyrf_thread_map__delete() 599 Py_TYPE(pthreads)->tp_free((PyObject*)pthreads); in pyrf_thread_map__delete() 604 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__length() local 606 return perf_thread_map__nr(pthreads->threads); in pyrf_thread_map__length() 611 struct pyrf_thread_map *pthreads in pyrf_thread_map__item() local 858 PyObject *pcpus = NULL, *pthreads = NULL; pyrf_evsel__open() local 1067 PyObject *pcpus = NULL, *pthreads = NULL; pyrf_evlist__init() local 1669 PyObject *pcpus = NULL, *pthreads = NULL; pyrf__parse_events() local [all...]
1407 pthread_t *pthreads; in worker_process() local 1426 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t)); in worker_process() 1446 ret = pthread_create(pthreads + t, NULL, worker_thread, td); in worker_process() 1451 ret = pthread_join(pthreads[t], NULL); in worker_process() 1456 free(pthreads); in worker_process()
12 as a means to implement more high level interfaces like pthreads.
424 Familiar tools like GDB and pthreads can be used to develop and debug