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