From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752522AbbCTOCm (ORCPT ); Fri, 20 Mar 2015 10:02:42 -0400 Received: from mail.kernel.org ([198.145.29.136]:48300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752045AbbCTOCk (ORCPT ); Fri, 20 Mar 2015 10:02:40 -0400 Date: Fri, 20 Mar 2015 11:02:37 -0300 From: Arnaldo Carvalho de Melo To: David Ahern Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf trace: Fix summary_only option Message-ID: <20150320140237.GH16485@kernel.org> References: <1426789383-19023-1-git-send-email-dsahern@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426789383-19023-1-git-send-email-dsahern@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Mar 19, 2015 at 12:23:03PM -0600, David Ahern escreveu: > The intent of the -s/--summary-only option is to just show a summary of the > system calls and statistics without any of the individual events. Commit > e596663ebb2 broke that by showing the interrupted lines: > > perf trace -i perf.data -s > ... > 0.741 ( 0.000 ms): sleep/31316 fstat(fd: 4, statbuf: 0x7ffc75ceb830 ) ... > 0.744 ( 0.000 ms): sleep/31316 mmap(len: 100244, prot: READ, flags: PRIVATE, fd: 4 ) ... > 0.747 ( 0.000 ms): perf/31315 write(fd: 3, buf: 0x7d4bb0, count: 8 ) ... > ... > > Fix by checking for the summary only option. Thanks, applied. - Arnaldo