Lines Matching refs:pmu_state
89 ss->pmu_state = PMU_SETUP; in profiling_initialize_pmi()
165 ss->pmu_state = PMU_RUNNING; in profiling_enable_pmu()
218 ss->pmu_state = PMU_SETUP; in profiling_disable_pmu()
331 if (ss->pmu_state == PMU_RUNNING) { in profiling_generate_data()
692 if (ss->pmu_state == PMU_RUNNING) { in profiling_pmi_handler()
730 if (per_cpu(profiling_info.s_state, i).pmu_state != PMU_SETUP) { in profiling_start_pmu()
732 __func__, get_cpu_var(profiling_info.s_state).pmu_state, i); in profiling_start_pmu()
747 per_cpu(profiling_info.s_state, i).pmu_state = PMU_RUNNING; in profiling_start_pmu()
770 if (per_cpu(profiling_info.s_state, i).pmu_state == PMU_RUNNING) { in profiling_stop_pmu()
771 per_cpu(profiling_info.s_state, i).pmu_state = PMU_SETUP; in profiling_stop_pmu()
1085 if (!((per_cpu(profiling_info.s_state, i).pmu_state == in profiling_configure_pmi()
1087 (per_cpu(profiling_info.s_state, i).pmu_state == in profiling_configure_pmi()
1090 __func__, per_cpu(profiling_info.s_state, i).pmu_state, i); in profiling_configure_pmi()
1296 if (((get_cpu_var(profiling_info.s_state).pmu_state == PMU_RUNNING) && in profiling_vmenter_handler()
1316 if ((get_cpu_var(profiling_info.s_state).pmu_state == PMU_RUNNING) || in profiling_pre_vmexit_handler()
1348 if ((get_cpu_var(profiling_info.s_state).pmu_state == PMU_RUNNING) || in profiling_post_vmexit_handler()
1404 per_cpu(profiling_info.s_state, cpu).pmu_state = PMU_INITIALIZED; in profiling_setup()