[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090324175317.GD31117@elte.hu>
Date: Tue, 24 Mar 2009 18:53:17 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
ltt-dev@...ts.casi.polymtl.ca,
Frederic Weisbecker <fweisbec@...il.com>,
Jason Baron <jbaron@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [patch 5/9] LTTng instrumentation scheduler fix task migration
* Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists