Re: [PATCH 03/12] perf: add perf_event_task_migrate()

Peter Zijlstra
2010-05-05T09:11:33Z

On Wed, 2010-05-05 at 07:08 +0200, Frederic Weisbecker wrote:
>
> In fact why not moving both tracing calls under this check.
> This is going to fix the migrate trace event that gets called
> even on "spurious" migrations, and you avoid the duplicate check
> in the perf callback.

I kept the tracepoint out of that because I wanted to see how often it
attempts silly migrations :-)