Lines Matching refs:switch_state
143 enum switch_state { enum
168 int switch_state; member
1389 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2310 switch (ptq->switch_state) { in intel_pt_sample()
2317 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2320 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2324 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2325 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2326 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2327 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2330 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2449 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
2463 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
2534 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
2739 switch (ptq->switch_state) { in intel_pt_sync_switch()
2745 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
2757 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
2808 switch (ptq->switch_state) { in intel_pt_context_switch_in()
2815 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()