Lines Matching refs:switch_state
137 enum switch_state { enum
162 int switch_state; member
1215 ptq->switch_state != INTEL_PT_SS_EXPECTING_SWITCH_EVENT)) { in intel_pt_setup_queue()
2071 switch (ptq->switch_state) { in intel_pt_sample()
2078 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2081 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_EVENT; in intel_pt_sample()
2085 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_sample()
2086 } else if (ptq->switch_state == INTEL_PT_SS_NOT_TRACING) { in intel_pt_sample()
2087 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_sample()
2088 } else if (ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_sample()
2091 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sample()
2210 ptq->switch_state = INTEL_PT_SS_UNKNOWN; in intel_pt_time_filter()
2224 ptq->switch_state = INTEL_PT_SS_NOT_TRACING; in intel_pt_time_filter()
2296 ptq->switch_state == INTEL_PT_SS_UNKNOWN && in intel_pt_run_decoder()
2501 switch (ptq->switch_state) { in intel_pt_sync_switch()
2507 ptq->switch_state = INTEL_PT_SS_EXPECTING_SWITCH_IP; in intel_pt_sync_switch()
2519 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_sync_switch()
2571 switch (ptq->switch_state) { in intel_pt_context_switch_in()
2578 ptq->switch_state = INTEL_PT_SS_TRACING; in intel_pt_context_switch_in()