Lines Matching refs:switch_state
123 enum switch_state { enum
150 int switch_state; member
941 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
1527 switch (ptq->switch_state) { in intel_pt_sample()
1534 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
1537 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
1541 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
1542 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
1543 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
1544 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
1547 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
1681 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
1830 switch (ptq->switch_state) { in intel_pt_sync_switch()
1837 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
1849 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()