Home
last modified time | relevance | path

Searched refs:perf_guest_cbs (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/linux/
Dperf_event.h1499 extern struct perf_guest_info_callbacks __rcu *perf_guest_cbs;
1501 DECLARE_STATIC_CALL(__perf_guest_state, *perf_guest_cbs->state);
1502 DECLARE_STATIC_CALL(__perf_guest_get_ip, *perf_guest_cbs->get_ip);
1503 DECLARE_STATIC_CALL(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr);
/linux-6.6.21/kernel/events/
Dcore.c6819 struct perf_guest_info_callbacks __rcu *perf_guest_cbs; variable
6821 DEFINE_STATIC_CALL_RET0(__perf_guest_state, *perf_guest_cbs->state);
6822 DEFINE_STATIC_CALL_RET0(__perf_guest_get_ip, *perf_guest_cbs->get_ip);
6823 DEFINE_STATIC_CALL_RET0(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr);
6827 if (WARN_ON_ONCE(rcu_access_pointer(perf_guest_cbs))) in perf_register_guest_info_callbacks()
6830 rcu_assign_pointer(perf_guest_cbs, cbs); in perf_register_guest_info_callbacks()
6843 if (WARN_ON_ONCE(rcu_access_pointer(perf_guest_cbs) != cbs)) in perf_unregister_guest_info_callbacks()
6846 rcu_assign_pointer(perf_guest_cbs, NULL); in perf_unregister_guest_info_callbacks()