Lines Matching defs:thread
9 #include "util/thread.h"
536 struct vcpu_event_record *per_vcpu_record(struct thread *thread,
541 if (!thread->priv && kvm_entry_event(evsel)) {
551 thread->priv = vcpu_record;
554 return thread->priv;
558 struct thread *thread,
565 vcpu_record = per_vcpu_record(thread, evsel, sample);
811 struct thread *thread;
818 thread = machine__findnew_thread(machine, sample->pid, sample->tid);
819 if (thread == NULL) {
825 if (!handle_kvm_event(kvm, thread, evsel, sample))