Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1599410ybt; Thu, 9 Jul 2020 10:39:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPCAuQ5yPYZVK6wxSdnykYlxvR6Opvxgnzg5Yp7ryeTAGToKalA/Ubz3daF6NVtQm9G9xv X-Received: by 2002:a17:906:d143:: with SMTP id br3mr55519400ejb.268.1594316382758; Thu, 09 Jul 2020 10:39:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594316382; cv=none; d=google.com; s=arc-20160816; b=qUbWKAj2w3Re7LMj12xZhgWn0cwFuMsC6bh1gQcQowc9rrfzs5lGL9/CNGJGHe0X5M TxhK839D6UwzrErpfjitWUPNr6CXfo8Ek1+eyVsIz+LFl/5CYxvXqJUec8k/HVOFg+Q5 8cU4fyc7CoRPWCSjYoLAiElGbejhNiB+W4tLjiFRzoBHhOUvWeRnqfLZHLqddTBUCbGe bI1Tbi8rIUnZu0zogO+4sMhBzBN8lXpecEx2ATCb/GktLpSXJgs6bDr72e0NdGUenzQU kG2rk40FwNxoFAaeQdhdXxTCq4YSuvinws9+OBdQF1oOs+nw4qe6/z3APpxgcgJX5gEy K0bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:message-id:date:subject:cc :to:from:ironport-sdr:ironport-sdr; bh=lagVd3v4RnlLX/htJ/nxjrkTCBySEerq0whoxfhvETg=; b=qo7IGm3XDCtd/Bqk7MUWU/SAIQKF8G8a4AQDCBJsCFgs0HU2oSb/cIaNeRSte6+xzl 0kPboCEDujsfanH5qfxFN3//c297dt0i7Kqfl+O05SJApOWf/zIU74En1+9OC2X78vE8 /1dlXob0WQwhNW93qudp+vVq9VzxVJoBMzzxZ1UxFR3laJ0gaV7453q636y39/J+sl8a +qUhjykOqyH2ZFP3MnEvRbEW42MhrFm7ggktcrZ33QIADJvQGKg5auW9lzStS66PXwC0 /V+RGjzui7cXtx98h3QYnyI5VK+6kxdoAj9e6Nf0WB0spDFF/Jt3jk9i9D1AykcIoLe9 wgdQ== 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 dp1si3353806ejc.505.2020.07.09.10.39.19; Thu, 09 Jul 2020 10:39:42 -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 S1728309AbgGIRhL (ORCPT + 99 others); Thu, 9 Jul 2020 13:37:11 -0400 Received: from mga09.intel.com ([134.134.136.24]:35018 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbgGIRhL (ORCPT ); Thu, 9 Jul 2020 13:37:11 -0400 IronPort-SDR: S0Usv0knfCEY2x0/ENir2WhzrYcSXSVsHBzoSg2ypQeTKm42ilNdCtr80xqauJd5q6fACH3oy9 vwAPXf80MAKQ== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="149537096" X-IronPort-AV: E=Sophos;i="5.75,332,1589266800"; d="scan'208";a="149537096" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2020 10:37:11 -0700 IronPort-SDR: ISd2rf2HfEUiFRrOaYM4c3M9ujmqmHW+7IuBBzk9LLWjLn7QCBMhwTAoeU6NJx4iQud2I4VQKw YlWjnn5qPV/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,332,1589266800"; d="scan'208";a="324292497" Received: from ahunter-desktop.fi.intel.com ([10.237.72.73]) by orsmga007.jf.intel.com with ESMTP; 09 Jul 2020 10:37:09 -0700 From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Andi Kleen , linux-kernel@vger.kernel.org Subject: [PATCH 00/11] perf intel-pt: Add support for decoding FUP/TIP only Date: Thu, 9 Jul 2020 20:36:17 +0300 Message-Id: <20200709173628.5613-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.17.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Here are some fixes and small improvements for Intel PT. Adrian Hunter (11): 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 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 | 9 + tools/perf/Documentation/perf-intel-pt.txt | 25 ++- tools/perf/util/auxtrace.c | 7 + tools/perf/util/auxtrace.h | 6 + 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 | 51 ++++- 8 files changed, 287 insertions(+), 30 deletions(-) Regards Adrian