Searched refs:KPERF_SAMPLING_ON (Results 1 – 3 of 3) sorted by relevance
231 return os_atomic_load(&kperf_status, acquire) == KPERF_SAMPLING_ON; in kperf_is_sampling()241 enum kperf_sampling prev_status = KPERF_SAMPLING_ON; in kperf_enable_sampling()243 KPERF_SAMPLING_ON, &prev_status, seq_cst); in kperf_enable_sampling()245 if (prev_status == KPERF_SAMPLING_ON) { in kperf_enable_sampling()260 enum kperf_sampling prev_status = KPERF_SAMPLING_ON; in kperf_disable_sampling()261 int ok = os_atomic_cmpxchgv(&kperf_status, KPERF_SAMPLING_ON, in kperf_disable_sampling()
76 KPERF_SAMPLING_ON, enumerator
319 case KPERF_SAMPLING_ON: in kptimer_expire()580 if (status == KPERF_SAMPLING_ON) { in kptimer_curcpu_up()