Lines Matching refs:cpumode
571 u8 cpumode;
581 cpumode = intel_pt_cpumode(ptq->pt, *ip);
585 if (cpumode != PERF_RECORD_MISC_KERNEL)
591 if (!thread__find_map(thread, cpumode, *ip, &al) || !al.map->dso)
734 u8 cpumode;
740 cpumode = PERF_RECORD_MISC_USER;
746 if (!thread__find_map(thread, cpumode, ip, &al) || !al.map->dso)
1320 sample->cpumode = intel_pt_cpumode(pt, sample->ip);
1325 event->sample.header.misc = sample->cpumode;
1790 u8 cpumode;
1813 cpumode = sample.ip < ptq->pt->kernel_start ?
1817 event->sample.header.misc = cpumode | PERF_RECORD_MISC_EXACT_IP;
1819 sample.cpumode = cpumode;
2648 static int intel_pt_find_map(struct thread *thread, u8 cpumode, u64 addr,
2652 if (!thread__find_map(thread, cpumode, addr, al))
2662 u8 cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK;
2676 if (intel_pt_find_map(thread, cpumode, addr, &al)) {