Lines Matching refs:switch_state
159 enum switch_state { enum
193 int switch_state; member
1572 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2662 switch (ptq->switch_state) { in intel_pt_sample()
2669 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2672 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2676 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2677 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2678 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2679 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2682 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2821 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
2835 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
2907 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
3113 switch (ptq->switch_state) { in intel_pt_sync_switch()
3119 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
3131 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
3182 switch (ptq->switch_state) { in intel_pt_context_switch_in()
3189 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()