Re: [RFC][PATCH 09/11] perf: Default PMU ops

Peter Zijlstra
2010-06-29T18:19:14Z

On Tue, 2010-06-29 at 20:11 +0200, Frederic Weisbecker wrote:
> On Tue, Jun 29, 2010 at 08:09:10PM +0200, Peter Zijlstra wrote:
> > On Tue, 2010-06-29 at 20:07 +0200, Frederic Weisbecker wrote:
> > > On Tue, Jun 29, 2010 at 06:34:10PM +0200, Peter Zijlstra wrote:
> > > > On Tue, 2010-06-29 at 17:03 +0200, Frederic Weisbecker wrote:
> > > > > > You mean, if (!pmu->start_txn && pmu->pmu_enable) { /* install defaults
> > > > > > */ } ?
> >
> > > neglected pmu implementations shouldn't impact software pmus.
> >
> > With the above and not providing ->pmu_enable you get that.
>
>
> But we don't need to provide a pmu_enable for software events, right?

My point exactly.