Lines Matching refs:cpumode
103 .cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK, in perf_tool__process_synth_event()
1519 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map() argument
1529 al->cpumode = cpumode; in thread__find_map()
1537 if (cpumode == PERF_RECORD_MISC_KERNEL && perf_host) { in thread__find_map()
1541 } else if (cpumode == PERF_RECORD_MISC_USER && perf_host) { in thread__find_map()
1543 } else if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL && perf_guest) { in thread__find_map()
1547 } else if (cpumode == PERF_RECORD_MISC_GUEST_USER && perf_guest) { in thread__find_map()
1553 if ((cpumode == PERF_RECORD_MISC_GUEST_USER || in thread__find_map()
1554 cpumode == PERF_RECORD_MISC_GUEST_KERNEL) && in thread__find_map()
1557 if ((cpumode == PERF_RECORD_MISC_USER || in thread__find_map()
1558 cpumode == PERF_RECORD_MISC_KERNEL) && in thread__find_map()
1579 struct symbol *thread__find_symbol(struct thread *thread, u8 cpumode, in thread__find_symbol() argument
1583 if (thread__find_map(thread, cpumode, addr, al)) in thread__find_symbol()
1602 thread__find_map(thread, sample->cpumode, sample->ip, al); in machine__resolve()
1681 thread__find_map(thread, sample->cpumode, sample->addr, al); in thread__resolve()