diff options
Diffstat (limited to 'include/litmus/trace.h')
-rw-r--r-- | include/litmus/trace.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index e0c84716d87a..6e720f865cc0 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
@@ -13,7 +13,9 @@ enum task_type_marker { | |||
13 | TSK_BE, | 13 | TSK_BE, |
14 | TSK_RT, | 14 | TSK_RT, |
15 | TSK_UNKNOWN, | 15 | TSK_UNKNOWN, |
16 | TSK_LVLA | 16 | TSK_LVLA, |
17 | TSK_LVLB, | ||
18 | TSK_LVLC | ||
17 | }; | 19 | }; |
18 | 20 | ||
19 | struct timestamp { | 21 | struct timestamp { |
@@ -116,6 +118,19 @@ feather_callback void save_timestamp_time(unsigned long event, unsigned long tim | |||
116 | #define TS_LVLA_SCHED_END_ID 115 | 118 | #define TS_LVLA_SCHED_END_ID 115 |
117 | #define TS_LVLA_SCHED_END(t) TTIMESTAMP(TS_LVLA_SCHED_END_ID, t) | 119 | #define TS_LVLA_SCHED_END(t) TTIMESTAMP(TS_LVLA_SCHED_END_ID, t) |
118 | 120 | ||
121 | #define TS_LVLB_RELEASE_START DTIMESTAMP(116, TSK_RT) | ||
122 | #define TS_LVLB_RELEASE_END DTIMESTAMP(117, TSK_RT) | ||
123 | |||
124 | #define TS_LVLB_SCHED_START DTIMESTAMP(118, TSK_UNKNOWN) | ||
125 | #define TS_LVLB_SCHED_END_ID 119 | ||
126 | #define TS_LVLB_SCHED_END(t) TTIMESTAMP(TS_LVLA_SCHED_END_ID, t) | ||
127 | |||
128 | #define TS_LVLC_RELEASE_START DTIMESTAMP(120, TSK_RT) | ||
129 | #define TS_LVLC_RELEASE_END DTIMESTAMP(121, TSK_RT) | ||
130 | |||
131 | #define TS_LVLC_SCHED_START DTIMESTAMP(122, TSK_UNKNOWN) | ||
132 | #define TS_LVLC_SCHED_END_ID 123 | ||
133 | #define TS_LVLC_SCHED_END(t) TTIMESTAMP(TS_LVLA_SCHED_END_ID, t) | ||
119 | 134 | ||
120 | #define TS_PLUGIN_SCHED_START /* TIMESTAMP(120) */ /* currently unused */ | 135 | #define TS_PLUGIN_SCHED_START /* TIMESTAMP(120) */ /* currently unused */ |
121 | #define TS_PLUGIN_SCHED_END /* TIMESTAMP(121) */ | 136 | #define TS_PLUGIN_SCHED_END /* TIMESTAMP(121) */ |