Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp324262pxa; Tue, 4 Aug 2020 06:36:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo0FP7ur34RVaKWZdD/VaGXEHAonV16GfC3b4r36ldthloNjvkPrsoi9qQpRIKUzcXwwoD X-Received: by 2002:a17:906:a3d9:: with SMTP id ca25mr21836916ejb.164.1596548181487; Tue, 04 Aug 2020 06:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596548181; cv=none; d=google.com; s=arc-20160816; b=X4zAbDlX5Go0ebm++QAawnQSnZ1z+MJBxhPmpbTKBwzghoc43k5UMiDW1DsLR8Eb59 dmn3ePyjqrXgC+xodlkiT89KGDKUghTNkyxsf9gHMYGXskxMAB6UQYg31ypY5SrGfDww ZjI0CrV7E2/13Ld4MC2i8F7WaTzMRzBz+XvRIXHsuVQgl/E5pHDy5HuYUCrmek9T0lqp 1Mqa2iNyXbqH0nWPpeP10zgFQ7g3MSNlNJvFWmlSFxwViEcSphbimjHBH0wZnq7NZimE rNOivzdS1vyfnjCG68XbsYv2D69gZ+HVqMG7oBVX1xIhSKfg1oez8MjSSupTirw5q+Gc +7sg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:from:subject:ironport-sdr :ironport-sdr; bh=PUpUtRS9wXyvfoHE64GJP8xWZAZhU/Zgtv6TadImMLc=; b=kj/ctVqjCjBzqgWWRhS+A5ScnhDB0GOoqGmpw8Ys7XJopVhQGlobAWnKbbhsgcJsQw WzUB4lgEgFCYN2yigpL7MAp19sW+lzd9xA3Z1UJ1i8Oc6Ir84Neq0D/L8Tq+CcriYfOl 40QEsZDB3QqYJ/3iwo+F/CSWMPYFaCCFriJfw1J5zqWw9xBQcSG3KM2T0Rfnpfl0/arJ tpjqCGt+zIesyUap8TsyCTy/O0rSL/h0zghKRS5G0DwohhQANO8w1dBdZI2d6V8q0Nuc yl9nskPfrQmZ/pXhKKlZMI5uuDlWExG9G/KMBi+0JuKNQ41NI9USDBPsyKQeIiQ7l7ZF fsJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si5579073ejo.230.2020.08.04.06.35.59; Tue, 04 Aug 2020 06:36:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbgHDNfD (ORCPT + 99 others); Tue, 4 Aug 2020 09:35:03 -0400 Received: from mga06.intel.com ([134.134.136.31]:35799 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbgHDNfD (ORCPT ); Tue, 4 Aug 2020 09:35:03 -0400 IronPort-SDR: H+GurQ+Tx6hV5fBElpHvtfF6VYVpt/EfR2st4wC1hiH11gg+lO5BRZaq+58/3nxnRN5zi10Hbw lgeJMO3sslAQ== X-IronPort-AV: E=McAfee;i="6000,8403,9702"; a="213845234" X-IronPort-AV: E=Sophos;i="5.75,434,1589266800"; d="scan'208";a="213845234" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2020 06:35:02 -0700 IronPort-SDR: wB6qGLmIhUh+DA0ygVAsJn0Twt21K41cRG9dFAmomP8Vof/2fPqiSNDPinGDkGIRy9FJFJk09k zX/ycn8spXAQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,434,1589266800"; d="scan'208";a="492894207" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.73]) ([10.237.72.73]) by fmsmga005.fm.intel.com with ESMTP; 04 Aug 2020 06:35:00 -0700 Subject: Re: [PATCH V2 00/12] perf intel-pt: Add support for decoding FUP/TIP only From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Andi Kleen , linux-kernel@vger.kernel.org References: <20200710151104.15137-1-adrian.hunter@intel.com> Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Tue, 4 Aug 2020 16:34:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200710151104.15137-1-adrian.hunter@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/07/20 6:10 pm, Adrian Hunter wrote: > Hi > > Here are some fixes and small improvements for Intel PT. Andi added his "Reviewed-by" with 2 comments to tweak the documentation. The patches still apply, so do you want me to send a V3? > > Changes in V2: > For d/e flags, use +/- alphabetic options instead of numbers > Update help text > Improve documentation > > > Adrian Hunter (12): > perf intel-pt: Fix FUP packet state > perf intel-pt: Fix duplicate branch after CBR > perf tools: Improve aux_output not supported error > perf auxtrace: Add missing itrace options to help text > perf auxtrace: Add optional error flags to the itrace 'e' option > perf intel-pt: Use itrace error flags to suppress some errors > perf auxtrace: Add optional log flags to the itrace 'd' option > perf intel-pt: Use itrace debug log flags to suppress some messages > perf intel-pt: Time filter logged perf events > perf auxtrace: Add itrace 'q' option for quicker, less detailed decoding > perf intel-pt: Add support for decoding FUP/TIP only > perf intel-pt: Add support for decoding PSB+ only > > tools/perf/Documentation/itrace.txt | 14 ++ > tools/perf/Documentation/perf-intel-pt.txt | 63 +++++- > tools/perf/util/auxtrace.c | 50 +++++ > tools/perf/util/auxtrace.h | 31 ++- > tools/perf/util/evsel.c | 4 + > .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 214 +++++++++++++++++++-- > .../perf/util/intel-pt-decoder/intel-pt-decoder.h | 1 + > tools/perf/util/intel-pt.c | 45 ++++- > 8 files changed, 389 insertions(+), 33 deletions(-) > > > Regards > Adrian >