Re: [PATCHv3] perf stat: Add id into perf_stat struct

2015-06-09 Thread Jiri Olsa
On Mon, Jun 08, 2015 at 11:03:40AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 04, 2015 at 03:50:55PM +0200, Jiri Olsa escreveu: > > On Wed, Jun 03, 2015 at 04:25:51PM +0200, Jiri Olsa wrote: > > > We need fast way to identify evsel as transaction event > > > for shadow counters

Re: [PATCHv3] perf stat: Add id into perf_stat struct

2015-06-09 Thread Jiri Olsa
On Mon, Jun 08, 2015 at 11:03:40AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 04, 2015 at 03:50:55PM +0200, Jiri Olsa escreveu: On Wed, Jun 03, 2015 at 04:25:51PM +0200, Jiri Olsa wrote: We need fast way to identify evsel as transaction event for shadow counters computation.

Re: [PATCHv3] perf stat: Add id into perf_stat struct

2015-06-08 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 04, 2015 at 03:50:55PM +0200, Jiri Olsa escreveu: > On Wed, Jun 03, 2015 at 04:25:51PM +0200, Jiri Olsa wrote: > > We need fast way to identify evsel as transaction event > > for shadow counters computation. Currently we are using > > possition (in evlist) based way. > > > > Adding

Re: [PATCHv3] perf stat: Add id into perf_stat struct

2015-06-08 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 04, 2015 at 03:50:55PM +0200, Jiri Olsa escreveu: On Wed, Jun 03, 2015 at 04:25:51PM +0200, Jiri Olsa wrote: We need fast way to identify evsel as transaction event for shadow counters computation. Currently we are using possition (in evlist) based way. Adding 'id' into

[PATCHv3] perf stat: Add id into perf_stat struct

2015-06-04 Thread Jiri Olsa
On Wed, Jun 03, 2015 at 04:25:51PM +0200, Jiri Olsa wrote: > We need fast way to identify evsel as transaction event > for shadow counters computation. Currently we are using > possition (in evlist) based way. > > Adding 'id' into 'struct perf_stat' so it can carry transaction > event ID and we

[PATCHv3] perf stat: Add id into perf_stat struct

2015-06-04 Thread Jiri Olsa
On Wed, Jun 03, 2015 at 04:25:51PM +0200, Jiri Olsa wrote: We need fast way to identify evsel as transaction event for shadow counters computation. Currently we are using possition (in evlist) based way. Adding 'id' into 'struct perf_stat' so it can carry transaction event ID and we can use