diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-28 00:32:55 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-09-28 00:32:55 -0400 |
commit | 987e83646701cee38c6378c84017cc2aabde39a9 (patch) | |
tree | 7fcb74989cbcc6c76dac61d929f9ec3f1bf6349e /litmus/sched_edf_fm.c | |
parent | e99200a1a2c28c8711eb1549ea61bd4af4f970da (diff) |
Add extra tracing points and format old traces
Diffstat (limited to 'litmus/sched_edf_fm.c')
-rw-r--r-- | litmus/sched_edf_fm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/sched_edf_fm.c b/litmus/sched_edf_fm.c index 38b5a3f97101..b7210725c072 100644 --- a/litmus/sched_edf_fm.c +++ b/litmus/sched_edf_fm.c | |||
@@ -271,6 +271,9 @@ static int next_cpu_for_job(struct task_struct *t) | |||
271 | { | 271 | { |
272 | BUG_ON(!is_migrat_task(t)); | 272 | BUG_ON(!is_migrat_task(t)); |
273 | 273 | ||
274 | TRACE_TASK(t, "%u = %u * %u / %u\n", | ||
275 | t->rt_param.job_params.job_no, cur_cpu_job_no(t), | ||
276 | cur_cpu_fract_den(t), cur_cpu_fract_num(t)); | ||
274 | if ((t->rt_param.job_params.job_no) == | 277 | if ((t->rt_param.job_params.job_no) == |
275 | (((lt_t) cur_cpu_job_no(t) * cur_cpu_fract_den(t)) / | 278 | (((lt_t) cur_cpu_job_no(t) * cur_cpu_fract_den(t)) / |
276 | cur_cpu_fract_num(t))) | 279 | cur_cpu_fract_num(t))) |