Lines Matching defs:intel_pt_decoder
94 struct intel_pt_decoder { struct
95 int (*get_trace)(struct intel_pt_buffer *buffer, void *data);
96 int (*walk_insn)(struct intel_pt_insn *intel_pt_insn,
99 bool (*pgd_ip)(uint64_t ip, void *data);
100 int (*lookahead)(void *data, intel_pt_lookahead_cb_t cb, void *cb_data);
101 void *data;
102 struct intel_pt_state state;
103 const unsigned char *buf;
104 size_t len;
105 bool return_compression;
106 bool branch_enable;
107 bool mtc_insn;
108 bool pge;
109 bool have_tma;
110 bool have_cyc;
111 bool fixup_last_mtc;
112 bool have_last_ip;
113 bool in_psb;
114 bool hop;
115 bool hop_psb_fup;
116 bool leap;
117 enum intel_pt_param_flags flags;
118 uint64_t pos;
119 uint64_t last_ip;
120 uint64_t ip;
121 uint64_t cr3;
122 uint64_t timestamp;
123 uint64_t tsc_timestamp;
124 uint64_t ref_timestamp;
125 uint64_t buf_timestamp;
126 uint64_t sample_timestamp;
127 uint64_t ret_addr;
128 uint64_t ctc_timestamp;
129 uint64_t ctc_delta;
130 uint64_t cycle_cnt;
131 uint64_t cyc_ref_timestamp;
132 uint32_t last_mtc;
133 uint32_t tsc_ctc_ratio_n;
134 uint32_t tsc_ctc_ratio_d;
135 uint32_t tsc_ctc_mult;
136 uint32_t tsc_slip;
137 uint32_t ctc_rem_mask;
138 int mtc_shift;
139 struct intel_pt_stack stack;
140 enum intel_pt_pkt_state pkt_state;
141 enum intel_pt_pkt_ctx pkt_ctx;
142 enum intel_pt_pkt_ctx prev_pkt_ctx;
143 enum intel_pt_blk_type blk_type;
144 int blk_type_pos;
145 struct intel_pt_pkt packet;
146 struct intel_pt_pkt tnt;
147 int pkt_step;
148 int pkt_len;
149 int last_packet_type;
150 unsigned int cbr;
151 unsigned int cbr_seen;
152 unsigned int max_non_turbo_ratio;
153 double max_non_turbo_ratio_fp;
154 double cbr_cyc_to_tsc;
155 double calc_cyc_to_tsc;
156 bool have_calc_cyc_to_tsc;
157 int exec_mode;
158 unsigned int insn_bytes;
159 uint64_t period;
160 enum intel_pt_period_type period_type;
161 uint64_t tot_insn_cnt;
162 uint64_t period_insn_cnt;
163 uint64_t period_mask;
164 uint64_t period_ticks;
165 uint64_t last_masked_timestamp;
166 uint64_t tot_cyc_cnt;
167 uint64_t sample_tot_cyc_cnt;
168 uint64_t base_cyc_cnt;
169 uint64_t cyc_cnt_timestamp;
170 double tsc_to_cyc;
171 bool continuous_period;
172 bool overflow;
173 bool set_fup_tx_flags;
174 bool set_fup_ptw;
175 bool set_fup_mwait;
176 bool set_fup_pwre;
177 bool set_fup_exstop;
178 bool set_fup_bep;
179 bool sample_cyc;
180 unsigned int fup_tx_flags;
181 unsigned int tx_flags;
182 uint64_t fup_ptw_payload;
183 uint64_t fup_mwait_payload;
207 static void intel_pt_setup_period(struct intel_pt_decoder *decoder) in intel_pt_setup_period() argument