Lines Matching defs:thread
24 #include "thread.h"
25 #include "thread-stack.h"
321 struct thread *thread;
327 thread = machine__find_thread(machine, -1, btsq->tid);
328 if (!thread)
331 len = thread__memcpy(thread, machine, buf, ip, INTEL_PT_INSN_BUF_SZ, &x86_64);
340 thread__put(thread);
408 struct thread *thread)
431 thread_stack__event(thread, btsq->cpu, btsq->sample_flags,
449 struct thread *thread;
456 thread = machine__find_thread(btsq->bts->machine, -1,
458 if (thread)
459 btsq->pid = thread__pid(thread);
461 thread = machine__findnew_thread(btsq->bts->machine, btsq->pid,
500 !btsq->bts->synth_opts.thread_stack && thread &&
503 thread_stack__set_trace_nr(thread, btsq->cpu, buffer->buffer_nr + 1);
505 err = intel_bts_process_buffer(btsq, buffer, thread);
518 thread__put(thread);