OpenOCD
trace.h File Reference
Include dependency graph for trace.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ ERROR_TRACE_IMAGE_UNAVAILABLE

#define ERROR_TRACE_IMAGE_UNAVAILABLE   (-1500)

Definition at line 47 of file trace.h.

◆ ERROR_TRACE_INSTRUCTION_UNAVAILABLE

#define ERROR_TRACE_INSTRUCTION_UNAVAILABLE   (-1501)

Definition at line 48 of file trace.h.

Typedef Documentation

◆ trace_status_t

Todo:
This enum is one of the few things in this file related to hardware tracing ...

split such "real" tracing out from the contrib/libdcc support.

Enumeration Type Documentation

◆ trace_status

Todo:
This enum is one of the few things in this file related to hardware tracing ...

split such "real" tracing out from the contrib/libdcc support.

Enumerator
TRACE_IDLE 
TRACE_RUNNING 
TRACE_TRIGGERED 
TRACE_COMPLETED 
TRACE_OVERFLOWED 

Definition at line 36 of file trace.h.

Function Documentation

◆ trace_point()

◆ trace_register_commands()

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().