Lines Matching defs:thread
22 #include "thread.h"
435 struct thread *thread = machine__findnew_thread(machine,
442 if (thread) {
443 machine__remove_thread(machine, thread);
444 thread__put(thread);
620 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr,
623 struct maps *maps = thread__maps(thread);
629 thread__zput(al->thread);
630 al->thread = thread__get(thread);
685 struct map *thread__find_map_fb(struct thread *thread, u8 cpumode, u64 addr,
688 struct map *map = thread__find_map(thread, cpumode, addr, al);
689 struct machine *machine = maps__machine(thread__maps(thread));
695 return thread__find_map(thread, addr_cpumode, addr, al);
698 struct symbol *thread__find_symbol(struct thread *thread, u8 cpumode,
702 if (thread__find_map(thread, cpumode, addr, al))
707 struct symbol *thread__find_symbol_fb(struct thread *thread, u8 cpumode,
711 if (thread__find_map_fb(thread, cpumode, addr, al))
730 * Callers need to drop the reference to al->thread, obtained in
736 struct thread *thread;
740 thread = machine__findnew_guest_code(machine, sample->pid);
742 thread = machine__findnew_thread(machine, sample->pid, sample->tid);
743 if (thread == NULL)
746 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread));
747 thread__find_map(thread, sample->cpumode, sample->ip, al);
754 if (thread__is_filtered(thread))
757 thread__put(thread);
758 thread = NULL;
852 void thread__resolve(struct thread *thread, struct addr_location *al,
855 thread__find_map_fb(thread, sample->cpumode, sample->addr, al);