Lines Matching refs:thread

45 	pthread_t		thread;  member
91 struct thread *thread; member
140 struct thread *curr_thread[MAX_CPUS];
570 err = pthread_create(&task->thread, &attr, thread_func, parms); in create_tasks()
763 struct thread *child, *parent; in replay_fork_event()
811 thread_atoms_search(struct rb_root *root, struct thread *thread, in thread_atoms_search() argument
815 struct work_atoms key = { .thread = thread }; in thread_atoms_search()
829 BUG_ON(thread != atoms->thread); in thread_atoms_search()
861 static int thread_atoms_insert(struct perf_sched *sched, struct thread *thread) in thread_atoms_insert() argument
869 atoms->thread = thread__get(thread); in thread_atoms_insert()
958 struct thread *sched_out, *sched_in; in latency_switch_event()
1021 struct thread *thread = machine__findnew_thread(machine, -1, pid); in latency_runtime_event() local
1022 struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); in latency_runtime_event()
1028 if (thread_atoms_insert(sched, thread)) in latency_runtime_event()
1030 atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); in latency_runtime_event()
1051 struct thread *wakee; in latency_wakeup_event()
1106 struct thread *migrant; in latency_migrate_task_event()
1153 if (!strcmp(thread__comm_str(work_list->thread), "swapper")) in output_lat_thread()
1159 ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid); in output_lat_thread()
1175 if (l->thread->tid < r->thread->tid) in pid_cmp()
1177 if (l->thread->tid > r->thread->tid) in pid_cmp()
1309 struct thread *sched_in; in map_switch_event()
1568 thread__zput(work_list->thread); in perf_sched__lat()