Lines Matching refs:thread
178 struct thread *thread, struct state *state) in read_object_code() argument
189 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, addr, &al); in read_object_code()
213 ret_len = dso__data_read_offset(al.map->dso, thread->mg->machine, in read_object_code()
295 struct thread *thread; in process_sample_event() local
304 thread = machine__findnew_thread(machine, sample.pid, sample.tid); in process_sample_event()
305 if (!thread) { in process_sample_event()
312 ret = read_object_code(sample.ip, READLEN, cpumode, thread, state); in process_sample_event()
313 thread__put(thread); in process_sample_event()
438 struct thread *thread; in do_test_code_reading() local
506 thread = machine__findnew_thread(machine, pid, pid); in do_test_code_reading()
507 if (!thread) { in do_test_code_reading()
588 thread__put(thread); in do_test_code_reading()