From d0d4d8dbb2c61fe2f693e4d9ded04489bddd7b53 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Thu, 28 Jul 2011 01:41:14 -0400 Subject: Feather-Trace: Simplify syscall-in overhead tracing Just stick TS_SYSCALL_IN_START into any system call that needs tracing. --- litmus/sched_litmus.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'litmus/sched_litmus.c') 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, static void yield_task_litmus(struct rq *rq) { + TS_SYSCALL_IN_START; + BUG_ON(rq->curr != current); /* sched_yield() is called to trigger delayed preemptions. * Thus, mark the current task as needing to be rescheduled. -- cgit v1.2.2