Lines Matching refs:get_cpu_var
59 struct sep_state *ss = &get_cpu_var(profiling_info.s_state); in profiling_initialize_pmi()
105 struct sep_state *ss = &get_cpu_var(profiling_info.s_state); in profiling_enable_pmu()
180 struct sep_state *ss = &get_cpu_var(profiling_info.s_state); in profiling_disable_pmu()
312 struct sep_state *ss = &(get_cpu_var(profiling_info.s_state)); in profiling_generate_data()
314 = &(get_cpu_var(profiling_info.sw_msr_info)); in profiling_generate_data()
351 payload = &get_cpu_var(profiling_info.p_sample); in profiling_generate_data()
356 payload = &get_cpu_var(profiling_info.p_sample); in profiling_generate_data()
360 payload = &get_cpu_var(profiling_info.vm_trace); in profiling_generate_data()
397 sw_lock = &(get_cpu_var(profiling_info.sw_lock)); in profiling_generate_data()
430 payload = &get_cpu_var(profiling_info.vm_trace); in profiling_generate_data()
472 = get_cpu_var(profiling_info.msr_node); in profiling_handle_msrops()
474 = &(get_cpu_var(profiling_info.sw_msr_info)); in profiling_handle_msrops()
576 struct pmu_sample *psample = &(get_cpu_var(profiling_info.p_sample)); in profiling_pmi_handler()
577 struct sep_state *ss = &(get_cpu_var(profiling_info.s_state)); in profiling_pmi_handler()
615 if ((get_cpu_var(profiling_info.vm_info).vmexit_reason in profiling_pmi_handler()
617 ((uint64_t)get_cpu_var(profiling_info.vm_info).external_vector in profiling_pmi_handler()
620 = get_cpu_var(profiling_info.vm_info).guest_vm_id; in profiling_pmi_handler()
626 psample->csample.rip = get_cpu_var(profiling_info.vm_info).guest_rip; in profiling_pmi_handler()
628 = (uint32_t)get_cpu_var(profiling_info.vm_info).guest_rflags; in profiling_pmi_handler()
630 = (uint32_t)get_cpu_var(profiling_info.vm_info).guest_cs; in profiling_pmi_handler()
631 get_cpu_var(profiling_info.vm_info).vmexit_reason = 0U; in profiling_pmi_handler()
632 get_cpu_var(profiling_info.vm_info).external_vector = -1; in profiling_pmi_handler()
732 __func__, get_cpu_var(profiling_info.s_state).pmu_state, i); in profiling_start_pmu()
1267 switch (get_cpu_var(profiling_info.ipi_cmd)) { in profiling_ipi_handler()
1285 __func__, get_cpu_var(profiling_info.ipi_cmd), get_pcpu_id()); in profiling_ipi_handler()
1288 get_cpu_var(profiling_info.ipi_cmd) = IPI_UNKNOWN; in profiling_ipi_handler()
1296 if (((get_cpu_var(profiling_info.s_state).pmu_state == PMU_RUNNING) && in profiling_vmenter_handler()
1299 ((get_cpu_var(profiling_info.soc_state) == SW_RUNNING) && in profiling_vmenter_handler()
1303 get_cpu_var(profiling_info.vm_info).vmenter_tsc = cpu_ticks(); in profiling_vmenter_handler()
1316 if ((get_cpu_var(profiling_info.s_state).pmu_state == PMU_RUNNING) || in profiling_pre_vmexit_handler()
1317 (get_cpu_var(profiling_info.soc_state) == SW_RUNNING)) { in profiling_pre_vmexit_handler()
1319 get_cpu_var(profiling_info.vm_info).vmexit_tsc = cpu_ticks(); in profiling_pre_vmexit_handler()
1320 get_cpu_var(profiling_info.vm_info).vmexit_reason in profiling_pre_vmexit_handler()
1323 get_cpu_var(profiling_info.vm_info).external_vector in profiling_pre_vmexit_handler()
1326 get_cpu_var(profiling_info.vm_info).external_vector = -1; in profiling_pre_vmexit_handler()
1328 get_cpu_var(profiling_info.vm_info).guest_rip in profiling_pre_vmexit_handler()
1331 get_cpu_var(profiling_info.vm_info).guest_rflags in profiling_pre_vmexit_handler()
1334 get_cpu_var(profiling_info.vm_info).guest_cs in profiling_pre_vmexit_handler()
1337 get_cpu_var(profiling_info.vm_info).guest_vm_id = (int16_t)vcpu->vm->vm_id; in profiling_pre_vmexit_handler()
1348 if ((get_cpu_var(profiling_info.s_state).pmu_state == PMU_RUNNING) || in profiling_post_vmexit_handler()
1349 (get_cpu_var(profiling_info.soc_state) == SW_RUNNING)) { in profiling_post_vmexit_handler()
1356 get_cpu_var(profiling_info.vm_trace).os_id in profiling_post_vmexit_handler()
1358 get_cpu_var(profiling_info.vm_trace).vm_enter_tsc in profiling_post_vmexit_handler()
1359 = get_cpu_var(profiling_info.vm_info).vmenter_tsc; in profiling_post_vmexit_handler()
1360 get_cpu_var(profiling_info.vm_trace).vm_exit_tsc in profiling_post_vmexit_handler()
1361 = get_cpu_var(profiling_info.vm_info).vmexit_tsc; in profiling_post_vmexit_handler()
1362 get_cpu_var(profiling_info.vm_trace).vm_exit_reason in profiling_post_vmexit_handler()
1363 = get_cpu_var(profiling_info.vm_info).vmexit_reason; in profiling_post_vmexit_handler()