Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp44876rwl; Thu, 23 Mar 2023 12:26:43 -0700 (PDT) X-Google-Smtp-Source: AKy350bDtVZaW7qE8rh5lIv2ho6qyLRRcTMergY+brHlAtILJiIX2Nzb8TwDTllG+a7p9HRiVQxX X-Received: by 2002:a17:906:a148:b0:92b:ff31:45bc with SMTP id bu8-20020a170906a14800b0092bff3145bcmr135926ejb.44.1679599603579; Thu, 23 Mar 2023 12:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679599603; cv=none; d=google.com; s=arc-20160816; b=U9kVS7QoStfTEkV6HqrtpDUKnjxBP1SoMNHaph/oZ+M/C3cfMSmOTZqfESJfoKs0p2 OF6rbcoS0zkhRnu6TpnEfYUbFpXHYMhLT169XAc2eSwOkgXGE2ucmj9DjG1wJAlFBFq+ upAogg2GoIDf42ht7mclJt3b/C7ZmMpHGGT6GJ6N41P6T8rKc7FnRbwwVouPLGc4yj6f 04nxvV8CU5IdkzepEqv9HlGSB0mwVpS4jONaFZvc/ci0qg0AkWYVdHG9WBx54dYiPczg A3urRWxIK7wO/nogU6QOinRJ3S3hPs2sMZOVpmwyp1cRYp+ttHQ5iDhYC//nxX8KQ92U fOBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=+twZgD2lANnEj4Ejgw/Tmpo0NzizDYZveDuYYTFvBkQ=; b=TxCytdWVWSJJxyEf1Ts7S4/GVTJT1sTEskzrIaNQNXIJkW1NiWZx4TOOmNrKD1Wzlz YwemeGiwVBaqqf8M9f1NW42CMR42ONER0MZkmW7nFjImaArpOhGofY+hTN5Vh3LhTlBm Jgg2qFJjWVnlUe3e5a99S8iIr6RynHqFEmVVkIaGQ8gBVXWGzYVagebkPcpHLlPcuGFA LNTNK8t4Gywh5WL+tVa30GRYg0UG3hZf2N4hWXvPn4A3TwArESHXgR6M8bPBd8fQ1C4S qz6sJQiiOJXQAIeWUe8UrS+GiM0Q1YeQAlsmgfN9ASykIBOmwwnz9jmfiCz430OADSNz f3lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=DOLfyLdf; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a1709065e4500b009244d922f27si18056183eju.566.2023.03.23.12.26.17; Thu, 23 Mar 2023 12:26:43 -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=@google.com header.s=20210112 header.b=DOLfyLdf; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbjCWTWV (ORCPT + 99 others); Thu, 23 Mar 2023 15:22:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231614AbjCWTVr (ORCPT ); Thu, 23 Mar 2023 15:21:47 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CF7F1E2A9 for ; Thu, 23 Mar 2023 12:21:35 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5417f156cb9so230466057b3.8 for ; Thu, 23 Mar 2023 12:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679599294; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=+twZgD2lANnEj4Ejgw/Tmpo0NzizDYZveDuYYTFvBkQ=; b=DOLfyLdfXIIJboU8zkl6Uhv2DoOuJI7tOmholFicsh5wHtqPfHBoa4d/ksaQZ4UpZX 0Ev8jrFOmVtp7YhsQdV9BHyssb4h1LrsqfMVJDUD8lg9Oo+8pCZssHgEnNAjDxZhZ0wP 555bUqffvW2GDA+AXwxnpF/XJAB9zHUGgOTS9L9GKnqu8ZQhl1/hXf5lzv6TiXYKcs5v qLOwjbPkhgcSb+9G5g3Sn6KV53JpIz/EnMJp5CUmlYfmgXbjtzGrK8IzLmmG158kQxjk VWfqj+7HlJ9BIg0Jkp6HeprNltgm7EOSmmVdDc9NL08qGBUNIIB3zEqVuPrXsSRWYqbG FKgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679599294; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+twZgD2lANnEj4Ejgw/Tmpo0NzizDYZveDuYYTFvBkQ=; b=UN2dVGnzBo31qwVdzxIzg0rLlRWHBHesdh/OeFgpE85f7J5JeGqLbUk23jrCYCAt48 zFRfa62GuCpnTcv01CfwPjT/pdEh9kJTKYmLIU12n13Myg9to/dp+OLQcwXEClBMSWZk Vq8S3Lf2vTUcT58NomTF38JZKoaPMRVxZTGu53xcKNwFA0U6d1KUcua0F8UlyQPIAF/i PMBei115LXm+JG+nhumaCjbS1AUR+pucKcvlP1eVLtXeScVn/08GgP12UrFx3tMWSnad gDDBZxSp+wGMxby+CNU7ihGrf3VnackED+kNewVVfnMWAO+OhTQsi4UVowp6+o0Mmcxz EDZQ== X-Gm-Message-State: AAQBX9e8ydgUaLWQHN+oeCNrz/z5iI60REZwctlXA5YuHzMbJjseOwhM nnYnCEEgwv42topiTU4V979/vUWKGCrB X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:e705:3a3d:46e5:fb50]) (user=irogers job=sendgmr) by 2002:a25:f407:0:b0:b6d:1483:bc18 with SMTP id q7-20020a25f407000000b00b6d1483bc18mr2938380ybd.7.1679599294516; Thu, 23 Mar 2023 12:21:34 -0700 (PDT) Date: Thu, 23 Mar 2023 12:20:26 -0700 In-Reply-To: <20230323192028.135759-1-irogers@google.com> Message-Id: <20230323192028.135759-8-irogers@google.com> Mime-Version: 1.0 References: <20230323192028.135759-1-irogers@google.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Subject: [PATCH v2 7/9] perf vendor events: Sandybridge v19 events From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Zhengjun Xing , Kan Liang , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Edward Baker , Dan Williams , perry.taylor@intel.com, caleb.biggers@intel.com, samantha.alt@intel.com, weilin.wang@intel.com Cc: Ian Rogers Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 Adds BR_MISP_EXEC.INDIRECT event. Signed-off-by: Ian Rogers --- tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index e41c289fa427..41d755d570e6 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -21,7 +21,7 @@ GenuineIntel-6-(57|85),v10,knightslanding,core GenuineIntel-6-A[AC],v1.01,meteorlake,core GenuineIntel-6-1[AEF],v3,nehalemep,core GenuineIntel-6-2E,v3,nehalemex,core -GenuineIntel-6-2A,v18,sandybridge,core +GenuineIntel-6-2A,v19,sandybridge,core GenuineIntel-6-(8F|CF),v1.11,sapphirerapids,core GenuineIntel-6-(37|4A|4C|4D|5A),v15,silvermont,core GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v55,skylake,core diff --git a/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json b/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json index 54454e5e262c..ecaf94ccc9c7 100644 --- a/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json +++ b/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json @@ -210,6 +210,14 @@ "SampleAfterValue": "200003", "UMask": "0xc4" }, + { + "BriefDescription": "Speculative mispredicted indirect branches", + "EventCode": "0x89", + "EventName": "BR_MISP_EXEC.INDIRECT", + "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).", + "SampleAfterValue": "200003", + "UMask": "0xe4" + }, { "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.", "EventCode": "0x89", -- 2.40.0.348.gf938b09366-goog