Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp449505ima; Fri, 26 Oct 2018 00:35:18 -0700 (PDT) X-Google-Smtp-Source: AJdET5du7MxC+LxsC0RVNRJO0GGx/wlmm7b+5j/iBunUiDYWY6ivdDsyrRMXXA4J7lidiYuT1zRD X-Received: by 2002:a63:e70a:: with SMTP id b10-v6mr2330632pgi.363.1540539318188; Fri, 26 Oct 2018 00:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540539318; cv=none; d=google.com; s=arc-20160816; b=HT1gaHNFzX8ke5R+AWHbKW6fgne/VncYL3+wTNtxW+qr2WfokJL1WFu62YVk3MuWDF H5ud6XInwdc9GQWgGrusA8QOpjp2tfK3jqE96pvvD25BE2wFyjD+hhgTjPOrXd320on/ 0iKJ8YyiAaVSJDyvhDjg28lCfzIPz1XORMb/35lfHQJAbnMHWjs0lUC1RzowpGYBZmOK TInHukXynJw8WIc4KeQ2FZFF8Bmv73+bUYo0ic/sRWhi6APviMGmBXX0QgDc6c60OKXB HIghbFJ9u0IgKkBabW0TA3Za2X/MNNwVXr63DN0nL7XAM6sVnvKDf6BYSQhU+S0/XZGx 59kA== 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; bh=1It8FRsNg/rUyt3NnKE+a23lHMPQ9NXxy2Mm4P0hqjY=; b=loLYMGBk2DympiwoqnwLiZAomzQwtf3sxvMOttXAhr3iItAybfAptzGecnLyXFKHHv 87/HHi+/KRt2Atc8nFa9Hoj/b3q5EP+ig4THjMblYDXrUcBXyE6zuVCCh5RDk5P2sLp7 U64JWDnE6Iu6d0Rjl9hqbkEXAZ6n0sl4MN2ZHyOOBLhsn/SlcFP+ErQE7EiKT+tAgfaw 4yqij62S5LzG3lMpsTv9Qou9DFz5yXiYvhLSFnAhwkKLKkKIPnluJyBytHJLKlZ89a0Y GWZ9dky9FNB5YYeunmK2jhHREWaToZPjqdn82byPfoT8f2G3G3rIsqLB5lyA0ulvPFtX LHEg== 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 p4-v6si9664017plk.263.2018.10.26.00.35.02; Fri, 26 Oct 2018 00:35:18 -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 S1726408AbeJZQKb (ORCPT + 99 others); Fri, 26 Oct 2018 12:10:31 -0400 Received: from terminus.zytor.com ([198.137.202.136]:52329 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbeJZQKb (ORCPT ); Fri, 26 Oct 2018 12:10:31 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w9Q7YSlj137225 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Oct 2018 00:34:28 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w9Q7YSJ1137222; Fri, 26 Oct 2018 00:34:28 -0700 Date: Fri, 26 Oct 2018 00:34:28 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Milian Wolff Message-ID: Cc: jolsa@kernel.org, milian.wolff@kdab.com, linux-kernel@vger.kernel.org, acme@redhat.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de Reply-To: hpa@zytor.com, acme@redhat.com, linux-kernel@vger.kernel.org, milian.wolff@kdab.com, jolsa@kernel.org, mingo@kernel.org, tglx@linutronix.de In-Reply-To: <20181021191424.16183-1-milian.wolff@kdab.com> References: <20181021191424.16183-1-milian.wolff@kdab.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf script: Allow extended console debug output Git-Commit-ID: c1c9b9695cc8868048f45c7e2559f65bc0be7382 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, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: c1c9b9695cc8868048f45c7e2559f65bc0be7382 Gitweb: https://git.kernel.org/tip/c1c9b9695cc8868048f45c7e2559f65bc0be7382 Author: Milian Wolff AuthorDate: Sun, 21 Oct 2018 21:14:23 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 22 Oct 2018 12:37:53 -0300 perf script: Allow extended console debug output The script tool isn't using a browser, yet use_browser wasn't set explicitly to zero. This in turn lead to confusing output such as: ``` $ perf script -vvv ... ... overlapping maps in /home/milian/foobar (disable tui for more info) ... ``` Explicitly set use_browser to 0 now, which gives us the extended debug information now in perf script as expected. Signed-off-by: Milian Wolff Acked-by: Jiri Olsa Tested-by: Arnaldo Carvalho de Melo Link: http://lkml.kernel.org/r/20181021191424.16183-1-milian.wolff@kdab.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-script.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 4da5e32b9e03..bd468b90801b 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -3417,8 +3417,10 @@ int cmd_script(int argc, const char **argv) exit(-1); } - if (!script_name) + if (!script_name) { setup_pager(); + use_browser = 0; + } session = perf_session__new(&data, false, &script.tool); if (session == NULL)