Re: perf_disable()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, June 11, 2010 - 1:29 pm

On Fri, 2010-06-11 at 19:17 +0200, Frederic Weisbecker wrote:

I'm not sure what you're arguing, but the knife cuts on both sides, the
above also stops counters that shouldn't be stopped..


Well, we need to do something, the current weak mess needs to go, and
the alternative is basically a loop over all registerd pmus calling
their respective pmu::disable_all, which is utter suckage, so removing
as many of this as possible is a good thing.

We can always come up with some lazy mode later that tries to batch the
hardware writes.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
perf_disable(), Peter Zijlstra, (Fri Jun 11, 9:29 am)
Re: perf_disable(), Robert Richter, (Fri Jun 11, 9:52 am)
Re: perf_disable(), Frederic Weisbecker, (Fri Jun 11, 10:17 am)
Re: perf_disable(), Peter Zijlstra, (Fri Jun 11, 1:29 pm)
Re: perf_disable(), Frederic Weisbecker, (Fri Jun 11, 2:01 pm)
Re: perf_disable(), Frederic Weisbecker, (Fri Jun 11, 2:04 pm)
Re: perf_disable(), Peter Zijlstra, (Fri Jun 11, 2:25 pm)
Re: perf_disable(), Will Deacon, (Mon Jun 14, 2:23 am)