Lines Matching refs:switch_state
105 enum switch_state { enum
130 int switch_state; member
849 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
1235 switch (ptq->switch_state) { in intel_pt_sample()
1241 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
1244 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
1248 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
1249 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
1250 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
1251 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
1254 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
1373 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
1522 switch (ptq->switch_state) { in intel_pt_sync_switch()
1529 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
1541 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()