lkml.org 
[lkml]   [2015]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-06-02 22:21    [W:0.043 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site