Messages in this thread | | | Subject | Re: perf_disable() | From | Peter Zijlstra <> | Date | Fri, 11 Jun 2010 23:25:28 +0200 |
| |
On Fri, 2010-06-11 at 23:04 +0200, Frederic Weisbecker wrote: > On Fri, Jun 11, 2010 at 06:29:44PM +0200, Peter Zijlstra wrote: > > There is a fun little recursion issue with perf_adjust_period(), where > > if we fully removed perf_disable() we could end up calling pmu::stop() > > twice and such. > > > > We can have a local_t made nesting level on the stop/start that could easily > deal with this.
Fanning it out to the relevant pmu implementation is the interesting part..
| |