Lines Matching refs:switch_state
137 enum switch_state { enum
162 int switch_state; member
1199 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2059 switch (ptq->switch_state) { in intel_pt_sample()
2066 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2069 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2073 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2074 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2075 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2076 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2079 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2198 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
2212 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
2283 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
2488 switch (ptq->switch_state) { in intel_pt_sync_switch()
2494 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
2506 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
2558 switch (ptq->switch_state) { in intel_pt_context_switch_in()
2565 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()