Lines Matching refs:cpumode
898 void thread__find_addr_map(struct thread *thread, u8 cpumode, in thread__find_addr_map() argument
909 al->cpumode = cpumode; in thread__find_addr_map()
917 if (cpumode == PERF_RECORD_MISC_KERNEL && perf_host) { in thread__find_addr_map()
921 } else if (cpumode == PERF_RECORD_MISC_USER && perf_host) { in thread__find_addr_map()
923 } else if (cpumode == PERF_RECORD_MISC_GUEST_KERNEL && perf_guest) { in thread__find_addr_map()
927 } else if (cpumode == PERF_RECORD_MISC_GUEST_USER && perf_guest) { in thread__find_addr_map()
933 if ((cpumode == PERF_RECORD_MISC_GUEST_USER || in thread__find_addr_map()
934 cpumode == PERF_RECORD_MISC_GUEST_KERNEL) && in thread__find_addr_map()
937 if ((cpumode == PERF_RECORD_MISC_USER || in thread__find_addr_map()
938 cpumode == PERF_RECORD_MISC_KERNEL) && in thread__find_addr_map()
956 if (cpumode == PERF_RECORD_MISC_USER && machine && in thread__find_addr_map()
975 u8 cpumode, enum map_type type, u64 addr, in thread__find_addr_location() argument
978 thread__find_addr_map(thread, cpumode, type, addr, al); in thread__find_addr_location()
995 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_event__preprocess_sample() local
1010 if (cpumode == PERF_RECORD_MISC_KERNEL && in perf_event__preprocess_sample()
1014 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->ip, al); in perf_event__preprocess_sample()
1095 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK; in perf_event__preprocess_sample_addr() local
1097 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->addr, al); in perf_event__preprocess_sample_addr()
1099 thread__find_addr_map(thread, cpumode, MAP__VARIABLE, in perf_event__preprocess_sample_addr()