Searched refs:perf_guest_cbs (Results 1 – 2 of 2) sorted by relevance
1552 extern struct perf_guest_info_callbacks __rcu *perf_guest_cbs;1554 DECLARE_STATIC_CALL(__perf_guest_state, *perf_guest_cbs->state);1555 DECLARE_STATIC_CALL(__perf_guest_get_ip, *perf_guest_cbs->get_ip);1556 DECLARE_STATIC_CALL(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr);
6966 struct perf_guest_info_callbacks __rcu *perf_guest_cbs; variable6968 DEFINE_STATIC_CALL_RET0(__perf_guest_state, *perf_guest_cbs->state);6969 DEFINE_STATIC_CALL_RET0(__perf_guest_get_ip, *perf_guest_cbs->get_ip);6970 DEFINE_STATIC_CALL_RET0(__perf_guest_handle_intel_pt_intr, *perf_guest_cbs->handle_intel_pt_intr);6974 if (WARN_ON_ONCE(rcu_access_pointer(perf_guest_cbs))) in perf_register_guest_info_callbacks()6977 rcu_assign_pointer(perf_guest_cbs, cbs); in perf_register_guest_info_callbacks()6990 if (WARN_ON_ONCE(rcu_access_pointer(perf_guest_cbs) != cbs)) in perf_unregister_guest_info_callbacks()6993 rcu_assign_pointer(perf_guest_cbs, NULL); in perf_unregister_guest_info_callbacks()