Lines Matching refs:cpumode

570 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr,  in thread__find_map()  argument
580 al->cpumode = cpumode; in thread__find_map()
588 if (cpumode == PERF_RECORD_MISC_KERNEL && perf_host) { in thread__find_map()
592 } else if (cpumode == PERF_RECORD_MISC_USER && perf_host) { in thread__find_map()
594 } else if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL && perf_guest) { in thread__find_map()
598 } else if (cpumode == PERF_RECORD_MISC_GUEST_USER && perf_guest) { in thread__find_map()
604 if ((cpumode == PERF_RECORD_MISC_GUEST_USER || in thread__find_map()
605 cpumode == PERF_RECORD_MISC_GUEST_KERNEL) && in thread__find_map()
608 if ((cpumode == PERF_RECORD_MISC_USER || in thread__find_map()
609 cpumode == PERF_RECORD_MISC_KERNEL) && in thread__find_map()
635 struct map *thread__find_map_fb(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map_fb() argument
638 struct map *map = thread__find_map(thread, cpumode, addr, al); in thread__find_map_fb()
640 u8 addr_cpumode = machine__addr_cpumode(machine, cpumode, addr); in thread__find_map_fb()
642 if (map || addr_cpumode == cpumode) in thread__find_map_fb()
648 struct symbol *thread__find_symbol(struct thread *thread, u8 cpumode, in thread__find_symbol() argument
652 if (thread__find_map(thread, cpumode, addr, al)) in thread__find_symbol()
657 struct symbol *thread__find_symbol_fb(struct thread *thread, u8 cpumode, in thread__find_symbol_fb() argument
661 if (thread__find_map_fb(thread, cpumode, addr, al)) in thread__find_symbol_fb()
693 thread__find_map(thread, sample->cpumode, sample->ip, al); in machine__resolve()
798 thread__find_map_fb(thread, sample->cpumode, sample->addr, al); in thread__resolve()