pt_cpu_get_state
if (pt_cpu_get_state(curcpu) != PT_ACTIVE) {
if (pt_cpu_get_state(curcpu) == PT_ACTIVE) {