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.c36 pthread_t *thread_list = NULL; in thloop()
57 thread_list = calloc(nt, sizeof(pthread_t)); in thloop()
58 if (thread_list == NULL) { in thloop()
63 int ret = pthread_create(&thread_list[i], NULL, thfunc, test_loop); in thloop()
81 if (thread_list && thread_list[i])
82 pthread_join(thread_list[i], /*retval=*/NULL);
84 free(thread_list);
35 pthread_t *thread_list = NULL; thloop() local
/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.c949 struct thread_list *task_a = list_entry(la, struct thread_list, list); in task_list_cmp()
950 struct thread_list *task_b = list_entry(lb, struct thread_list, list); in task_list_cmp()
1042 struct thread_list *task; in tasks_print()
H A Dbuiltin-trace.c5128 struct thread_list *a = list_entry(la, struct thread_list, list); in evlist__set_syscall_tp_fields()
5129 struct thread_list *b = list_entry(lb, struct thread_list, list); in evlist__set_syscall_tp_fields()
5148 struct thread_list *pos; in evlist__set_syscall_tp_fields()
/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.c3143 struct thread_list *entry = malloc(sizeof(*entry));
3160 struct thread_list *pos, *next; in machine__nr_cpus_avail()