diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-03-15 12:11:32 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-03-30 17:18:46 -0400 |
commit | bbdb7896e6a6df8bcc3aa1c1746ab0f898fedfd8 (patch) | |
tree | 659e4b4d88708f347509dbe7317b5d66427e7760 /litmus/sched_plugin.c | |
parent | 26bafa3b7880a323d83b8ea71bdb8e2118a5cba0 (diff) |
First container trace iteration
Conflicts:
include/litmus/rt_param.h
include/litmus/sched_trace.h
litmus/budget.c
litmus/sched_mc.c
litmus/sched_mc_ce.c
Diffstat (limited to 'litmus/sched_plugin.c')
-rw-r--r-- | litmus/sched_plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/litmus/sched_plugin.c b/litmus/sched_plugin.c index 00a1900d6457..123c7516fb76 100644 --- a/litmus/sched_plugin.c +++ b/litmus/sched_plugin.c | |||
@@ -95,6 +95,10 @@ static void litmus_dummy_task_exit(struct task_struct *task) | |||
95 | { | 95 | { |
96 | } | 96 | } |
97 | 97 | ||
98 | static void litmus_dummy_release_ts(lt_t time) | ||
99 | { | ||
100 | } | ||
101 | |||
98 | static long litmus_dummy_complete_job(void) | 102 | static long litmus_dummy_complete_job(void) |
99 | { | 103 | { |
100 | return -ENOSYS; | 104 | return -ENOSYS; |
@@ -136,6 +140,7 @@ struct sched_plugin linux_sched_plugin = { | |||
136 | .finish_switch = litmus_dummy_finish_switch, | 140 | .finish_switch = litmus_dummy_finish_switch, |
137 | .activate_plugin = litmus_dummy_activate_plugin, | 141 | .activate_plugin = litmus_dummy_activate_plugin, |
138 | .deactivate_plugin = litmus_dummy_deactivate_plugin, | 142 | .deactivate_plugin = litmus_dummy_deactivate_plugin, |
143 | .release_ts = litmus_dummy_release_ts, | ||
139 | #ifdef CONFIG_LITMUS_LOCKING | 144 | #ifdef CONFIG_LITMUS_LOCKING |
140 | .allocate_lock = litmus_dummy_allocate_lock, | 145 | .allocate_lock = litmus_dummy_allocate_lock, |
141 | #endif | 146 | #endif |
@@ -174,6 +179,7 @@ int register_sched_plugin(struct sched_plugin* plugin) | |||
174 | CHECK(complete_job); | 179 | CHECK(complete_job); |
175 | CHECK(activate_plugin); | 180 | CHECK(activate_plugin); |
176 | CHECK(deactivate_plugin); | 181 | CHECK(deactivate_plugin); |
182 | CHECK(release_ts); | ||
177 | #ifdef CONFIG_LITMUS_LOCKING | 183 | #ifdef CONFIG_LITMUS_LOCKING |
178 | CHECK(allocate_lock); | 184 | CHECK(allocate_lock); |
179 | #endif | 185 | #endif |