Lines Matching refs:switch_state
165 enum switch_state { enum
200 int switch_state; member
1607 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2935 switch (ptq->switch_state) { in intel_pt_sample()
2942 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2945 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2949 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2950 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2951 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2952 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2955 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
3094 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
3108 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
3180 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
3386 switch (ptq->switch_state) { in intel_pt_sync_switch()
3392 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
3404 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
3457 switch (ptq->switch_state) { in intel_pt_context_switch_in()
3464 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()