From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752904AbdDKSR0 (ORCPT ); Tue, 11 Apr 2017 14:17:26 -0400 Received: from mail.kernel.org ([198.145.29.136]:51514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbdDKSRY (ORCPT ); Tue, 11 Apr 2017 14:17:24 -0400 Date: Tue, 11 Apr 2017 15:17:19 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: David Carrillo-Cisneros , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Andi Kleen , Simon Que , Wang Nan , Jiri Olsa , He Kuang , Masami Hiramatsu , Stephane Eranian , Paul Turner Subject: Re: [PATCH 0/7] perf tool: pipe-mode fixes Message-ID: <20170411181719.GC3275@kernel.org> References: <20170410201432.24807-1-davidcc@google.com> <20170411094906.GB21238@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170411094906.GB21238@krava> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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.