Home
last modified time | relevance | path

Searched refs:thread_list (Results 1 – 6 of 6) sorted by relevance

/linux/tools/perf/tests/workloads/
H A Dthloop.c35 pthread_t *thread_list = NULL; in thloop() local
56 thread_list = calloc(nt, sizeof(pthread_t)); in thloop()
57 if (thread_list == NULL) { in thloop()
62 int ret = pthread_create(&thread_list[i], NULL, thfunc, test_loop); in thloop()
75 if (thread_list && thread_list[i]) in thloop()
76 pthread_join(thread_list[i], /*retval=*/NULL); in thloop()
78 free(thread_list); in thloop()
/linux/fs/
H A Dbinfmt_elf_fdpic.c1489 struct elf_thread_status *thread_list = NULL; in elf_fdpic_core_dump() local
1514 tmp->next = thread_list; in elf_fdpic_core_dump()
1515 thread_list = tmp; in elf_fdpic_core_dump()
1523 tmp->next = thread_list; in elf_fdpic_core_dump()
1524 thread_list = tmp; in elf_fdpic_core_dump()
1622 if (!writenote(thread_list->notes, cprm)) in elf_fdpic_core_dump()
1628 for (i = 1; i < thread_list->num_notes; i++) in elf_fdpic_core_dump()
1629 if (!writenote(thread_list->notes + i, cprm)) in elf_fdpic_core_dump()
1633 for (tmp = thread_list->next; tmp; tmp = tmp->next) { in elf_fdpic_core_dump()
1660 while (thread_list) { in elf_fdpic_core_dump()
[all …]
/linux/tools/perf/
H A Dbuiltin-report.c946 struct thread_list *task_a = list_entry(la, struct thread_list, list);
947 struct thread_list *task_b = list_entry(lb, struct thread_list, list); in task_list_cmp()
1039 struct thread_list *task; in tasks_print()
H A Dbuiltin-trace.c5011 struct thread_list *a = list_entry(la, struct thread_list, list); in trace__set_duration()
5012 struct thread_list *b = list_entry(lb, struct thread_list, list); in trace__set_duration()
5031 struct thread_list *pos; in trace__set_filter_pids_from_option()
/linux/tools/perf/util/
H A Dmachine.h287 struct thread_list {
292 /* Make a list of struct thread_list based on threads in the machine. */ struct
294 /* Free up the nodes within the thread_list list. */
297 threadthread_list global() argument
H A Dmachine.c3126 struct thread_list *entry = malloc(sizeof(*entry)); in machine__set_current_tid()
3143 struct thread_list *pos, *next;