Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp618661ybt; Fri, 10 Jul 2020 08:12:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5NaZKq9frR7NcG2NO90n3hXmosETga6QDbZt+Kin0lP3hqLtzVcKP9rpL4ZzS+Bsc5xjE X-Received: by 2002:a17:906:1ec3:: with SMTP id m3mr17136144ejj.197.1594393969836; Fri, 10 Jul 2020 08:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594393969; cv=none; d=google.com; s=arc-20160816; b=zMwy3vqKa9mDK22z4hmgGdU89PfuT9kj2cXVs/OovySi3NRmRXeaJfhej8MHBfx1Y+ rzgwkAa0ASpSY3OO6gackq4FlXBVUuueGvlTRgYLaJ36NwenoZExBUnaauuGr1DL6c1W lmlxMp74QmqUgLBggGMQAf0ksqxj2R7mmWxF8xx7ERJoLiW6iwIfBGrM27zFHA1Ymxlk t1rE68Xi6HiRrN65bTm7iaX3J/ouBF1THVKAFtZtIetr5H/pd0bxZLGOTDHwX2RyAhlv mbutU1Z+noARc04DJ5Tv666blywNkTuWa1YDb7Cx8cL7RO73xXxww1A5QjU35R4z+OyV q+4g== 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=a3OtPYBU3EWQ1JUfKAf9HwyrkFYKZzqHMjIsBbQZY9k=; b=iercTf1B0hLHH5ACXH4i+5wnL3IYPwdjEqpQRPjxPO/dHNyIKNW47L1c9lLzidvBce 5V77z55vaZ4TP0pQSjo2Qd43NkuohXUTBs589jy6FgVrSe0MOHhn24uSG2S0BXe+iJQo mp825eGWP8prSKirhKn27Hbzk+a4gUQvOXPOK7ECKFng7DbBrGxvKkslf9TGVBV4rsk/ FpFZ34sijocucZb6om3C0nGLyZF6WmDe/ALzHgMi6Jqs1pj2PMCHBHJMqqsdBqDfeQh9 4LAaE+Lb0eGScvb9wkPfhb5rOVKUq9UOMwjfMC+TbefkqDMgRN/p4G4mYcAg3Ilh9J76 GtbA== 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 o21si4302956edv.451.2020.07.10.08.12.26; Fri, 10 Jul 2020 08:12:49 -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 S1727839AbgGJPME (ORCPT + 99 others); Fri, 10 Jul 2020 11:12:04 -0400 Received: from mga09.intel.com ([134.134.136.24]:38264 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbgGJPLx (ORCPT ); Fri, 10 Jul 2020 11:11:53 -0400 IronPort-SDR: MVSYzkQxJyFU5XKt0utPPNnuPPOf1yzZqZKEJAG03G94X3bV6RBgzwLDdXrVdzFtceQ9KVW7er QRa/S27qrS7A== X-IronPort-AV: E=McAfee;i="6000,8403,9678"; a="149686169" X-IronPort-AV: E=Sophos;i="5.75,336,1589266800"; d="scan'208";a="149686169" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2020 08:11:47 -0700 IronPort-SDR: /b5b1ZrAefTgCsqe60Bv8qcmJOgeeVbWFa5Ol+QKMA9sFlgaoRwH6AjfmIIktpqQmfUZmYbXei QCDwEtkgRLAg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,336,1589266800"; d="scan'208";a="484675443" Received: from ahunter-desktop.fi.intel.com ([10.237.72.73]) by fmsmga005.fm.intel.com with ESMTP; 10 Jul 2020 08:11:46 -0700 From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Andi Kleen , linux-kernel@vger.kernel.org Subject: [PATCH V2 00/12] perf intel-pt: Add support for decoding FUP/TIP only Date: Fri, 10 Jul 2020 18:10:52 +0300 Message-Id: <20200710151104.15137-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. 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