Lines Matching refs:intel_pt_decoder
117 struct intel_pt_decoder { struct
269 static bool intel_pt_print_once(struct intel_pt_decoder *decoder, in intel_pt_print_once()
288 static void intel_pt_setup_period(struct intel_pt_decoder *decoder) in intel_pt_setup_period()
306 struct intel_pt_decoder *intel_pt_decoder_new(struct intel_pt_params *params) in intel_pt_decoder_new()
308 struct intel_pt_decoder *decoder; in intel_pt_decoder_new()
313 decoder = zalloc(sizeof(struct intel_pt_decoder)); in intel_pt_decoder_new()
381 void intel_pt_set_first_timestamp(struct intel_pt_decoder *decoder, in intel_pt_set_first_timestamp()
458 void intel_pt_decoder_free(struct intel_pt_decoder *decoder) in intel_pt_decoder_free()
548 static inline void intel_pt_set_last_ip(struct intel_pt_decoder *decoder) in intel_pt_set_last_ip()
554 static inline void intel_pt_set_ip(struct intel_pt_decoder *decoder) in intel_pt_set_ip()
560 static void intel_pt_decoder_log_packet(struct intel_pt_decoder *decoder) in intel_pt_decoder_log_packet()
566 static int intel_pt_bug(struct intel_pt_decoder *decoder) in intel_pt_bug()
573 static inline void intel_pt_clear_tx_flags(struct intel_pt_decoder *decoder) in intel_pt_clear_tx_flags()
578 static inline void intel_pt_update_in_tx(struct intel_pt_decoder *decoder) in intel_pt_update_in_tx()
583 static inline void intel_pt_update_pip(struct intel_pt_decoder *decoder) in intel_pt_update_pip()
588 static inline void intel_pt_update_nr(struct intel_pt_decoder *decoder) in intel_pt_update_nr()
593 static inline void intel_pt_set_nr(struct intel_pt_decoder *decoder) in intel_pt_set_nr()
599 static inline void intel_pt_set_pip(struct intel_pt_decoder *decoder) in intel_pt_set_pip()
605 static int intel_pt_bad_packet(struct intel_pt_decoder *decoder) in intel_pt_bad_packet()
619 static inline void intel_pt_update_sample_time(struct intel_pt_decoder *decoder) in intel_pt_update_sample_time()
626 static void intel_pt_reposition(struct intel_pt_decoder *decoder) in intel_pt_reposition()
634 static int intel_pt_get_data(struct intel_pt_decoder *decoder, bool reposition) in intel_pt_get_data()
665 static int intel_pt_get_next_data(struct intel_pt_decoder *decoder, in intel_pt_get_next_data()
678 static int intel_pt_get_split_packet(struct intel_pt_decoder *decoder) in intel_pt_get_split_packet()
720 struct intel_pt_decoder *decoder;
731 static int intel_pt_pkt_lookahead(struct intel_pt_decoder *decoder, in intel_pt_pkt_lookahead()
809 struct intel_pt_decoder *decoder = pkt_info->decoder; in intel_pt_calc_cyc_cb()
984 static void intel_pt_calc_cyc_to_tsc(struct intel_pt_decoder *decoder, in intel_pt_calc_cyc_to_tsc()
1012 static int intel_pt_get_next_packet(struct intel_pt_decoder *decoder) in intel_pt_get_next_packet()
1049 static uint64_t intel_pt_next_period(struct intel_pt_decoder *decoder) in intel_pt_next_period()
1073 static uint64_t intel_pt_next_sample(struct intel_pt_decoder *decoder) in intel_pt_next_sample()
1087 static void intel_pt_sample_insn(struct intel_pt_decoder *decoder) in intel_pt_sample_insn()
1116 static void intel_pt_sample_fup_insn(struct intel_pt_decoder *decoder) in intel_pt_sample_fup_insn()
1158 static int intel_pt_walk_insn(struct intel_pt_decoder *decoder, in intel_pt_walk_insn()
1267 static void intel_pt_mode_exec_status(struct intel_pt_decoder *decoder) in intel_pt_mode_exec_status()
1278 static void intel_pt_mode_exec(struct intel_pt_decoder *decoder) in intel_pt_mode_exec()
1286 static void intel_pt_sample_iflag(struct intel_pt_decoder *decoder) in intel_pt_sample_iflag()
1294 static void intel_pt_sample_iflag_chg(struct intel_pt_decoder *decoder) in intel_pt_sample_iflag_chg()
1300 static void intel_pt_clear_fup_event(struct intel_pt_decoder *decoder) in intel_pt_clear_fup_event()
1315 static bool intel_pt_fup_event(struct intel_pt_decoder *decoder, bool no_tip) in intel_pt_fup_event()
1412 static inline bool intel_pt_fup_with_nlip(struct intel_pt_decoder *decoder, in intel_pt_fup_with_nlip()
1421 static int intel_pt_walk_fup(struct intel_pt_decoder *decoder) in intel_pt_walk_fup()
1464 static int intel_pt_walk_tip(struct intel_pt_decoder *decoder) in intel_pt_walk_tip()
1607 static int intel_pt_emulated_ptwrite(struct intel_pt_decoder *decoder) in intel_pt_emulated_ptwrite()
1629 static int intel_pt_walk_tnt(struct intel_pt_decoder *decoder) in intel_pt_walk_tnt()
1737 static int intel_pt_mode_tsx(struct intel_pt_decoder *decoder, bool *no_tip) in intel_pt_mode_tsx()
1760 static int intel_pt_evd(struct intel_pt_decoder *decoder) in intel_pt_evd()
1789 static bool intel_pt_time_in_range(struct intel_pt_decoder *decoder, in intel_pt_time_in_range()
1802 static void intel_pt_calc_tsc_timestamp(struct intel_pt_decoder *decoder) in intel_pt_calc_tsc_timestamp()
1856 static int intel_pt_overflow(struct intel_pt_decoder *decoder) in intel_pt_overflow()
1871 static inline void intel_pt_mtc_cyc_cnt_pge(struct intel_pt_decoder *decoder) in intel_pt_mtc_cyc_cnt_pge()
1880 static inline void intel_pt_mtc_cyc_cnt_cbr(struct intel_pt_decoder *decoder) in intel_pt_mtc_cyc_cnt_cbr()
1888 static inline void intel_pt_mtc_cyc_cnt_upd(struct intel_pt_decoder *decoder) in intel_pt_mtc_cyc_cnt_upd()
1907 static void intel_pt_calc_tma(struct intel_pt_decoder *decoder) in intel_pt_calc_tma()
1938 static void intel_pt_calc_mtc_timestamp(struct intel_pt_decoder *decoder) in intel_pt_calc_mtc_timestamp()
1992 static void intel_pt_calc_cbr(struct intel_pt_decoder *decoder) in intel_pt_calc_cbr()
2009 static void intel_pt_calc_cyc_timestamp(struct intel_pt_decoder *decoder) in intel_pt_calc_cyc_timestamp()
2041 static void intel_pt_bbp(struct intel_pt_decoder *decoder) in intel_pt_bbp()
2060 static void intel_pt_bip(struct intel_pt_decoder *decoder) in intel_pt_bip()
2082 static int intel_pt_walk_psbend(struct intel_pt_decoder *decoder) in intel_pt_walk_psbend()
2183 static int intel_pt_walk_fup_tip(struct intel_pt_decoder *decoder) in intel_pt_walk_fup_tip()
2307 static int intel_pt_resample(struct intel_pt_decoder *decoder) in intel_pt_resample()
2412 static bool intel_pt_ovf_fup_lookahead(struct intel_pt_decoder *decoder) in intel_pt_ovf_fup_lookahead()
2439 static uint64_t intel_pt_ctc_to_tsc(struct intel_pt_decoder *decoder, uint64_t ctc) in intel_pt_ctc_to_tsc()
2447 static uint64_t intel_pt_calc_expected_tsc(struct intel_pt_decoder *decoder, in intel_pt_calc_expected_tsc()
2488 static uint64_t intel_pt_expected_tsc(struct intel_pt_decoder *decoder, in intel_pt_expected_tsc()
2499 static void intel_pt_translate_vm_tsc(struct intel_pt_decoder *decoder, in intel_pt_translate_vm_tsc()
2522 static void intel_pt_translate_vm_tsc_offset(struct intel_pt_decoder *decoder, in intel_pt_translate_vm_tsc_offset()
2549 static void intel_pt_vm_tm_corr_psb(struct intel_pt_decoder *decoder, in intel_pt_vm_tm_corr_psb()
2561 static void intel_pt_vm_tm_corr_first_tsc(struct intel_pt_decoder *decoder, in intel_pt_vm_tm_corr_first_tsc()
2596 static void intel_pt_vm_tm_corr_tsc(struct intel_pt_decoder *decoder, in intel_pt_vm_tm_corr_tsc()
2749 static void intel_pt_vm_tm_corr_pebs_tsc(struct intel_pt_decoder *decoder) in intel_pt_vm_tm_corr_pebs_tsc()
2801 static int intel_pt_vm_time_correlation(struct intel_pt_decoder *decoder) in intel_pt_vm_time_correlation()
2934 static int intel_pt_scan_for_psb(struct intel_pt_decoder *decoder);
2937 static int intel_pt_hop_trace(struct intel_pt_decoder *decoder, bool *no_tip, int *err) in intel_pt_hop_trace()
3142 static int intel_pt_psb(struct intel_pt_decoder *decoder) in intel_pt_psb()
3159 static int intel_pt_fup_in_psb(struct intel_pt_decoder *decoder) in intel_pt_fup_in_psb()
3179 static bool intel_pt_psb_with_fup(struct intel_pt_decoder *decoder, int *err) in intel_pt_psb_with_fup()
3199 static int intel_pt_walk_trace(struct intel_pt_decoder *decoder) in intel_pt_walk_trace()
3529 static inline bool intel_pt_have_ip(struct intel_pt_decoder *decoder) in intel_pt_have_ip()
3537 static int intel_pt_walk_psb(struct intel_pt_decoder *decoder) in intel_pt_walk_psb()
3659 static int intel_pt_walk_to_ip(struct intel_pt_decoder *decoder) in intel_pt_walk_to_ip()
3788 static int intel_pt_sync_ip(struct intel_pt_decoder *decoder) in intel_pt_sync_ip()
3819 static int intel_pt_part_psb(struct intel_pt_decoder *decoder) in intel_pt_part_psb()
3833 static int intel_pt_rest_psb(struct intel_pt_decoder *decoder, int part_psb) in intel_pt_rest_psb()
3845 static int intel_pt_get_split_psb(struct intel_pt_decoder *decoder, in intel_pt_get_split_psb()
3871 static int intel_pt_scan_for_psb(struct intel_pt_decoder *decoder) in intel_pt_scan_for_psb()
3906 static int intel_pt_sync(struct intel_pt_decoder *decoder) in intel_pt_sync()
3956 static uint64_t intel_pt_est_timestamp(struct intel_pt_decoder *decoder) in intel_pt_est_timestamp()
3969 const struct intel_pt_state *intel_pt_decode(struct intel_pt_decoder *decoder) in intel_pt_decode()
4451 int intel_pt_fast_forward(struct intel_pt_decoder *decoder, uint64_t timestamp) in intel_pt_fast_forward()