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

From: Peter Zijlstra
Date: Sat Jul 10 2010 - 09:47:45 EST


On Sat, 2010-07-10 at 15:36 +0200, Frederic Weisbecker wrote:

> So, if I understood well, this is to avoid enabling an event from perf_pmu_enable()
> while the event was already stopped.

Right.

> Looks good but why this ARCH name then? This should be a kind of PERF_HES_ONCPU
> or so.

Because I failed to come up with a sensible name, ONCPU doesn't really
make sense either, its got nothing to do with CPUs.

_REALLY_STOPPED maybe, but then, that's a bad name too ;-)


--
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/