From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02921C6FD20 for ; Fri, 24 Mar 2023 07:24:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231698AbjCXHYP (ORCPT ); Fri, 24 Mar 2023 03:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231639AbjCXHXq (ORCPT ); Fri, 24 Mar 2023 03:23:46 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6280426CF6 for ; Fri, 24 Mar 2023 00:23:25 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-536d63d17dbso10317447b3.22 for ; Fri, 24 Mar 2023 00:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679642604; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ICoBRC5p7C47vzNPhCu4TQTxzhqKflbzynhlXLr/MKk=; b=inT7u+9TwAQtxFFfgIO8RMy9BFj07KRl/hoSst3W8wIYbzSrZW90KD7MHxxq6kockM ganZwhueYcsw0IZ52zbNwnxtIrLMBswQSZYpMGHdoSf5lQZ61Ug/geUNWh9gaX2NBfsc W+mlsldVETakrI2UcUXMom6K5+fEuJmFIHIsl3kWvH7np0RuS60k9MM7E3ei+mCr1mYH zwhdOmCLKMKWoNdw7IUS/I1bEIbmh4yj8j9YfsfFQQhJH5LyEAN7FzF6N5Yi3BAwP7j/ aNkZdt34YqeCwoIs+kKG4SEtc5FeGCLH/6rlENwHYmzCxWweHLNvuc8rWkPEYngiyE7v /Vkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679642604; 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=ICoBRC5p7C47vzNPhCu4TQTxzhqKflbzynhlXLr/MKk=; b=x0wE8+D9qHvOBxXG37+74CpAf12HV4if1MsqAoVrO7XXEhC+0T+WtjvfxceT7st+Ai PCH9vl/huWradnV+sI4/+o3V/Z9147ExqcL2Q1KRgOhi6SzzqIE3RkR3IUaE3ElWJZML ELtg8jTjs8g3d3bEtz5VoH0F1JyFQC6rqxf6leP1T1IyGwaueSSmLOX/URMhSWE7glUG 8VccztLLIelIGDlgrrtR10soGuxzoYxfSJbhVnof/KvlfYsGDn1sttRwV01z/Hin7R5S sjif+BJdN0+LfXO+Q0/cTVqniyXkQhyS5xpeMjBtjVDfnGbhZGxp0Qnwj5U8Qyak9TWt xBtA== X-Gm-Message-State: AAQBX9dp08KoREOMBw95CRFxhDFEG5KanwGCnwEYvfy3wzlluEQXJoIt OCFip/Hw0/V5Ut0F57lyxyp0JxX6NUHM X-Google-Smtp-Source: AKy350ZNw85tA/wL+jbgGjCjdFcC/MQWc77h9qpHx6Ul7Eyb+vrmjsHcEoWmBJNSlmW3r3YUK7icbM0W0DB/ X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:e705:3a3d:46e5:fb50]) (user=irogers job=sendgmr) by 2002:a05:6902:1501:b0:b4c:9333:2a2 with SMTP id q1-20020a056902150100b00b4c933302a2mr582591ybu.9.1679642604628; Fri, 24 Mar 2023 00:23:24 -0700 (PDT) Date: Fri, 24 Mar 2023 00:22:15 -0700 In-Reply-To: <20230324072218.181880-1-irogers@google.com> Message-Id: <20230324072218.181880-7-irogers@google.com> Mime-Version: 1.0 References: <20230324072218.181880-1-irogers@google.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Subject: [PATCH v3 6/9] perf vendor events: Jaketown v23 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" Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Adds BR_MISP_EXEC.INDIRECT event. Signed-off-by: Ian Rogers --- tools/perf/pmu-events/arch/x86/jaketown/pipeline.json | 8 ++++++++ tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json b/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json index 85c04fe7632a..d0edfdec9f01 100644 --- a/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json +++ b/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json @@ -202,6 +202,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", diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index e1a609401fff..e41c289fa427 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -16,7 +16,7 @@ GenuineIntel-6-(7D|7E|A7),v1.17,icelake,core GenuineIntel-6-6[AC],v1.19,icelakex,core GenuineIntel-6-3A,v23,ivybridge,core GenuineIntel-6-3E,v22,ivytown,core -GenuineIntel-6-2D,v22,jaketown,core +GenuineIntel-6-2D,v23,jaketown,core GenuineIntel-6-(57|85),v10,knightslanding,core GenuineIntel-6-A[AC],v1.01,meteorlake,core GenuineIntel-6-1[AEF],v3,nehalemep,core -- 2.40.0.348.gf938b09366-goog