Home
last modified time | relevance | path

Searched refs:guest_cbs (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dperf_callchain.c65 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_user() local
68 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_user()
102 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_kernel() local
105 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_kernel()
116 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_instruction_pointer() local
118 if (guest_cbs && guest_cbs->is_in_guest()) in perf_instruction_pointer()
119 return guest_cbs->get_guest_ip(); in perf_instruction_pointer()
126 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_misc_flags() local
129 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_misc_flags()
130 if (guest_cbs->is_user_mode()) in perf_misc_flags()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dperf_callchain.c105 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_user() local
107 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_user()
152 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_kernel() local
155 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_kernel()
166 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_instruction_pointer() local
168 if (guest_cbs && guest_cbs->is_in_guest()) in perf_instruction_pointer()
169 return guest_cbs->get_guest_ip(); in perf_instruction_pointer()
176 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_misc_flags() local
179 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_misc_flags()
180 if (guest_cbs->is_user_mode()) in perf_misc_flags()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dperf_callchain.c63 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_user() local
67 if (guest_cbs && guest_cbs->is_in_guest()) in perf_callchain_user()
88 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_kernel() local
91 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_kernel()
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H A Dperf_callchain.c89 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_user() local
93 if (guest_cbs && guest_cbs->is_in_guest()) in perf_callchain_user()
114 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_kernel() local
118 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_kernel()
/OK3568_Linux_fs/kernel/arch/nds32/kernel/
H A Dperf_event_cpu.c1366 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_user() local
1375 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_user()
1483 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_kernel() local
1486 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_kernel()
1498 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_instruction_pointer() local
1501 if (guest_cbs && guest_cbs->is_in_guest()) in perf_instruction_pointer()
1502 return guest_cbs->get_guest_ip(); in perf_instruction_pointer()
1509 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_misc_flags() local
1513 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_misc_flags()
1514 if (guest_cbs->is_user_mode()) in perf_misc_flags()
/OK3568_Linux_fs/kernel/arch/x86/events/
H A Dcore.c2548 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_kernel() local
2552 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_kernel()
2652 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_callchain_user() local
2656 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_callchain_user()
2733 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_instruction_pointer() local
2735 if (guest_cbs && guest_cbs->is_in_guest()) in perf_instruction_pointer()
2736 return guest_cbs->get_guest_ip(); in perf_instruction_pointer()
2743 struct perf_guest_info_callbacks *guest_cbs = perf_get_guest_cbs(); in perf_misc_flags() local
2746 if (guest_cbs && guest_cbs->is_in_guest()) { in perf_misc_flags()
2747 if (guest_cbs->is_user_mode()) in perf_misc_flags()
/OK3568_Linux_fs/kernel/arch/x86/events/intel/
H A Dcore.c2589 struct perf_guest_info_callbacks *guest_cbs; in handle_pmi_common() local
2656 guest_cbs = perf_get_guest_cbs(); in handle_pmi_common()
2657 if (unlikely(guest_cbs && guest_cbs->is_in_guest() && in handle_pmi_common()
2658 guest_cbs->handle_intel_pt_intr)) in handle_pmi_common()
2659 guest_cbs->handle_intel_pt_intr(); in handle_pmi_common()