diff options
Diffstat (limited to 'src/target/trace.h')
-rw-r--r-- | src/target/trace.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/target/trace.h b/src/target/trace.h index ec4a4c38..7267cd38 100644 --- a/src/target/trace.h +++ b/src/target/trace.h @@ -22,6 +22,20 @@ #include "target.h" +typedef struct trace_point_s +{ + u32 address; + u64 hit_counter; +} trace_point_t; + +typedef struct trace_s +{ + int num_trace_points; + trace_point_t *trace_points; + int trace_history_size; + u32 *trace_history; +} trace_t; + typedef enum trace_status { TRACE_IDLE = 0x0, |