Lines Matching refs:pkt_state

68 static inline bool intel_pt_sample_time(enum intel_pt_pkt_state pkt_state)  in intel_pt_sample_time()  argument
70 switch (pkt_state) { in intel_pt_sample_time()
95 #define INTEL_PT_STATE_ERR1 (decoder->pkt_state)
147 enum intel_pt_pkt_state pkt_state; member
490 decoder->pkt_state = INTEL_PT_STATE_NO_PSB; in intel_pt_bug()
511 if (decoder->pkt_state != INTEL_PT_STATE_NO_PSB) { in intel_pt_bad_packet()
513 decoder->pkt_state = INTEL_PT_STATE_ERR1; in intel_pt_bad_packet()
527 decoder->pkt_state = INTEL_PT_STATE_NO_PSB; in intel_pt_reposition()
1027 decoder->pkt_state = INTEL_PT_STATE_ERR2; in intel_pt_walk_insn()
1090 decoder->pkt_state = INTEL_PT_STATE_ERR_RESYNC; in intel_pt_walk_insn()
1166 decoder->pkt_state = INTEL_PT_STATE_RESAMPLE; in intel_pt_fup_event()
1207 bool no_tip = decoder->pkt_state != INTEL_PT_STATE_FUP; in intel_pt_walk_fup()
1209 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_fup()
1221 decoder->pkt_state = INTEL_PT_STATE_ERR_RESYNC; in intel_pt_walk_fup()
1228 decoder->pkt_state = INTEL_PT_STATE_ERR_RESYNC; in intel_pt_walk_fup()
1244 decoder->pkt_state == INTEL_PT_STATE_TIP_PGD && in intel_pt_walk_tip()
1251 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_tip()
1261 if (decoder->pkt_state == INTEL_PT_STATE_TIP_PGD) { in intel_pt_walk_tip()
1264 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_tip()
1274 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_tip()
1291 decoder->pkt_state == INTEL_PT_STATE_TIP_PGD && in intel_pt_walk_tip()
1296 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_tip()
1305 decoder->pkt_state = INTEL_PT_STATE_ERR_RESYNC; in intel_pt_walk_tip()
1328 decoder->pkt_state = INTEL_PT_STATE_ERR3; in intel_pt_walk_tnt()
1334 decoder->pkt_state = INTEL_PT_STATE_ERR3; in intel_pt_walk_tnt()
1340 decoder->pkt_state = INTEL_PT_STATE_ERR3; in intel_pt_walk_tnt()
1345 decoder->pkt_state = INTEL_PT_STATE_TNT_CONT; in intel_pt_walk_tnt()
1347 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_tnt()
1364 decoder->pkt_state = INTEL_PT_STATE_ERR3; in intel_pt_walk_tnt()
1378 decoder->pkt_state = INTEL_PT_STATE_TNT_CONT; in intel_pt_walk_tnt()
1380 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_walk_tnt()
1497 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_overflow()
1860 decoder->pkt_state = INTEL_PT_STATE_ERR3; in intel_pt_walk_fup_tip()
1940 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_resample()
2008 decoder->pkt_state = INTEL_PT_STATE_RESAMPLE; in intel_pt_hop_trace()
2101 decoder->pkt_state = INTEL_PT_STATE_TNT; in intel_pt_walk_trace()
2110 decoder->pkt_state = INTEL_PT_STATE_TIP_PGD; in intel_pt_walk_trace()
2131 decoder->pkt_state = INTEL_PT_STATE_RESAMPLE; in intel_pt_walk_trace()
2141 decoder->pkt_state = INTEL_PT_STATE_TIP; in intel_pt_walk_trace()
2162 decoder->pkt_state = INTEL_PT_STATE_FUP_NO_TIP; in intel_pt_walk_trace()
2164 decoder->pkt_state = INTEL_PT_STATE_FUP; in intel_pt_walk_trace()
2461 decoder->pkt_state = INTEL_PT_STATE_ERR4; in intel_pt_walk_psb()
2463 decoder->pkt_state = INTEL_PT_STATE_ERR3; in intel_pt_walk_psb()
2632 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_sync_ip()
2644 decoder->pkt_state = INTEL_PT_STATE_RESAMPLE; in intel_pt_sync_ip()
2646 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_sync_ip()
2759 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_sync()
2772 decoder->pkt_state = INTEL_PT_STATE_RESAMPLE; in intel_pt_sync()
2774 decoder->pkt_state = INTEL_PT_STATE_IN_SYNC; in intel_pt_sync()
2809 switch (decoder->pkt_state) { in intel_pt_decode()
2871 if (intel_pt_sample_time(decoder->pkt_state)) { in intel_pt_decode()