Lines Matching refs:switch_state
164 enum switch_state { enum
198 int switch_state; member
1605 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2729 switch (ptq->switch_state) { in intel_pt_sample()
2736 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2739 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2743 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2744 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2745 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2746 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2749 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2888 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
2902 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
2974 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
3180 switch (ptq->switch_state) { in intel_pt_sync_switch()
3186 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
3198 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
3251 switch (ptq->switch_state) { in intel_pt_context_switch_in()
3258 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()