aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2008-12-10 02:08:22 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-12 06:08:26 -0500
commitcbc34ed1ac36690f75fd272e19e7b4fc29aae5a2 (patch)
treebe0c1e0d4ed4eab1c9385198372dc64de50c9f1b /include/trace
parentf3134de60624829a57741c1f3796847d4de165f6 (diff)
sched: fix tracepoints in scheduler
The trace point only caught one of many places where a task changes cpu, put it in the right place to we get all of them. Change the signature while we're at it. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/sched.h b/include/trace/sched.h
index 9b2854abf7e2..f4549d506b16 100644
--- a/include/trace/sched.h
+++ b/include/trace/sched.h
@@ -30,8 +30,8 @@ DECLARE_TRACE(sched_switch,
30 TPARGS(rq, prev, next)); 30 TPARGS(rq, prev, next));
31 31
32DECLARE_TRACE(sched_migrate_task, 32DECLARE_TRACE(sched_migrate_task,
33 TPPROTO(struct rq *rq, struct task_struct *p, int dest_cpu), 33 TPPROTO(struct task_struct *p, int orig_cpu, int dest_cpu),
34 TPARGS(rq, p, dest_cpu)); 34 TPARGS(p, orig_cpu, dest_cpu));
35 35
36DECLARE_TRACE(sched_process_free, 36DECLARE_TRACE(sched_process_free,
37 TPPROTO(struct task_struct *p), 37 TPPROTO(struct task_struct *p),