Home
last modified time | relevance | path

Searched refs:pthreads (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dpython.c746 static int pyrf_thread_map__init(struct pyrf_thread_map *pthreads, in pyrf_thread_map__init() argument
756 pthreads->threads = thread_map__new(pid, tid, uid); in pyrf_thread_map__init()
757 if (pthreads->threads == NULL) in pyrf_thread_map__init()
762 static void pyrf_thread_map__delete(struct pyrf_thread_map *pthreads) in pyrf_thread_map__delete() argument
764 perf_thread_map__put(pthreads->threads); in pyrf_thread_map__delete()
765 Py_TYPE(pthreads)->tp_free((PyObject*)pthreads); in pyrf_thread_map__delete()
770 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__length() local
772 return perf_thread_map__nr(pthreads->threads); in pyrf_thread_map__length()
777 struct pyrf_thread_map *pthreads = (void *)obj; in pyrf_thread_map__item() local
779 if (i >= perf_thread_map__nr(pthreads->threads)) in pyrf_thread_map__item()
[all …]
/Linux-v6.6/Documentation/translations/zh_CN/userspace-api/
Dfutex2.rst18 为实现更多高级接口的方式,如pthreads
/Linux-v6.6/tools/perf/bench/
Dnuma.c1354 pthread_t *pthreads; in worker_process() local
1373 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t)); in worker_process()
1393 ret = pthread_create(pthreads + t, NULL, worker_thread, td); in worker_process()
1398 ret = pthread_join(pthreads[t], NULL); in worker_process()
1403 free(pthreads); in worker_process()
/Linux-v6.6/Documentation/userspace-api/
Dfutex2.rst12 as a means to implement more high level interfaces like pthreads.
/Linux-v6.6/Documentation/driver-api/usb/
Dgadget.rst424 Familiar tools like GDB and pthreads can be used to develop and debug