Re: [PATCH] sched: fix tracepoint in scheduler.
From: Peter Zijlstra
Date: Fri Apr 04 2014 - 08:53:11 EST
On Thu, Apr 03, 2014 at 08:12:48PM +0800, Dongsheng Yang wrote:
> In function set_task_cpu(), if cpu == new_cpu,
> there is no migration happen. But current trace point
> will raise a migration trace event.
>
> This patch change trace point to right place,
> only when migration really happen, an event will
> be threw out.
Yeah its there so we can see pointless 'migrations'.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/