Re: [RFC][PATCH 8/8] perf: Rework the PMU methods

From: Peter Zijlstra
Date: Wed Jun 23 2010 - 16:46:26 EST


On Tue, 2010-06-22 at 18:26 +0200, Frederic Weisbecker wrote:
> > > It would be nice to have a PERF_EF_STOP as well in ->del, so that
> > > each pmu don't need to maintain an internal state.
> >
> > You have to track it since we can stop the thing outselves without the
> > caller knowing.
>
>
> From the pmu internals yeah, that's what the x86 pmu does. But otherwise, other
> pmu don't do such things.

Everybody who does throttling will have to.
--
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/