Lines Matching defs:thread
8 #include "thread.h"
337 static void thread__comm_adjust(struct thread *self, struct hists *hists)
351 static int thread__set_comm_adjust(struct thread *self, const char *comm,
366 struct thread *thread = perf_session__findnew(session, self->comm.tid);
370 if (thread == NULL || thread__set_comm_adjust(thread, self->comm.comm,
491 struct thread *thread;
511 thread = perf_session__findnew(session, self->mmap.pid);
512 if (thread == NULL)
521 thread__insert_map(thread, map);
531 struct thread *thread = perf_session__findnew(session, self->fork.tid);
532 struct thread *parent = perf_session__findnew(session, self->fork.ptid);
538 perf_session__remove_thread(session, thread);
542 if (thread == NULL || parent == NULL ||
543 thread__fork(thread, parent) < 0) {
571 void thread__find_addr_map(struct thread *self,
579 al->thread = self;
638 void thread__find_addr_location(struct thread *self,
668 struct thread *thread;
693 thread = perf_session__findnew(session, self->ip.pid);
694 if (thread == NULL)
698 !strlist__has_entry(symbol_conf.comm_list, thread->comm))
701 dump_printf(" ... thread: %s:%d\n", thread->comm, thread->pid);
713 thread__find_addr_map(thread, session, cpumode, MAP__FUNCTION,