Re: [PATCH 0/7] perf tool: pipe-mode fixes

Arnaldo Carvalho de Melo
2017-04-11T18:17:26Z

Em Tue, Apr 11, 2017 at 11:49:06AM +0200, Jiri Olsa escreveu:
> On Mon, Apr 10, 2017 at 01:14:25PM -0700, David Carrillo-Cisneros wrote:
> > Various fixes for perf tool pipe-mode for bugs that arose while trying
> > to make this work:
> >
> > perf record -o - noploop | perf inject -b | perf annotate -i -
> >
> > David Carrillo-Cisneros (7):
> > perf inject: don't proceed if perf_session__process_event fails
> > perf inject: copy events when reordering events in pipe mode
> > perf tool: describe pipe mode in perf.data-file-fomat.txt
> > perf annotate: process attr and build_id records
> > perf session: don't rely on evlist in pipe mode
> > perf tool: protect empty evlists
> > perf tool: do not print missing features in pipe-mode
>
> Acked-by: Jiri Olsa <jolsa@kernel.org>

Applied all, except 6/7, will audit all users of those first() and
last() methods to check if this is ok or what changes are needed to
robustify code assuming they always return an evsel (which is false, and
this patch fixes, as the evlist may be empty).

- Arnaldo.