Re: [RFCv2 3/4] perf: util: only open events on CPUs an evsel permits

2016-07-18 Thread Jiri Olsa
On Mon, Jul 18, 2016 at 07:46:04PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jul 18, 2016 at 04:32:59PM +0200, Jiri Olsa escreveu: > > On Fri, Jul 15, 2016 at 11:08:12AM +0100, Mark Rutland wrote: > > > In systems with heterogeneous CPU PMUs, it's possible for each evsel to > > > cover a dis

Re: [RFCv2 3/4] perf: util: only open events on CPUs an evsel permits

2016-07-18 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 18, 2016 at 04:32:59PM +0200, Jiri Olsa escreveu: > On Fri, Jul 15, 2016 at 11:08:12AM +0100, Mark Rutland wrote: > > In systems with heterogeneous CPU PMUs, it's possible for each evsel to > > cover a distinct set of CPUs, and hence the cpu_map associated with each > > evsel may have a

Re: [RFCv2 3/4] perf: util: only open events on CPUs an evsel permits

2016-07-18 Thread Jiri Olsa
On Fri, Jul 15, 2016 at 11:08:12AM +0100, Mark Rutland wrote: > In systems with heterogeneous CPU PMUs, it's possible for each evsel to > cover a distinct set of CPUs, and hence the cpu_map associated with each > evsel may have a distinct idx<->id mapping. Any of these may be distinct from > the ev