Re: [PATCH 2/2] perf, amd: support for AMD NB and L2I "uncore"counters.

From: Jacob Shin
Date: Fri Apr 19 2013 - 17:35:21 EST


On Fri, Apr 19, 2013 at 08:55:24PM +0200, Peter Zijlstra wrote:
> On Fri, 2013-04-19 at 09:41 -0500, Jacob Shin wrote:
> >
> > Thank you again, for taking the time.
>
> Ah something I just remembered, could you do a patch like the below
> one? That makes things like perf stat -A work as expected.

Ah, okay. Here is V3 that also creates "cpumask" sysfs file. Tested
that the "perf stat -a .." works as expected.

Thanks again,

V3:
- Added "cpumask" attribute to sysfs to get "perf stat -a .." working
correctly

V2:
- Added event migration if possible when CPU goes offline