Lines Matching refs:cpumode
792 void thread__find_addr_map(struct thread *thread, u8 cpumode, in thread__find_addr_map() argument
803 al->cpumode = cpumode; in thread__find_addr_map()
811 if (cpumode == PERF_RECORD_MISC_KERNEL && perf_host) { in thread__find_addr_map()
815 } else if (cpumode == PERF_RECORD_MISC_USER && perf_host) { in thread__find_addr_map()
817 } else if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL && perf_guest) { in thread__find_addr_map()
821 } else if (cpumode == PERF_RECORD_MISC_GUEST_USER && perf_guest) { in thread__find_addr_map()
827 if ((cpumode == PERF_RECORD_MISC_GUEST_USER || in thread__find_addr_map()
828 cpumode == PERF_RECORD_MISC_GUEST_KERNEL) && in thread__find_addr_map()
831 if ((cpumode == PERF_RECORD_MISC_USER || in thread__find_addr_map()
832 cpumode == PERF_RECORD_MISC_KERNEL) && in thread__find_addr_map()
850 if (cpumode == PERF_RECORD_MISC_USER && machine && in thread__find_addr_map()
869 u8 cpumode, enum map_type type, u64 addr, in thread__find_addr_location() argument
872 thread__find_addr_map(thread, cpumode, type, addr, al); in thread__find_addr_location()
885 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_event__preprocess_sample() local
900 if (cpumode == PERF_RECORD_MISC_KERNEL && in perf_event__preprocess_sample()
904 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->ip, al); in perf_event__preprocess_sample()
966 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_event__preprocess_sample_addr() local
968 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->addr, al); in perf_event__preprocess_sample_addr()
970 thread__find_addr_map(thread, cpumode, MAP__VARIABLE, in perf_event__preprocess_sample_addr()