Lines Matching defs:intel_pt_decoder
117 struct intel_pt_decoder { struct
118 int (*get_trace)(struct intel_pt_buffer *buffer, void *data);
119 int (*walk_insn)(struct intel_pt_insn *intel_pt_insn,
122 bool (*pgd_ip)(uint64_t ip, void *data);
123 int (*lookahead)(void *data, intel_pt_lookahead_cb_t cb, void *cb_data);
124 struct intel_pt_vmcs_info *(*findnew_vmcs_info)(void *data, uint64_t vmcs);
125 void *data;
126 struct intel_pt_state state;
127 const unsigned char *buf;
128 size_t len;
129 bool return_compression;
130 bool branch_enable;
131 bool mtc_insn;
132 bool pge;
133 bool have_tma;
134 bool have_cyc;
135 bool fixup_last_mtc;
136 bool have_last_ip;
137 bool in_psb;
138 bool hop;
139 bool leap;
140 bool vm_time_correlation;
141 bool vm_tm_corr_dry_run;
142 bool vm_tm_corr_reliable;
143 bool vm_tm_corr_same_buf;
144 bool vm_tm_corr_continuous;
145 bool nr;
146 bool next_nr;
147 enum intel_pt_param_flags flags;
148 uint64_t pos;
149 uint64_t last_ip;
150 uint64_t ip;
151 uint64_t pip_payload;
152 uint64_t timestamp;
153 uint64_t tsc_timestamp;
154 uint64_t ref_timestamp;
155 uint64_t buf_timestamp;
156 uint64_t sample_timestamp;
157 uint64_t ret_addr;
158 uint64_t ctc_timestamp;
159 uint64_t ctc_delta;
160 uint64_t cycle_cnt;
161 uint64_t cyc_ref_timestamp;
162 uint64_t first_timestamp;
163 uint64_t last_reliable_timestamp;
164 uint64_t vmcs;
165 uint64_t print_once;
166 uint64_t last_ctc;
167 uint32_t last_mtc;
168 uint32_t tsc_ctc_ratio_n;
169 uint32_t tsc_ctc_ratio_d;
170 uint32_t tsc_ctc_mult;
171 uint32_t tsc_slip;
172 uint32_t ctc_rem_mask;
173 int mtc_shift;
174 struct intel_pt_stack stack;
175 enum intel_pt_pkt_state pkt_state;
176 enum intel_pt_pkt_ctx pkt_ctx;
177 enum intel_pt_pkt_ctx prev_pkt_ctx;
178 enum intel_pt_blk_type blk_type;
179 int blk_type_pos;
180 struct intel_pt_pkt packet;
181 struct intel_pt_pkt tnt;
182 int pkt_step;
183 int pkt_len;
184 int last_packet_type;
185 unsigned int cbr;
186 unsigned int cbr_seen;
187 unsigned int max_non_turbo_ratio;
188 double max_non_turbo_ratio_fp;
189 double cbr_cyc_to_tsc;
190 double calc_cyc_to_tsc;
191 bool have_calc_cyc_to_tsc;
192 int exec_mode;
193 unsigned int insn_bytes;
194 uint64_t period;
195 enum intel_pt_period_type period_type;
196 uint64_t tot_insn_cnt;
197 uint64_t period_insn_cnt;
198 uint64_t period_mask;
199 uint64_t period_ticks;
200 uint64_t last_masked_timestamp;
201 uint64_t tot_cyc_cnt;
202 uint64_t sample_tot_cyc_cnt;
203 uint64_t base_cyc_cnt;
204 uint64_t cyc_cnt_timestamp;
205 uint64_t ctl;
206 uint64_t cyc_threshold;
207 double tsc_to_cyc;
208 bool continuous_period;
209 bool overflow;
210 bool set_fup_tx_flags;
211 bool set_fup_ptw;
212 bool set_fup_mwait;
213 bool set_fup_pwre;
214 bool set_fup_exstop;
215 bool set_fup_bep;
216 bool sample_cyc;
217 unsigned int fup_tx_flags;
218 unsigned int tx_flags;
219 uint64_t fup_ptw_payload;
220 uint64_t fup_mwait_payload;
221 uint64_t fup_pwre_payload;
222 uint64_t cbr_payload;
223 uint64_t timestamp_insn_cnt;
224 uint64_t sample_insn_cnt;
225 uint64_t stuck_ip;
226 int max_loops;
227 int no_progress;
228 int stuck_ip_prd;
229 int stuck_ip_cnt;
230 uint64_t psb_ip;
231 const unsigned char *next_buf;
232 size_t next_len;
233 unsigned char temp_buf[INTEL_PT_PKT_MAX_SZ];