16 #ifndef INCLUDE__INTEL_PT_DECODER_H__ 17 #define INCLUDE__INTEL_PT_DECODER_H__ 25 #define INTEL_PT_IN_TX (1 << 0) 26 #define INTEL_PT_ABORT_TX (1 << 1) 27 #define INTEL_PT_ASYNC (1 << 2) 28 #define INTEL_PT_FUP_IP (1 << 3) 95 const unsigned char *
buf;
105 uint64_t *insn_cnt_ptr, uint64_t *ip, uint64_t
to_ip,
106 uint64_t max_insn_cnt,
void *
data);
107 bool (*pgd_ip)(uint64_t ip,
void *
data);
128 unsigned char *buf_b,
size_t len_b,
129 bool have_tsc,
bool *consecutive);
const unsigned char * buf
#define INTEL_PT_INSN_BUF_SZ
unsigned max_non_turbo_ratio
enum intel_pt_insn_op insn_op
struct intel_pt_decoder * intel_pt_decoder_new(struct intel_pt_params *params)
enum intel_pt_sample_type type
void intel_pt_decoder_free(struct intel_pt_decoder *decoder)
int intel_pt__strerror(int code, char *buf, size_t buflen)
unsigned char * intel_pt_find_overlap(unsigned char *buf_a, size_t len_a, unsigned char *buf_b, size_t len_b, bool have_tsc, bool *consecutive)
const struct intel_pt_state * intel_pt_decode(struct intel_pt_decoder *decoder)