Received: by 10.213.65.68 with SMTP id h4csp347868imn; Tue, 3 Apr 2018 22:38:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/dHzS3ub89s4VxWE0ZMPTATFrMHv+eRuUiAfsmjxl2GTF5u+j+wiQbxV43ActtpYLUx4++ X-Received: by 10.167.130.26 with SMTP id k26mr12842401pfi.77.1522820305243; Tue, 03 Apr 2018 22:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522820305; cv=none; d=google.com; s=arc-20160816; b=l7jO7Z39+nXCOmpxGHd1Km1SJo/SLe/vyEJk/5/UlyoexdQ4FZgpnEPRZ9MkB/orCI wzFe8iZ5QsTcjhCkTqNcePInBn8YSQ1+OnpfGeRStRR9W2mNPo2hzX6mr4E31CVw0vQ/ JrRw1DAXU6j0NEdLtcn69FSLmxqKIIFmefpMx62Sk5GFA2YpzyU/TyvHXTF53dg10cpy MTgJh0yfzMYSRUNwQan7RhFJ1HZqqul02VqEJFnM1S02vDknpiT5nuMNPExh8hRwAfJw huUESq0RUmGabp9XXmG/3thSiQDO3dYPr47LIJ8wztKt+BUoQ2C1VBL+n3hh6lwHDFvd 2MWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=oZnwssQHkn0bMN0nUX90oc3B50Q1DhenlWM7/SJ2yM4=; b=0LKoobtLo3rlBJfYUmjQE6fdTklbQ7Xnbr9MUVpvi/02i8z2Kbnr2Lmy0vd6HF9Xhg 5SxW/gH9HWMD8iadDYIq5164dvnuEy8m41XnUV8zIVnaIaSWPTnijOJohVL8kCnarT6e C2CbHjqF2KFu+uWiogJ5oQdczxwsLTEZfohJOtulWTkAO3XHIWmNGxF4KWmpYoeCnwyy 9JNbiEksAhd1mxqgKMLoYm9lEihccS9p9a+xx7QwpBn0SCB5oYvIEX1ZwQztEmFh+ERa EBJIOhkdDEdduRUMgePpXd9mQTx2tvkMM0mSVxXTvStp75FB1K9JjckVm5mHyvHzyY2z 0Ckw== 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 d65si3192417pga.307.2018.04.03.22.38.11; Tue, 03 Apr 2018 22:38:25 -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 S1752639AbeDDFhD (ORCPT + 99 others); Wed, 4 Apr 2018 01:37:03 -0400 Received: from terminus.zytor.com ([198.137.202.136]:59367 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbeDDFhC (ORCPT ); Wed, 4 Apr 2018 01:37:02 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w345afWc3821119; Tue, 3 Apr 2018 22:36:41 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w345afOP3821116; Tue, 3 Apr 2018 22:36:41 -0700 Date: Tue, 3 Apr 2018 22:36:41 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Changbin Du Message-ID: Cc: namhyung@kernel.org, acme@redhat.com, hpa@zytor.com, jolsa@redhat.com, peterz@infradead.org, tglx@linutronix.de, changbin.du@intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org Reply-To: jolsa@redhat.com, peterz@infradead.org, hpa@zytor.com, acme@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, changbin.du@intel.com, tglx@linutronix.de In-Reply-To: <1520937601-24952-1-git-send-email-changbin.du@intel.com> References: <1520937601-24952-1-git-send-email-changbin.du@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf trace: Remove redundant ')' Git-Commit-ID: 51125a29a395048fdb3429b8c4ca0ada57097744 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 51125a29a395048fdb3429b8c4ca0ada57097744 Gitweb: https://git.kernel.org/tip/51125a29a395048fdb3429b8c4ca0ada57097744 Author: Changbin Du AuthorDate: Tue, 13 Mar 2018 18:40:01 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Apr 2018 16:16:41 -0300 perf trace: Remove redundant ')' 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 Tested-by: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1520937601-24952-1-git-send-email-changbin.du@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- 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 4e03f0f68241..3ad17ee89403 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -1962,7 +1962,7 @@ static int trace__event_handler(struct trace *trace, struct perf_evsel *evsel, trace->output); } - fprintf(trace->output, ")\n"); + fprintf(trace->output, "\n"); if (callchain_ret > 0) trace__fprintf_callchain(trace, sample);