Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1469074ima; Sun, 21 Oct 2018 12:28:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV63SuhsmiMbq7QBjMj4lkGZqKnvy5kGCG5ug7y0Y6l7gteu7gtwrz/OhynIWkhOzsObQ/kHc X-Received: by 2002:a17:902:286b:: with SMTP id e98-v6mr41733886plb.110.1540150088165; Sun, 21 Oct 2018 12:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540150088; cv=none; d=google.com; s=arc-20160816; b=wwEObi6iiBMi+SPmWOpJs5NlAJyE2EOMpI5VaT5ZYbw/226WOA0Hq9/LiOioV5TEuW fwG/mQ/hV5CJJ2lO1nBJKBt5uYeH1xkiXFIujSUHa81xV4+ZWXZKjgfFXYAyvOy0W0le +5kR3VKojTS7fUNIZF6eyoarneNPjs260dWy8Nz2GV1ffjkBREK3NZTuMubedi/I+tQ4 apfAdOrwrOvVRqmm48B52nVdXSlWkAfduRiQPkvnK7R5LNng3BPPAQdjvWdtsK0EOGwD Nl2R4uqBnZVvHBtcLBtaa/spnbnzA7FB3A/Us7sWdp6r2mUOSg2Kyo885nW0AgBrYa15 d9hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hXtXS6LZ1RoLCwDlMFV42y2gkAATmsNlVuaiKRe5k9Q=; b=hQPmAIhPw/RItS8JXWwwjQrxhXz7guOjhkPiR6fMZ9s2KIwPaaAwd6n8+dJrhc8eXU wHWaAP6qILzJVCvVRZ7aPwi9vdXMkl4FfnjiqJcqAQj2GAZ1mWkLMp2LRLOM1rYbNabF +aaMZzIFgKhoOpC2MbfpDhpeV7+qvRv6SPgqm4CEgqrPTP05s0CtBMsBMmeqnM9iMUyT EWDGLipkzqxVj10StlciFuGBLVLPSrZs8jBkIcHsMnkLSTAlNCwVMJ8jaKJSDwOgg6CL J/5pVwXbtnQ1YtarTzt3vu9XO1k7XeKD+4R6iym+IrTBZALOaMbUu699QwcIRbRvZp7k q24g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kdab.com header.s=dkim header.b=H5ouM1MK; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kdab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k11-v6si9891937pgr.10.2018.10.21.12.27.18; Sun, 21 Oct 2018 12:28:08 -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; dkim=pass header.i=@kdab.com header.s=dkim header.b=H5ouM1MK; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kdab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727514AbeJVDaD (ORCPT + 99 others); Sun, 21 Oct 2018 23:30:03 -0400 Received: from mail.kdab.com ([176.9.126.58]:7837 "EHLO mail.kdab.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727156AbeJVDaD (ORCPT ); Sun, 21 Oct 2018 23:30:03 -0400 Authentication-Results: mail.kdab.com (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=kdab.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kdab.com; h= content-transfer-encoding:mime-version:message-id:date:date :subject:subject:from:from; s=dkim; t=1540149275; x=1541013276; bh=hXtXS6LZ1RoLCwDlMFV42y2gkAATmsNlVuaiKRe5k9Q=; b=H5ouM1MKiIb0 CJxrvBmHCByjRQ0f0DAXcwJQRhIMy7YrxhisAIfIlUv2MGpGaoIZGCChCMRuY846 85O5NqZzVNArNLq8t6rjYGjJ92tGLEqUlO50VIZwzoyeR/GSEHrFeltl1YO6pUnf G+z1O1CGwLx1ETtD/nVmq1LSZ+DzyYI= X-Virus-Scanned: amavisd-new at kdab.com From: Milian Wolff To: acme@kernel.org, jolsa@kernel.org Cc: Linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Milian Wolff Subject: [PATCH 1/2] perf script: allow extended console debug output Date: Sun, 21 Oct 2018 21:14:23 +0200 Message-Id: <20181021191424.16183-1-milian.wolff@kdab.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: 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); } =20 - if (!script_name) + if (!script_name) { setup_pager(); + use_browser =3D 0; + } =20 session =3D perf_session__new(&data, false, &script.tool); if (session =3D=3D NULL) --=20 2.19.1