diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-22 12:44:51 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-22 12:44:51 -0400 |
| commit | 5ef64e006c200e7213ae3cc52cb02bd172bfe97d (patch) | |
| tree | 1066722183ab4c9fb34c59176d4bc1619bfe4924 /include | |
| parent | 1e68c15dfd99e85be1eecdd1c426a35c6b8a6cc5 (diff) | |
another kernel data format change
don't use timestamps that did not involve a real-time task
Diffstat (limited to 'include')
| -rw-r--r-- | include/timestamp.h | 11 |
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 | ||
| 6 | enum task_type_marker { | ||
| 7 | TSK_BE, | ||
| 8 | TSK_RT, | ||
| 9 | TSK_UNKNOWN | ||
| 10 | }; | ||
| 11 | |||
| 6 | struct timestamp { | 12 | struct 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 | ||
| 13 | typedef uint32_t cmd_t; | 20 | typedef uint32_t cmd_t; |
