Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4629595ybi; Tue, 11 Jun 2019 09:42:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzs9e0iD6h4KIhorRcycV4qb4VDYlb6BCZe32dxgAQd5kAw+YXupRgLnGbXw32ee0E28USv X-Received: by 2002:a17:902:54d:: with SMTP id 71mr74954495plf.140.1560271379758; Tue, 11 Jun 2019 09:42:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560271379; cv=none; d=google.com; s=arc-20160816; b=ipnbrgByI2++WJtN3kb/tKN0/b/qk/Gof7pFgTDbrjB4xP0CU5l36jQ5AvKXIhmQKX E1uV/uq7cjM0Qtz2Z8pbuvEBxW9M6eGMvXB7Y9c1dh+dR3LD9VIXYNcic9muJU32jipy VuYWitplIwvCLL0emnBw3XNfQ1l5ae+ArckS2jqkwyPAssFScgwrawzjE2sLx6BzSB/Z K3CVFxFI/My98iIrkmURwOGRyjYnqKpP080FDpT1qUK9/TDkyoXscaH2SppI/yMBjj6r f9vU7WcuGGZnDWjvh3i9OBzgyKfec9uwDC+ofgfOjjNlMi5kLijBkih0P5KqDBRyhx5m Dwmw== 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; bh=GA4aKK7zDnWFhM8pL87wBEt4yedGzumSVgImph9KR3s=; b=NT0a1KYqqXlhZ848jDsWLUCxPvpZ5dsR+/Y/2Edskw0iSzdlYYQyV/Pvmah7Zn+hXI 8XUpLz72EDj1c5bs3mBkPayJjz/A8S5f6ntrds3AiI6Oga8rLKqAKOWYtrMdaKWumpH1 iAI/eZ+E7vgJKWe8hzKCxDu2XCUujZ8y9PgtZi7fSz+6y3pSWRMhNmTVBXWWIQITBwjy mL7lvkH8bpWeWVuU32Pz5ZvVvREcTcBWvkPf9ysTn5LiCofFm3UaLmwUE6u1tsLLsFeF hU6B1pnfUDghfx0WPvsVbwr5JP3gTrAmVns80sFT/NGynPNHuPCKXaNfip/B7TAKScnu t4dw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a25si14005376pfo.80.2019.06.11.09.42.45; Tue, 11 Jun 2019 09:42:59 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405418AbfFKPr3 (ORCPT + 99 others); Tue, 11 Jun 2019 11:47:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58180 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389302AbfFKPr2 (ORCPT ); Tue, 11 Jun 2019 11:47:28 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8DBD530044CA; Tue, 11 Jun 2019 15:47:28 +0000 (UTC) Received: from sandy.ghostprotocols.net (ovpn-112-33.phx2.redhat.com [10.3.112.33]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A2758600CC; Tue, 11 Jun 2019 15:47:26 +0000 (UTC) Received: by sandy.ghostprotocols.net (Postfix, from userid 1000) id CA27C11B; Tue, 11 Jun 2019 12:47:22 -0300 (BRT) Date: Tue, 11 Jun 2019 12:47:22 -0300 From: Arnaldo Carvalho de Melo To: Song Liu Cc: Adrian Hunter , "linux-kernel@vger.kernel.org" , Kernel Team , David Carrillo Cisneros , Milian Wolff , Jiri Olsa Subject: Re: [PATCH] perf script/intel-pt: set synth_opts.callchain for use_browser > 0 Message-ID: <20190611154722.GC13332@redhat.com> References: <20190610234216.2849236-1-songliubraving@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Tue, 11 Jun 2019 15:47:28 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Jun 11, 2019 at 07:18:09AM +0000, Song Liu escreveu: > > > > On Jun 10, 2019, at 11:45 PM, Adrian Hunter wrote: > > On 11/06/19 2:42 AM, Song Liu wrote: > >> +++ b/tools/perf/util/intel-pt.c > >> @@ -2588,7 +2588,7 @@ int intel_pt_process_auxtrace_info(union perf_event *event, > >> } else { > >> itrace_synth_opts__set_default(&pt->synth_opts, > >> session->itrace_synth_opts->default_no_sample); > >> - if (use_browser != -1) { > >> + if (use_browser > 0) { > > That code has changed recently. Refer: > > https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=perf/core&id=26f19c2eb7e54 > Thanks for a better fix! I was using Arnaldo's perf/urgent branch, and missed > this one. Your report shows this one should move to perf/urgent, will try to do that after processing a large perf/core batch... - Arnaldo