RE: [PATCH RFC 01/10] perf,tools: open event on evsel cpus and threads

2015-08-21 Thread Liang, Kan
> > On Thu, Aug 20, 2015 at 05:24:32PM +, Liang, Kan wrote: > > > > > > On Tue, Aug 18, 2015 at 05:25:37AM -0400, kan.li...@intel.com wrote: > > > > From: Kan Liang > > > > > > > > evsel may have different cpus and threads as evlist's. > > > > Use it's own cpus and threads, when open evsel in

Re: [PATCH RFC 01/10] perf,tools: open event on evsel cpus and threads

2015-08-21 Thread Jiri Olsa
On Thu, Aug 20, 2015 at 05:24:32PM +, Liang, Kan wrote: > > > > On Tue, Aug 18, 2015 at 05:25:37AM -0400, kan.li...@intel.com wrote: > > > From: Kan Liang > > > > > > evsel may have different cpus and threads as evlist's. > > > Use it's own cpus and threads, when open evsel in perf record. >

RE: [PATCH RFC 01/10] perf,tools: open event on evsel cpus and threads

2015-08-20 Thread Liang, Kan
> > On Tue, Aug 18, 2015 at 05:25:37AM -0400, kan.li...@intel.com wrote: > > From: Kan Liang > > > > evsel may have different cpus and threads as evlist's. > > Use it's own cpus and threads, when open evsel in perf record. > > > > Signed-off-by: Kan Liang > > --- > > tools/perf/builtin-record.c

Re: [PATCH RFC 01/10] perf,tools: open event on evsel cpus and threads

2015-08-20 Thread Jiri Olsa
On Tue, Aug 18, 2015 at 05:25:37AM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > evsel may have different cpus and threads as evlist's. > Use it's own cpus and threads, when open evsel in perf record. > > Signed-off-by: Kan Liang > --- > tools/perf/builtin-record.c | 2 +- > 1 file c