11 #ifndef OPENOCD_TARGET_ETM_H
12 #define OPENOCD_TARGET_ETM_H
208 #define ERROR_ETM_INVALID_DRIVER (-1300)
209 #define ERROR_ETM_PORTMODE_NOT_SUPPORTED (-1301)
210 #define ERROR_ETM_CAPTURE_INIT_FAILED (-1302)
211 #define ERROR_ETM_ANALYSIS_FAILED (-1303)
struct reg_cache * etm_build_reg_cache(struct target *target, struct arm_jtag *jtag_info, struct etm_context *etm_ctx)
int etm_setup(struct target *target)
const struct command_registration etm_command_handlers[]
@ ETM_DATA_COMPARATOR_MASK
@ ETM_TRACE_RESOURCE_CTRL
@ ETM_COUNTER_RELOAD_EVENT
@ ETM_DATA_COMPARATOR_VALUE
@ ETM_CONTEXTID_COMPARATOR_MASK
@ ETM_COUNTER_RELOAD_VALUE
@ ETM_ADDR_COMPARATOR_VALUE
@ ETM_CONTEXTID_COMPARATOR_VALUE
@ ETM_CTRL_CONTEXTID_NONE
@ ETM_CTRL_CONTEXTID_MASK
@ ETM_CTRL_FIFOFULL_STALL
@ ETM_CTRL_CYCLE_ACCURATE
int(* stop_capture)(struct etm_context *etm_ctx)
int(* init)(struct etm_context *etm_ctx)
int(* start_capture)(struct etm_context *etm_ctx)
int(* read_trace)(struct etm_context *etm_ctx)
trace_status_t(* status)(struct etm_context *etm_ctx)
const struct command_registration * commands
struct etm_capture_driver * capture_driver
uint32_t last_instruction
struct etmv1_trace_data * trace_data
uint32_t last_branch_reason
trace_status_t capture_status
void * capture_driver_priv
struct reg_cache * reg_cache
struct arm_jtag * jtag_info
const struct etm_reg_info * reg_info
enum trace_status trace_status_t