From mboxrd@z Thu Jan 1 00:00:00 1970 From: mingo@elte.hu (Ingo Molnar) Date: Tue, 24 Mar 2009 18:53:17 +0100 Subject: [ltt-dev] [patch 5/9] LTTng instrumentation scheduler fix task migration In-Reply-To: <20090324160148.554127249@polymtl.ca> References: <20090324155625.420966314@polymtl.ca> <20090324160148.554127249@polymtl.ca> Message-ID: <20090324175317.GD31117@elte.hu> * Mathieu Desnoyers wrote: > The scheduler migration only needs to pass the task struct pointer > and the destination CPU. The source CPU can be found by using > task_cpu(p) in the probe. > +++ linux-2.6-lttng/include/trace/sched.h 2009-01-30 10:43:19.000000000 -0500 > @@ -30,8 +30,8 @@ DECLARE_TRACE(sched_switch, > TPARGS(rq, prev, next)); > > DECLARE_TRACE(sched_migrate_task, > - TPPROTO(struct task_struct *p, int orig_cpu, int dest_cpu), > - TPARGS(p, orig_cpu, dest_cpu)); > + TPPROTO(struct task_struct *p, int dest_cpu), > + TPARGS(p, dest_cpu)); Makes sense. Since this tracepoint has been changed in the tracing tree already, mind doing this change in that context? Thanks, Ingo