Lines Matching refs:switch_state
144 enum switch_state { enum
178 int switch_state; member
1400 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2365 switch (ptq->switch_state) { in intel_pt_sample()
2372 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2375 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2379 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2380 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2381 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2382 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2385 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2504 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
2518 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
2590 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
2795 switch (ptq->switch_state) { in intel_pt_sync_switch()
2801 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
2813 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
2864 switch (ptq->switch_state) { in intel_pt_context_switch_in()
2871 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()