diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-10-13 00:16:38 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2011-10-13 00:16:38 -0400 |
commit | f5001920607dee542ff99a058c13080307de0c73 (patch) | |
tree | e263dcf059da1c4105c2def124f977e034ee8b57 /include | |
parent | e6c4555d308a5fadb7da9a7394150008adb5dc7d (diff) | |
parent | a565bb17ee38e4a811254c6f0a3e46e8b2c2b66f (diff) |
Merge branch 'wip-mc' of ssh://cvs.cs.unc.edu/cvs/proj/litmus/repo/litmus2010 into wip-mc
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/rt_domain.h | 4 | ||||
-rw-r--r-- | include/litmus/trace.h | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/litmus/rt_domain.h b/include/litmus/rt_domain.h index 59350fb78d4f..f98d47ccbb0b 100644 --- a/include/litmus/rt_domain.h +++ b/include/litmus/rt_domain.h | |||
@@ -31,10 +31,10 @@ typedef struct _rt_domain { | |||
31 | raw_spinlock_t release_lock; | 31 | raw_spinlock_t release_lock; |
32 | struct release_queue release_queue; | 32 | struct release_queue release_queue; |
33 | 33 | ||
34 | #ifdef CONFIG_MERGE_TIMERS | 34 | #if defined(CONFIG_MERGE_TIMERS) |
35 | struct event_group* event_group; | 35 | struct event_group* event_group; |
36 | int prio; | 36 | int prio; |
37 | #elif CONFIG_RELEASE_MASTER | 37 | #elif defined(CONFIG_RELEASE_MASTER) |
38 | int release_master; | 38 | int release_master; |
39 | #endif | 39 | #endif |
40 | 40 | ||
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index 4fe4aadea8eb..e0c84716d87a 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
@@ -12,7 +12,8 @@ | |||
12 | enum task_type_marker { | 12 | 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 | }; | 17 | }; |
17 | 18 | ||
18 | struct timestamp { | 19 | struct timestamp { |
@@ -111,6 +112,10 @@ feather_callback void save_timestamp_time(unsigned long event, unsigned long tim | |||
111 | #define TS_LVLA_RELEASE_START DTIMESTAMP(112, TSK_RT) | 112 | #define TS_LVLA_RELEASE_START DTIMESTAMP(112, TSK_RT) |
112 | #define TS_LVLA_RELEASE_END DTIMESTAMP(113, TSK_RT) | 113 | #define TS_LVLA_RELEASE_END DTIMESTAMP(113, TSK_RT) |
113 | 114 | ||
115 | #define TS_LVLA_SCHED_START DTIMESTAMP(114, TSK_UNKNOWN) | ||
116 | #define TS_LVLA_SCHED_END_ID 115 | ||
117 | #define TS_LVLA_SCHED_END(t) TTIMESTAMP(TS_LVLA_SCHED_END_ID, t) | ||
118 | |||
114 | 119 | ||
115 | #define TS_PLUGIN_SCHED_START /* TIMESTAMP(120) */ /* currently unused */ | 120 | #define TS_PLUGIN_SCHED_START /* TIMESTAMP(120) */ /* currently unused */ |
116 | #define TS_PLUGIN_SCHED_END /* TIMESTAMP(121) */ | 121 | #define TS_PLUGIN_SCHED_END /* TIMESTAMP(121) */ |