Lines Matching refs:thread
492 int err = -1, thread, j; in perf_event__synthesize_thread_map() local
507 for (thread = 0; thread < threads->nr; ++thread) { in perf_event__synthesize_thread_map()
510 thread_map__pid(threads, thread), 0, in perf_event__synthesize_thread_map()
521 if ((int) comm_event->comm.pid != thread_map__pid(threads, thread)) { in perf_event__synthesize_thread_map()
898 void thread__find_addr_map(struct thread *thread, u8 cpumode, in thread__find_addr_map() argument
902 struct map_groups *mg = thread->mg; in thread__find_addr_map()
907 al->thread = thread; in thread__find_addr_map()
974 void thread__find_addr_location(struct thread *thread, in thread__find_addr_location() argument
978 thread__find_addr_map(thread, cpumode, type, addr, al); in thread__find_addr_location()
981 thread->mg->machine->symbol_filter); in thread__find_addr_location()
996 struct thread *thread = machine__findnew_thread(machine, sample->pid, in perf_event__preprocess_sample() local
999 if (thread == NULL) in perf_event__preprocess_sample()
1002 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread->tid); in perf_event__preprocess_sample()
1014 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->ip, al); in perf_event__preprocess_sample()
1019 if (thread__is_filtered(thread)) in perf_event__preprocess_sample()
1066 thread__zput(al->thread); in addr_location__put()
1092 struct thread *thread, in perf_event__preprocess_sample_addr() argument
1097 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->addr, al); in perf_event__preprocess_sample_addr()
1099 thread__find_addr_map(thread, cpumode, MAP__VARIABLE, in perf_event__preprocess_sample_addr()