Received: by 10.213.65.68 with SMTP id h4csp3882760imn; Tue, 3 Apr 2018 12:20:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ycLKBZmk0vwFapvgWVVNiYANm7z+Q0hUVpv21UcIedswYLGLNDsmBnjVgjVGcXzQb3iY6 X-Received: by 10.98.200.130 with SMTP id i2mr11390511pfk.221.1522783228046; Tue, 03 Apr 2018 12:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522783228; cv=none; d=google.com; s=arc-20160816; b=YpTxl0jocwKcKg4LCnKaoIDeypW87VIVsRLqrhyKXAjCtUrjPpNYTH4XZxlMMI0tr2 u6deGyPL9TcTbifXikSjImf76HU5ZTV+dYSK4Xo2pzDl4U+0eDTwJsUkMuYxvnR2X9dC UosC9vYsKeQ5UEKIb+pYKw+/Ppf49fvet1rXnYuHiVHpSlXgnQ/QPVLDd6dyvQfUZ7+1 bPtCLYQpC2ARNIYn4JAHxT/f+fKMKkahYb8MhEC8grNA8sYwNj3+7iqE3xqgXwEfXICY K78mkBNyO9Cwq25dViKfi7kT/q0My2XAphKaguR71YCimlJHmxoNohrOQAa8cfAl+B7n DfNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=TqUqNu4f1cJe3bzoPU4ov6K3bk8Ji1wlvU5Fh/Xz+cI=; b=TGEIi/qQQ9Sp8CMTVrdKtfT2k2kN7eLY7p9o6/FrnAzMXQZsGqAuhpYlLxgqAZ0SoW 1mE5QU3aYF1S5GE4t3sVxpNoEcqwT1leI2wZiUE3XLmpBloe6HfYBhnebI/LZpCKEgp9 eHa45IBRRUCs+si/gNNjjV7nMQiwKSmm/NWDUhQgHRhc6bozXjilXNlFoEm2T+nS0xkt eHrGmo8T7/ljVmt8A2IrQlPyNJXJF1NMJM5lDllPEtQJhHY1RNwfk+ZdK9OiyVDfc7sQ YS8Qv0mDBUmSqMvrL09DntaZq88zsmmUIKqPOa9O5G38Y0xb8Hux47LEuWDrNxzteG25 6L+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si3612696pla.272.2018.04.03.12.20.14; Tue, 03 Apr 2018 12:20:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752972AbeDCTTM (ORCPT + 99 others); Tue, 3 Apr 2018 15:19:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:37188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469AbeDCTTK (ORCPT ); Tue, 3 Apr 2018 15:19:10 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2AEBC20CAA; Tue, 3 Apr 2018 19:19:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2AEBC20CAA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id 8CCD5145687; Tue, 3 Apr 2018 16:19:07 -0300 (-03) Date: Tue, 3 Apr 2018 16:19:07 -0300 From: Arnaldo Carvalho de Melo To: "Du, Changbin" Cc: jolsa@redhat.com, peterz@infradead.org, mingo@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH] perf trace: remove redundant ')' Message-ID: <20180403191907.GE23295@kernel.org> References: <1520937601-24952-1-git-send-email-changbin.du@intel.com> <20180316075108.xwenvklz3a6scodh@intel.com> <20180316125045.GC10026@kernel.org> <20180328072631.gj72odnaimsohkmc@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180328072631.gj72odnaimsohkmc@intel.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Mar 28, 2018 at 03:26:31PM +0800, Du, Changbin escreveu: > Hi Arnaldo, > Just a kind reminder. Hope you didn't forget this. Ok, applied. - Arnaldo > On Fri, Mar 16, 2018 at 09:50:45AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Fri, Mar 16, 2018 at 03:51:09PM +0800, Du, Changbin escreveu: > > > Hi Arnaldo, How about this simple one? Thanks. > > > > > > On Tue, Mar 13, 2018 at 06:40:01PM +0800, changbin.du@intel.com wrote: > > > > From: Changbin Du > > > > > > > > There is a redundant ')' at the tail of each event. So remove it. > > > > $ sudo perf trace --no-syscalls -e 'kmem:*' -a > > > > 899.342 kmem:kfree:(vfs_writev+0xb9) call_site=ffffffff9c453979 ptr=(nil)) > > > > 899.344 kmem:kfree:(___sys_recvmsg+0x188) call_site=ffffffff9c9b8b88 ptr=(nil)) > > > > > > > > Signed-off-by: Changbin Du > > > > --- > > > > tools/perf/builtin-trace.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c > > > > index e7f1b18..7273f5f 100644 > > > > --- a/tools/perf/builtin-trace.c > > > > +++ b/tools/perf/builtin-trace.c > > > > @@ -1959,7 +1959,7 @@ static int trace__event_handler(struct trace *trace, struct perf_evsel *evsel, > > > > trace->output); > > > > } > > > > > > > > - fprintf(trace->output, ")\n"); > > > > + fprintf(trace->output, "\n"); > > > > It looks simple on the surface, but I couldn't quickly recall why this > > ')' was put there in the first place... So I left for later to do a 'git > > blame' on this file, etc. > > > > - Arnaldo > > > > > > if (callchain_ret > 0) > > > > trace__fprintf_callchain(trace, sample); > > > > -- > > > > 2.7.4 > > > > > > > > > > -- > > > Thanks, > > > Changbin Du > > -- > Thanks, > Changbin Du