Messages in this thread | | | Date | Tue, 29 Jun 2010 20:11:06 +0200 | From | Frederic Weisbecker <> | Subject | Re: [RFC][PATCH 09/11] perf: Default PMU ops |
| |
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?
| |