Lines Matching defs:thread
22 #include "thread.h"
598 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr,
601 struct maps *maps = thread__maps(thread);
607 thread__zput(al->thread);
608 al->thread = thread__get(thread);
663 struct map *thread__find_map_fb(struct thread *thread, u8 cpumode, u64 addr,
666 struct map *map = thread__find_map(thread, cpumode, addr, al);
667 struct machine *machine = maps__machine(thread__maps(thread));
673 return thread__find_map(thread, addr_cpumode, addr, al);
676 struct symbol *thread__find_symbol(struct thread *thread, u8 cpumode,
680 if (thread__find_map(thread, cpumode, addr, al))
685 struct symbol *thread__find_symbol_fb(struct thread *thread, u8 cpumode,
689 if (thread__find_map_fb(thread, cpumode, addr, al))
708 * Callers need to drop the reference to al->thread, obtained in
714 struct thread *thread;
718 thread = machine__findnew_guest_code(machine, sample->pid);
720 thread = machine__findnew_thread(machine, sample->pid, sample->tid);
721 if (thread == NULL)
724 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread__tid(thread));
725 thread__find_map(thread, sample->cpumode, sample->ip, al);
732 if (thread__is_filtered(thread))
735 thread__put(thread);
736 thread = NULL;
819 void thread__resolve(struct thread *thread, struct addr_location *al,
822 thread__find_map_fb(thread, sample->cpumode, sample->addr, al);