Re: [PATCH 01/21] perf c2c: Shared data analyser

From: Arnaldo Carvalho de Melo
Date: Tue Feb 18 2014 - 07:57:03 EST


Em Tue, Feb 18, 2014 at 01:52:06PM +0100, Jiri Olsa escreveu:
> On Mon, Feb 10, 2014 at 12:28:56PM -0500, Don Zickus wrote:
> > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

<SNIP>

> > +++ b/tools/perf/util/evlist.h
> > @@ -52,6 +52,13 @@ struct perf_evsel_str_handler {
> > void *handler;
> > };
> >
> > +int __perf_evlist__set_handlers(struct perf_evlist *evlist,
> > + const struct perf_evsel_str_handler *assocs,
> > + size_t nr_assocs);
> > +
> > +#define perf_evlist__set_handlers(evlist, array) \
> > + __perf_evlist__set_handlers(evlist, array, ARRAY_SIZE(array))
> > +
>
> this is already implemented in session object.. just need to be
> changed to work over any event is globaly usable

This probably has some historical baggage, i.e. I introduced this in
this cset and later brought it to the trunk, perhaps, need to review
this to figure this out, busy right now.

- 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/