10 #ifndef INCLUDE__CS_ETM_DECODER_H__ 11 #define INCLUDE__CS_ETM_DECODER_H__ 13 #include <linux/types.h> 19 const unsigned char *
buf;
63 void (*packet_printer)(
const char *msg);
88 u64 indx,
const u8 *
buf,
89 size_t len,
size_t *consumed);
struct cs_etm_decoder * cs_etm_decoder__new(int num_cpu, struct cs_etm_decoder_params *d_params, struct cs_etm_trace_params t_params[])
u32(* cs_etm_mem_cb_type)(struct cs_etm_queue *, u64, size_t, u8 *)
void cs_etm_decoder__free(struct cs_etm_decoder *decoder)
cs_etm_mem_cb_type mem_acc_cb
u8 last_instr_taken_branch
int cs_etm_decoder__process_data_block(struct cs_etm_decoder *decoder, u64 indx, const u8 *buf, size_t len, size_t *consumed)
int cs_etm_decoder__reset(struct cs_etm_decoder *decoder)
int cs_etm_decoder__add_mem_access_cb(struct cs_etm_decoder *decoder, u64 start, u64 end, cs_etm_mem_cb_type cb_func)
const unsigned char * buf
int cs_etm_decoder__get_packet(struct cs_etm_decoder *decoder, struct cs_etm_packet *packet)