Lines Matching defs:intel_pt_decoder

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