Re: [PATCH] tracing: Add task activate/deactivate tracepoints

From: Peter Zijlstra
Date: Mon May 31 2010 - 04:12:22 EST


On Mon, 2010-05-31 at 10:00 +0200, Ingo Molnar wrote:
> >
> > NAK, aside from a few corner cases wakeup and sleep are the important
> > points.
> >
> > The activate and deactivate functions are implementation details.
>
> Frederic, can you show us a concrete example of where we dont know what is
> going on due to inadequate instrumentation? Can we fix that be extending the
> existing tracepoints?

Right, so a few of those corner cases I mentioned above are things like
re-nice, PI-boosts etc.. Those use deactivate, modify task-state,
activate cycles. so if you want to see those, we can add an explicit
tracepoint for those actions.

An explicit nice/PI-boost tracepoint is much clearer than trying to
figure out wth the deactivate/activate cycle was for.
--
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/