Lines Matching refs:tid
65 u32 tid; member
73 u32 tid; member
133 u32 tid; member
402 event->mmap.filename, event->mmap.pid, event->mmap.tid, &n); in perf_event__jit_repipe_mmap()
413 static struct dso *findnew_dso(int pid, int tid, const char *filename, in findnew_dso() argument
422 thread = machine__findnew_thread(machine, pid, tid); in findnew_dso()
424 pr_err("cannot find or create a task %d/%d.\n", tid, pid); in findnew_dso()
466 dso = findnew_dso(event->mmap.pid, event->mmap.tid, in perf_event__repipe_buildid_mmap()
491 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_mmap2()
517 event->mmap2.filename, event->mmap2.pid, event->mmap2.tid, &n); in perf_event__jit_repipe_mmap2()
543 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2()
554 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2()
756 thread = machine__findnew_thread(machine, sample->pid, sample->tid); in perf_event__inject_buildid()
790 if (sample->tid == ent->tid) { in perf_inject__sched_process_exit()
818 ent->tid = sample->tid; in perf_inject__sched_switch()
838 if (pid == ent->tid) in perf_inject__sched_stat()
880 static int guest_session__map_tid(struct guest_session *gs, u32 tid, u32 vcpu) in guest_session__map_tid() argument
888 guest_tid->tid = tid; in guest_session__map_tid()
890 hash = hash_32(guest_tid->tid, PERF_EVLIST__HLIST_BITS); in guest_session__map_tid()
918 event->comm.tid, event->comm.comm, vcpu); in host_peek_vm_comms_cb()
926 if (guest_vcpu->tid && guest_vcpu->tid != event->comm.tid) { in host_peek_vm_comms_cb()
930 guest_vcpu->tid = event->comm.tid; in host_peek_vm_comms_cb()
932 return guest_session__map_tid(gs, event->comm.tid, vcpu); in host_peek_vm_comms_cb()
1091 sid->tid = gs->vcpu[vcpu].tid; in guest_session__add_attr()
1127 static struct guest_tid *guest_session__lookup_tid(struct guest_session *gs, u32 tid) in guest_session__lookup_tid() argument
1133 hash = hash_32(tid, PERF_EVLIST__HLIST_BITS); in guest_session__lookup_tid()
1137 if (guest_tid->tid == tid) in guest_session__lookup_tid()
1673 u32 tid = event->context_switch.next_prev_tid; in host__context_switch() local
1680 guest_tid = guest_session__lookup_tid(gs, tid); in host__context_switch()