Searched refs:kernel_ip (Results 1 – 6 of 6) sorted by relevance
101 to_plm = kernel_ip(to) ? X86_BR_KERNEL : X86_BR_USER; in get_branch_type()102 from_plm = kernel_ip(from) ? X86_BR_KERNEL : X86_BR_USER; in get_branch_type()157 is64 = kernel_ip((unsigned long)addr) || any_64bit_mode(current_pt_regs()); in get_branch_type()
1189 static inline bool kernel_ip(unsigned long ip) in kernel_ip() function1212 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
271 if (!(type & plm_k) && kernel_ip(to)) in amd_brs_match_plm()274 if (!(type & plm_u) && !kernel_ip(to)) in amd_brs_match_plm()
752 (kernel_ip(at->from) || kernel_ip(at->to))) in intel_pmu_drain_bts_buffer()771 (kernel_ip(at->from) || kernel_ip(at->to))) in intel_pmu_drain_bts_buffer()1404 if (kernel_ip(ip) != kernel_ip(to)) in intel_pmu_pebs_fixup_ip()1423 if (!kernel_ip(ip)) { in intel_pmu_pebs_fixup_ip()1443 is_64bit = kernel_ip(to) || any_64bit_mode(regs); in intel_pmu_pebs_fixup_ip()
1148 to_plm = kernel_ip(to) ? X86_BR_KERNEL : X86_BR_USER; in intel_pmu_lbr_filter()
3265 bool kernel_ip; in machine__addr_cpumode() local3270 kernel_ip = machine__kernel_ip(machine, addr); in machine__addr_cpumode()3274 addr_cpumode = kernel_ip ? PERF_RECORD_MISC_KERNEL : in machine__addr_cpumode()3279 addr_cpumode = kernel_ip ? PERF_RECORD_MISC_GUEST_KERNEL : in machine__addr_cpumode()