esp32_apptrace_cmd_ctx::cpus is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDesp32_apptrace_cmd_ctx::cpus

esp32_apptrace_cmd_ctx::cpus field

References

LocationReferrerText
esp32_apptrace.h:80
esp32_apptrace.c:429esp32_apptrace_cmd_ctx_init()
cmd_ctx->cpus[i++] = curr;
esp32_apptrace.c:433esp32_apptrace_cmd_ctx_init()
cmd_ctx->cpus[0] = target;
esp32_apptrace.c:447esp32_apptrace_cmd_ctx_init()
esp32_apptrace.c:669esp32_apptrace_safe_halt_targets()
if (!target_was_examined(ctx->cpus[k]))
esp32_apptrace.c:671esp32_apptrace_safe_halt_targets()
if (ctx->cpus[k]->state == TARGET_HALTED)
esp32_apptrace.c:673esp32_apptrace_safe_halt_targets()
res = target_halt(ctx->cpus[k]);
esp32_apptrace.c:678esp32_apptrace_safe_halt_targets()
esp32_apptrace.c:681esp32_apptrace_safe_halt_targets()
target_name(ctx->cpus[k]),
esp32_apptrace.c:682esp32_apptrace_safe_halt_targets()
ctx->cpus[k]->state,
esp32_apptrace.c:691esp32_apptrace_safe_halt_targets()
res = ctx->hw->status_reg_read(ctx->cpus[k], &stat);
esp32_apptrace.c:699esp32_apptrace_safe_halt_targets()
res = ctx->hw->leave_trace_crit_section_start(ctx->cpus[k]);
esp32_apptrace.c:704esp32_apptrace_safe_halt_targets()
res = breakpoint_add(ctx->cpus[k], bp_addr, 1, BKPT_HARD);
esp32_apptrace.c:711esp32_apptrace_safe_halt_targets()
res = target_resume(ctx->cpus[k], 1, 0, 1, 0);
esp32_apptrace.c:714esp32_apptrace_safe_halt_targets()
breakpoint_remove(ctx->cpus[k], bp_addr);
esp32_apptrace.c:720esp32_apptrace_safe_halt_targets()
res = target_wait_state(ctx->cpus[k], TARGET_HALTED,
esp32_apptrace.c:724esp32_apptrace_safe_halt_targets()
breakpoint_remove(ctx->cpus[k], bp_addr);
esp32_apptrace.c:727esp32_apptrace_safe_halt_targets()
debug_reason = ctx->cpus[k]->debug_reason;
esp32_apptrace.c:729esp32_apptrace_safe_halt_targets()
res = ctx->hw->status_reg_read(ctx->cpus[k], &stat);
esp32_apptrace.c:732esp32_apptrace_safe_halt_targets()
breakpoint_remove(ctx->cpus[k], bp_addr);
esp32_apptrace.c:736esp32_apptrace_safe_halt_targets()
breakpoint_remove(ctx->cpus[k], bp_addr);
esp32_apptrace.c:738esp32_apptrace_safe_halt_targets()
res = ctx->hw->leave_trace_crit_section_stop(ctx->cpus[k]);
esp32_apptrace.c:743esp32_apptrace_safe_halt_targets()
res = ctx->hw->data_len_read(ctx->cpus[k], &targets[k].block_id, &targets[k].data_len);
esp32_apptrace.c:781esp32_apptrace_connect_targets()
res = ctx->hw->ctrl_reg_write(ctx->cpus[k],
esp32_apptrace.c:795esp32_apptrace_connect_targets()
if (smp_resumed && ctx->cpus[k]->smp) {
esp32_apptrace.c:799esp32_apptrace_connect_targets()
res = target_resume(ctx->cpus[k], 1, 0, 1, 0);
esp32_apptrace.c:804esp32_apptrace_connect_targets()
if (ctx->cpus[k]->smp)
esp32_apptrace.c:858esp32_apptrace_get_data_info()
int res = ctx->hw->data_len_read(ctx->cpus[i], &target_state[i].block_id, &target_state[i].data_len);
esp32_apptrace.c:860esp32_apptrace_get_data_info()
LOG_ERROR("Failed to read data len on (%s)!", target_name(ctx->cpus[i]));
esp32_apptrace.c:864esp32_apptrace_get_data_info()
LOG_TARGET_DEBUG(ctx->cpus[i], "Block %" PRId32 ", len %" PRId32 " bytes on fired",
esp32_apptrace.c:976esp32_apptrace_check_connection()
int res = ctx->hw->ctrl_reg_read(ctx->cpus[i], NULL, NULL, &conn);
esp32_apptrace.c:983esp32_apptrace_check_connection()
LOG_TARGET_WARNING(ctx->cpus[i], "apptrace connection is lost. Re-connect.");
esp32_apptrace.c:984esp32_apptrace_check_connection()
res = ctx->hw->status_reg_read(ctx->cpus[i], &stat);
esp32_apptrace.c:990esp32_apptrace_check_connection()
LOG_TARGET_WARNING(ctx->cpus[i], "in critical state. Retry in next poll");
esp32_apptrace.c:997esp32_apptrace_check_connection()
res = ctx->hw->ctrl_reg_write(ctx->cpus[i],
esp32_apptrace.c:1069esp32_apptrace_poll()
LOG_TARGET_DEBUG(ctx->cpus[i], "Ack empty block %" PRId32 "!", max_block_id);
esp32_apptrace.c:1070esp32_apptrace_poll()
res = ctx->hw->ctrl_reg_write(ctx->cpus[i],
esp32_apptrace.c:1077esp32_apptrace_poll()
LOG_TARGET_ERROR(ctx->cpus[i], "Failed to ack empty data block!");
esp32_apptrace.c:1114esp32_apptrace_poll()
LOG_TARGET_ERROR(ctx->cpus[fired_target_num], "Failed to get free block for data!");
esp32_apptrace.c:1125esp32_apptrace_poll()
res = ctx->hw->data_read(ctx->cpus[fired_target_num], target_state[fired_target_num].data_len, block->data,
esp32_apptrace.c:1132esp32_apptrace_poll()
LOG_TARGET_ERROR(ctx->cpus[fired_target_num], "Failed to read data!");
esp32_apptrace.c:1163esp32_apptrace_poll()
res = ctx->hw->ctrl_reg_write(ctx->cpus[i],
esp32_apptrace.c:1170esp32_apptrace_poll()
LOG_TARGET_ERROR(ctx->cpus[i], "Failed to ack data!");
esp32_apptrace.c:1173esp32_apptrace_poll()
LOG_TARGET_DEBUG(ctx->cpus[i], "Ack block %" PRId32, ctx->last_blk_id);
esp32_apptrace.c:1178esp32_apptrace_poll()
LOG_TARGET_ERROR(ctx->cpus[fired_target_num], "Failed to put ready block of data!");
esp32_apptrace.c:1270esp32_sysview_start()
res = esp_apptrace_usr_block_write(ctx->hw, ctx->cpus[fired_target_num], target_state[fired_target_num].block_id,
esp32_apptrace.c:1290esp32_sysview_stop()
LOG_ERROR("Failed to get free block for data on (%s)!", target_name(ctx->cpus[fired_target_num]));
esp32_apptrace.c:1311esp32_sysview_stop()
res = ctx->hw->data_read(ctx->cpus[fired_target_num], target_state[fired_target_num].data_len, block->data,
esp32_apptrace.c:1315esp32_sysview_stop()
LOG_ERROR("sysview: Failed to read data on (%s)!", target_name(ctx->cpus[fired_target_num]));
esp32_apptrace.c:1327esp32_sysview_stop()
res = esp_apptrace_usr_block_write(ctx->hw, ctx->cpus[fired_target_num], target_state[fired_target_num].block_id,
esp32_apptrace.c:1337esp32_sysview_stop()
res = ctx->hw->ctrl_reg_write(ctx->cpus[empty_target_num], target_state[fired_target_num].block_id,
esp32_apptrace.c:1343esp32_sysview_stop()
target_name(ctx->cpus[empty_target_num]), res);
esp32_apptrace.c:1351esp32_sysview_stop()
if (smp_resumed && ctx->cpus[k]->smp) {
esp32_apptrace.c:1355esp32_sysview_stop()
res = target_resume(ctx->cpus[k], 1, 0, 1, 0);
esp32_apptrace.c:1357esp32_sysview_stop()
LOG_ERROR("sysview: Failed to resume target '%s' (%d)!", target_name(ctx->cpus[k]), res);
esp32_apptrace.c:1360esp32_sysview_stop()
if (ctx->cpus[k]->smp)
esp32_apptrace.c:1387esp32_sysview_stop()
res = ctx->hw->data_read(ctx->cpus[fired_target_num],
esp32_apptrace.c:1393esp32_sysview_stop()
LOG_ERROR("sysview: Failed to read last data on (%s)!", target_name(ctx->cpus[fired_target_num]));
esp32_apptrace.c:1398esp32_sysview_stop()
res = ctx->hw->ctrl_reg_write(ctx->cpus[empty_target_num],
esp32_apptrace.c:1405esp32_sysview_stop()
target_name(ctx->cpus[empty_target_num]), res);

Data Use

Type of esp32_apptrace_cmd_ctx::cpus
esp32_apptrace_cmd_ctx::cpus
all items filtered out