Messages in this thread | | | Date | Thu, 03 Apr 2014 10:18:06 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH] sched: fix tracepoint in scheduler. |
| |
On 04/03/2014 08:12 AM, 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. > > Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
I don't see any obvious place where set_task_cpu is called with cpu == new_cpu, but there might be an un-obvious place, because that if looks like it's there for a reason :)
Acked-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
| |