Messages in this thread | | | Date | Tue, 2 Jun 2015 16:59:33 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 1/9] perf tools: Add nameid value into evsel object |
| |
Em Tue, Jun 02, 2015 at 08:46:36PM +0200, Jiri Olsa escreveu: > On Tue, Jun 02, 2015 at 03:10:56PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jun 02, 2015 at 12:59:55AM +0200, Jiri Olsa escreveu: > > > Adding a way to tag an evsel object with ID value based > > > on its name. It will be used for transaction events, > > > but could be useful for others. > > > > For what? Can you ellaborate? Just by looking at this commit message I > > can't figure out the value of this patch :-\ > > > > - Arnaldo > > > > > This way we can identify transactions events and get rid > > > of the current position based way we use. > > well, right here ^^^ > > to get rid of getting ID of transaction events based on their > possition in evlist
Well, as we discussed this may be implemented using evsel->priv/struct perf_stat, i.e. this seems something 'perf stat' specific, so no rush in moving this to the infrastructure available for all tools.
- Arnaldo
| |