summaryrefslogtreecommitdiffstats
path: root/trace/record/rtems/recordclient.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-25 12:14:11 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-08-26 13:31:18 +0200
commite8a709ac8e02e3dfcec48637b948d734ef2cb775 (patch)
treecf7e12e9e140ba7a74c3c138ef01bc686f052da2 /trace/record/rtems/recordclient.h
parentAdd JSON log generation (diff)
downloadrtems-tools-e8a709ac8e02e3dfcec48637b948d734ef2cb775.tar.bz2
record: Improve overflow handling
Signal the accumulated item overflow count with the time of the first new item.
Diffstat (limited to '')
-rw-r--r--trace/record/rtems/recordclient.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/trace/record/rtems/recordclient.h b/trace/record/rtems/recordclient.h
index 2509ba5..7f21d90 100644
--- a/trace/record/rtems/recordclient.h
+++ b/trace/record/rtems/recordclient.h
@@ -106,6 +106,11 @@ typedef struct {
size_t tail_head_index;
/**
+ * @brief Count of lost items due to ring buffer overflows.
+ */
+ uint32_t overflow;
+
+ /**
* @brief If true, then hold back items for overflow or initial ramp up
* processing.
*/