OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | esp32_sysview_cmd_data |
Functions | |
int | esp32_sysview_cmd_cleanup (struct esp32_apptrace_cmd_ctx *cmd_ctx) |
int | esp32_sysview_cmd_init (struct esp32_apptrace_cmd_ctx *cmd_ctx, struct command_invocation *cmd, int mode, bool mcore_format, const char **argv, int argc) |
int | esp32_sysview_process_data (struct esp32_apptrace_cmd_ctx *ctx, unsigned int core_id, uint8_t *data, uint32_t data_len) |
int esp32_sysview_cmd_cleanup | ( | struct esp32_apptrace_cmd_ctx * | cmd_ctx | ) |
Definition at line 113 of file esp32_sysview.c.
References esp32_apptrace_cmd_ctx::cmd_priv, esp32_apptrace_cmd_ctx::cores_num, esp32_sysview_cmd_data::data_dests, ERROR_OK, esp32_apptrace_cmd_ctx_cleanup(), esp32_apptrace_dest_cleanup(), and NULL.
Referenced by esp32_cmd_apptrace_generic().
int esp32_sysview_cmd_init | ( | struct esp32_apptrace_cmd_ctx * | cmd_ctx, |
struct command_invocation * | cmd, | ||
int | mode, | ||
bool | mcore_format, | ||
const char ** | argv, | ||
int | argc | ||
) |
Definition at line 33 of file esp32_sysview.c.
References esp32_sysview_cmd_data::apptrace, cmd, esp32_apptrace_cmd_ctx::cmd_priv, command_print(), esp32_apptrace_format::core_id_get, esp32_apptrace_cmd_ctx::cores_num, esp32_sysview_cmd_data::data_dests, ERROR_FAIL, ERROR_OK, esp32_apptrace_cmd_args_parse(), esp32_apptrace_cmd_ctx_cleanup(), esp32_apptrace_cmd_ctx_init(), esp32_apptrace_dest_cleanup(), esp32_apptrace_dest_init(), esp32_sysview_core_id_get(), ESP32_SYSVIEW_USER_BLOCK_HDR_SZ, esp32_sysview_usr_block_len_get(), esp_sysview_trace_header_write(), esp32_apptrace_format::hdr_sz, LOG_USER, esp32_apptrace_cmd_data::max_len, esp32_sysview_cmd_data::mcore_format, mode, esp32_apptrace_cmd_data::poll_period, esp32_apptrace_cmd_ctx::running, esp32_apptrace_cmd_data::skip_len, esp32_apptrace_cmd_ctx::stop_tmo, esp32_apptrace_cmd_ctx::trace_format, esp32_apptrace_format::usr_block_len_get, and esp32_apptrace_cmd_data::wait4halt.
Referenced by esp32_cmd_apptrace_generic().
int esp32_sysview_process_data | ( | struct esp32_apptrace_cmd_ctx * | ctx, |
unsigned int | core_id, | ||
uint8_t * | data, | ||
uint32_t | data_len | ||
) |
Definition at line 442 of file esp32_sysview.c.
References esp32_sysview_cmd_data::apptrace, esp32_apptrace_cmd_ctx::cmd_priv, esp32_apptrace_cmd_ctx::cores_num, esp32_sysview_cmd_data::data_dests, duration_measure(), ERROR_FAIL, ERROR_OK, esp32_sysview_process_packet(), esp_sysview_parse_packet(), LOG_DEBUG, LOG_ERROR, LOG_USER, esp32_apptrace_cmd_data::max_len, esp32_sysview_cmd_data::mcore_format, esp32_apptrace_dest::priv, esp32_apptrace_cmd_ctx::read_time, esp32_apptrace_cmd_ctx::running, esp32_apptrace_cmd_data::skip_len, esp32_sysview_cmd_data::sv_trace_running, SYSVIEW_EVTID_TRACE_STOP, SYSVIEW_SYNC_LEN, esp32_apptrace_cmd_ctx::tot_len, and esp32_apptrace_dest::write.
Referenced by esp32_cmd_apptrace_generic().