aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/timestamp.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/timestamp.h b/include/timestamp.h
index ec16d04..b3393ed 100644
--- a/include/timestamp.h
+++ b/include/timestamp.h
@@ -3,11 +3,18 @@
3 3
4#include <stdint.h> 4#include <stdint.h>
5 5
6enum task_type_marker {
7 TSK_BE,
8 TSK_RT,
9 TSK_UNKNOWN
10};
11
6struct timestamp { 12struct timestamp {
7 uint64_t timestamp; 13 uint64_t timestamp;
8 uint32_t seq_no; 14 uint32_t seq_no;
9 uint16_t cpu; 15 uint8_t cpu;
10 uint16_t event; 16 uint8_t event;
17 uint8_t task_type;
11}; 18};
12 19
13typedef uint32_t cmd_t; 20typedef uint32_t cmd_t;