diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-12-26 21:35:48 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-12-26 21:35:48 -0500 |
commit | 6c6fb3cefaa114d9ba709d3a6c264f6a69af18a2 (patch) | |
tree | 8fa9cb58c993780974d1b78e748f5fccc285dbf9 | |
parent | cc824914694b4ab7954f5225608016d78a55b1d1 (diff) |
Updated task types for lvl b and c events
-rw-r--r-- | litmus/trace.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/litmus/trace.c b/litmus/trace.c index 1d4593aec71d..219fb46deb34 100644 --- a/litmus/trace.c +++ b/litmus/trace.c | |||
@@ -92,6 +92,12 @@ feather_callback void save_timestamp_task(unsigned long event, | |||
92 | if (TS_LVLA_SCHED_END_ID == event) { | 92 | if (TS_LVLA_SCHED_END_ID == event) { |
93 | if (rt && CRIT_LEVEL_A == tsk_mc_crit(ts)) | 93 | if (rt && CRIT_LEVEL_A == tsk_mc_crit(ts)) |
94 | type = TSK_LVLA; | 94 | type = TSK_LVLA; |
95 | } else if (TS_LVLB_SCHED_END_ID == event) { | ||
96 | if (rt && CRIT_LEVEL_B == tsk_mc_crit(ts)) | ||
97 | type = TSK_LVLB; | ||
98 | } else if (TS_LVLC_SCHED_END_ID == event) { | ||
99 | if (rt && CRIT_LEVEL_C == tsk_mc_crit(ts)) | ||
100 | type = TSK_LVLC; | ||
95 | } | 101 | } |
96 | __save_timestamp(event, type); | 102 | __save_timestamp(event, type); |
97 | } | 103 | } |