aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_litmus.c
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-07-28 01:41:14 -0400
committerChristopher Kenna <cjk@cs.unc.edu>2011-10-10 17:29:37 -0400
commitd0d4d8dbb2c61fe2f693e4d9ded04489bddd7b53 (patch)
tree5d4a917a54a249831ea2dfd37bdc0fecbb611e0d /litmus/sched_litmus.c
parentc9b77cc06d84ce3baad31da1e914615bcd8f0740 (diff)
Feather-Trace: Simplify syscall-in overhead tracing
Just stick TS_SYSCALL_IN_START into any system call that needs tracing.
Diffstat (limited to 'litmus/sched_litmus.c')
-rw-r--r--litmus/sched_litmus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c
index e6952896dc4b..231c86daa1f9 100644
--- a/litmus/sched_litmus.c
+++ b/litmus/sched_litmus.c
@@ -194,6 +194,8 @@ static void dequeue_task_litmus(struct rq *rq, struct task_struct *p,
194 194
195static void yield_task_litmus(struct rq *rq) 195static void yield_task_litmus(struct rq *rq)
196{ 196{
197 TS_SYSCALL_IN_START;
198
197 BUG_ON(rq->curr != current); 199 BUG_ON(rq->curr != current);
198 /* sched_yield() is called to trigger delayed preemptions. 200 /* sched_yield() is called to trigger delayed preemptions.
199 * Thus, mark the current task as needing to be rescheduled. 201 * Thus, mark the current task as needing to be rescheduled.