Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 09:38:54AM +0200, Jiri Olsa escreveu: > On Tue, Sep 08, 2015 at 10:09:10AM +0300, Adrian Hunter wrote: > > On 08/09/15 09:45, Jiri Olsa wrote: > > > On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > > >> +++ b/tools/perf/util/evlist.c > > >> @@ -,9

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 10:09:10AM +0300, Adrian Hunter wrote: > On 08/09/15 09:45, Jiri Olsa wrote: > > On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > >> perf_evlist__propagate_maps() cannot easily tell if an evsel > >> has its own cpu map. To make that simpler, keep a copy of

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Adrian Hunter
On 08/09/15 09:45, Jiri Olsa wrote: > On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: >> perf_evlist__propagate_maps() cannot easily tell if an evsel >> has its own cpu map. To make that simpler, keep a copy of >> the PMU cpu map and adjust the propagation logic accordingly. >> >>

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Jiri Olsa
On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > perf_evlist__propagate_maps() cannot easily tell if an evsel > has its own cpu map. To make that simpler, keep a copy of > the PMU cpu map and adjust the propagation logic accordingly. > > Signed-off-by: Adrian Hunter > --- >

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Jiri Olsa
On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > perf_evlist__propagate_maps() cannot easily tell if an evsel > has its own cpu map. To make that simpler, keep a copy of > the PMU cpu map and adjust the propagation logic accordingly. > > Signed-off-by: Adrian Hunter

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Adrian Hunter
On 08/09/15 09:45, Jiri Olsa wrote: > On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: >> perf_evlist__propagate_maps() cannot easily tell if an evsel >> has its own cpu map. To make that simpler, keep a copy of >> the PMU cpu map and adjust the propagation logic accordingly. >> >>

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 10:09:10AM +0300, Adrian Hunter wrote: > On 08/09/15 09:45, Jiri Olsa wrote: > > On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > >> perf_evlist__propagate_maps() cannot easily tell if an evsel > >> has its own cpu map. To make that simpler, keep a copy of

Re: [PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-08 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 09:38:54AM +0200, Jiri Olsa escreveu: > On Tue, Sep 08, 2015 at 10:09:10AM +0300, Adrian Hunter wrote: > > On 08/09/15 09:45, Jiri Olsa wrote: > > > On Mon, Sep 07, 2015 at 05:27:49PM +0300, Adrian Hunter wrote: > > >> +++ b/tools/perf/util/evlist.c > > >> @@ -,9

[PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-07 Thread Adrian Hunter
perf_evlist__propagate_maps() cannot easily tell if an evsel has its own cpu map. To make that simpler, keep a copy of the PMU cpu map and adjust the propagation logic accordingly. Signed-off-by: Adrian Hunter --- tools/perf/util/evlist.c | 5 - tools/perf/util/evsel.c| 1 +

[PATCH V2 07/14] perf tools: Add evsel->own_cpus

2015-09-07 Thread Adrian Hunter
perf_evlist__propagate_maps() cannot easily tell if an evsel has its own cpu map. To make that simpler, keep a copy of the PMU cpu map and adjust the propagation logic accordingly. Signed-off-by: Adrian Hunter --- tools/perf/util/evlist.c | 5 -