From patchwork Mon Mar 20 18:35:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Hunter X-Patchwork-Id: 6918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1381437wrt; Mon, 20 Mar 2023 11:59:16 -0700 (PDT) X-Google-Smtp-Source: AK7set8eve05Kze6E3vpWyMv4IYvCKQcTgwmpL9rhdan2KjdiMVrEuW38FO/MGcPYMFz4zfBNa7B X-Received: by 2002:a05:6a20:b23:b0:d9:458a:4803 with SMTP id x35-20020a056a200b2300b000d9458a4803mr4857029pzf.0.1679338755864; Mon, 20 Mar 2023 11:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679338755; cv=none; d=google.com; s=arc-20160816; b=lKLIstGNxat5vIH0NUD3U/axd12VyMMHqx+wYV0LRvBe/bkk5gG4MxZQA7p5ZXirXR kTp8msN6u5Ag3bG3RXSjyeX8VwqCXwJoCW7iYSgoGONvTuT9LJi4Bt+tz6rxHPJd9B4s Zwm/1lxWciIgEIiLWtErMSHPjvBam9NZA13ZFwtsXB4dX8fNuz6Yrr9VMg4PPwGyu4/5 l6WMjJf/Evh3qyI8tXuoZLuBYlEvMClImVPdzV4klEjI4vDfcsfaLK1ba3SBANzYw9pG mr29bNj3bKCQ306vT0YGDO5HCRbNbAxdwe7wNx8WzF8OnAA/tArkMeS7RzU9qn3snD5P dEeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=WyG8v/jpP81u9LTVbZBDBlJoA1l9Op5RVW6XHAuAXHg=; b=P/FOHZAdtlPoMjICYMgrVuF8gkjpmoLrI96+vhH2V8wrP8MtKyiz0CAsOjvszgeHsz n2zOiYUm8lMTEt+/83wgE86Tqoo9PRBxXn+xMrHpL5PuNDkZl5bOR3ogAMSe5mVhUGyk bPXo4grHsurS6UpZ9mKQhLiNTtjxxzWfnp8omOfOReZVzxskArdcYAQZogRqk/MvG+NF nnbt/+xMoHEmAXYVpl9mk3sQ4POdka2tNZO4fyYKXlfmKSR4bxPKJJU4juaE8SQLACP+ Cmpdg7lIzxt61BYv+BJbmfJhlXyz9ap+XqhzYuCk5LSIBaRXgntCO5lyi0IhmnLwSG52 Mvbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SF0wHTuz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r4-20020a654984000000b005034d88d4bdsi10014540pgs.755.2023.03.20.11.59.00; Mon, 20 Mar 2023 11:59:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SF0wHTuz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbjCTSqQ (ORCPT + 99 others); Mon, 20 Mar 2023 14:46:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbjCTSpr (ORCPT ); Mon, 20 Mar 2023 14:45:47 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC90325E3C; Mon, 20 Mar 2023 11:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679337536; x=1710873536; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xBVA+rxKOlHABSAbfGyz1olD1VAK66fbUS7prRd9Bz0=; b=SF0wHTuz2JA0/4CI2snHXmJ4cMSu8VVAuGC7CimOeCMeC9eqsKKzeYaK UtsEPmnS9/n8kgxiJNAhbnqgvETjr6MwN1UpdmVgpHsNmKCt2FOplitJR 5cj69YVGt5/sMjZIx3wndYkE2jOjb7vBjHEyPBmfYB6MKFzyWUkb7Yrng n02tb4U6RUf23IS1f4snefO/5VcZsIL7SMyw7Q8dSC4+5LNM+mzsooylu mwenh1X600bWFrNb0SkKTEsphM2LS+FtqMJWwLAGmpWl4IxVjMDtN9hh7 Xfq13XugJQ/X8+PtDwvh5he4oQygRG39ygr6igrn9aIfZ98okgF+Rv6mr A==; X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="322588293" X-IronPort-AV: E=Sophos;i="5.98,276,1673942400"; d="scan'208";a="322588293" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 11:35:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="791730815" X-IronPort-AV: E=Sophos;i="5.98,276,1673942400"; d="scan'208";a="791730815" Received: from spalihov-mobl2.ger.corp.intel.com (HELO ahunter-VirtualBox.home\044ger.corp.intel.com) ([10.252.34.182]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 11:35:35 -0700 From: Adrian Hunter To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Namhyung Kim , Ian Rogers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 0/2] perf intel-pt: Small updates Date: Mon, 20 Mar 2023 20:35:15 +0200 Message-Id: <20230320183517.15099-1-adrian.hunter@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760914315420559605?= X-GMAIL-MSGID: =?utf-8?q?1760914315420559605?= Hi Here are 2 small updates for Intel PT. The first is just a couple of new event type names. The second is a small change to Intel PT as it relates to Intel FRED. The patch is standalone but, for anyone interested, you can search LKML for FRED to find out more about Intel FRED implementation. Adrian Hunter (2): perf intel-pt: Add event type names UINTR and UIRET perf intel-pt: Add support for new branch instructions ERETS and ERETU tools/perf/arch/x86/tests/insn-x86.c | 4 ++++ tools/perf/builtin-script.c | 2 +- .../perf/util/intel-pt-decoder/intel-pt-insn-decoder.c | 18 ++++++++++++++++++ .../perf/util/intel-pt-decoder/intel-pt-insn-decoder.h | 2 ++ 4 files changed, 25 insertions(+), 1 deletion(-) Regards Adrian Acked-by: Ian Rogers