aboutsummaryrefslogtreecommitdiffstats
path: root/include/timestamp.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2012-01-24 07:54:01 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2012-01-24 07:54:01 -0500
commit6138184c2ad3e4027b0ab1958cde3da2a660147d (patch)
tree695c98214cf0935b8b6bef88431f43ab6b1a6dc5 /include/timestamp.h
parent765c1b704ec458a4224d9cd3e9cd38b5cf184395 (diff)
Add support for IRQ flag and counter in binary trace format.wip-ft-irq-flag
This introduces the new bit allocation and adds support to ftdump for showing the values. Not yet included is any support for filtering based on IRQ interference.
Diffstat (limited to 'include/timestamp.h')
-rw-r--r--include/timestamp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/timestamp.h b/include/timestamp.h
index f3dd6b8..75ab79a 100644
--- a/include/timestamp.h
+++ b/include/timestamp.h
@@ -14,7 +14,9 @@ struct timestamp {
14 uint32_t seq_no; 14 uint32_t seq_no;
15 uint8_t cpu; 15 uint8_t cpu;
16 uint8_t event; 16 uint8_t event;
17 uint8_t task_type; 17 uint8_t task_type:2;
18 uint8_t irq_flag:1;
19 uint8_t irq_count:5;
18}; 20};
19 21
20typedef uint32_t cmd_t; 22typedef uint32_t cmd_t;