Re: [PATCH 2/5] perf, x86: Don't assume there can be only 4 PEBS events

Peter Zijlstra
2012-06-06T15:00:12Z

On Tue, 2012-06-05 at 17:56 -0700, Andi Kleen wrote:
> On Sandy Bridge in non HT mode there are 8 counters available. Since every
> counter can write a PEBS record assuming there are 4 max is incorrect. Use
> the reported counter number -- with an upper limit for a static array -- instead.

While I queued this patch, its effectively a NOP since all SNB PEBS
constraints are still on 4 counters.