Home
last modified time | relevance | path

Searched refs:kernel_ip (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/arch/x86/events/
Dutils.c101 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()
Dperf_event.h1189 static inline bool kernel_ip(unsigned long ip) in kernel_ip() function
1212 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
/linux-6.1.9/arch/x86/events/amd/
Dbrs.c271 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()
/linux-6.1.9/arch/x86/events/intel/
Dds.c752 (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()
Dlbr.c1148 to_plm = kernel_ip(to) ? X86_BR_KERNEL : X86_BR_USER; in intel_pmu_lbr_filter()
/linux-6.1.9/tools/perf/util/
Dmachine.c3265 bool kernel_ip; in machine__addr_cpumode() local
3270 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()