OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | trace |
struct | trace_point |
Macros | |
#define | ERROR_TRACE_IMAGE_UNAVAILABLE (-1500) |
#define | ERROR_TRACE_INSTRUCTION_UNAVAILABLE (-1501) |
Typedefs | |
typedef enum trace_status | trace_status_t |
Enumerations | |
enum | trace_status { TRACE_IDLE = 0x0 , TRACE_RUNNING = 0x1 , TRACE_TRIGGERED = 0x2 , TRACE_COMPLETED = 0x4 , TRACE_OVERFLOWED = 0x8 } |
Functions | |
int | trace_point (struct target *target, uint32_t number) |
int | trace_register_commands (struct command_context *cmd_ctx) |
typedef enum trace_status trace_status_t |
split such "real" tracing out from the contrib/libdcc support.
enum trace_status |
int trace_point | ( | struct target * | target, |
uint32_t | number | ||
) |
Definition at line 16 of file trace.c.
References ERROR_OK, trace_point::hit_counter, LOG_DEBUG, trace::num_trace_points, number, trace::trace_history, trace::trace_history_overflowed, trace::trace_history_pos, trace::trace_history_size, target::trace_info, and trace::trace_points.
Referenced by target_request().
int trace_register_commands | ( | struct command_context * | cmd_ctx | ) |
Definition at line 159 of file trace.c.
References NULL, register_commands(), and trace_command_handlers.
Referenced by target_register_user_commands().