Re: [PATCH 1/9] perf tools: Add nameid value into evsel object

From: Arnaldo Carvalho de Melo
Date: Tue Jun 02 2015 - 15:59:49 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/