From nobody Sun Feb 8 15:58:10 2026 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 179D279CF for ; Wed, 14 Feb 2024 01:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707873523; cv=none; b=Mz046ZndaSG/aRVTDpmCq1BjgA0fIwpIMG6/18IYGboR/9D1lzxB+juT5rHcwJN2r8cyqSVXexYFB//FYPgQobcxtAF/X4CghjGWrZ+edZ3E8y6ksqQxfiCRPfhlXPYOLVF8cPexW0cnNBWh5Hdlkyt9+HPzhgN2FI/HKZcZUjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707873523; c=relaxed/simple; bh=Y9bNWts54qF24481TKf8WJPwGJz0WIcwE+VErux7wGk=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Cc:Content-Type; b=iNiPUtaeXSKxdNbhDVrwC1PYe4qMcFCYzgrPopr/HsEMecV9ctXXafDKakgAdf+Bxq/KfZpYKwmWPz+xhBKpA+kj7hs6Z1MuHEZDg2hZoi6wX/Q61hKOBnLSV5+MGnvQQnPu2MlEcZ5vCGVFwYZz0NAONnxhcAD1jCgmnfboU74= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=jgLQpxTo; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="jgLQpxTo" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-6077e501cecso29299077b3.2 for ; Tue, 13 Feb 2024 17:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707873521; x=1708478321; darn=vger.kernel.org; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=0y5+5SSHhOjDyALGXDEJSsmAPqLoelaAkrXUU7aDhqc=; b=jgLQpxTo8MymXq1AxPyn15egu8csYqbcO2PmL6OcWhyIU3AzFdn8nDMACYGuP0kOMz P8hPvJg0VY1zdvzvKEF0bccGhcqQm5C8dxuMoAfo9NiS0kbwadbfMBALK86wq5jWNRCy ePA8lpNUJYqneAIXC1h/EDICv5uu+rYZHE9TeDMsBIBpaZUT3vB8wpTM6vb3TSNKbuPZ vlF6pqEuFFQb0m6WqqBHstl7EVZQH3KzOpmis5erx4b3IppV2Om7ySweOe0RzqYXfAvn YqaguXDCFjZPPM5S6uAucoztbtEWKxR7yg4CPy82An/7BLC9WUrR5Xo+E9qO4sNRTMHC 4Lhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707873521; x=1708478321; 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=0y5+5SSHhOjDyALGXDEJSsmAPqLoelaAkrXUU7aDhqc=; b=MrXAKbW35ETS1lWBZ66cUCMppIRkehAUmh9v3HsXt8CQlE1MNitqGG4DP7z7TRdVPM zyf0pmE79SibOVXa89fxsJoouvjge3zlgHTsLsldTEkvD/0JogRH9PQ4TQyWAdI7p0Vj 6Bjsp/1qQLoO2B90OED2IY8d4ivU6we4xjcf8ofqJZJSSUsl0YGIlzPnqSvF9QextKcd RNnF/asWMXbUSuH9BSgkk4ibz9v/sBilHnu9XKhULUmkXFlN/LTI5c9RkmQdEzA2JUbU Oh28PMBtrRMaIw3AGZEsM9Y7iAXeP6FOdK0YX5eQeUSaYuyJOXt2Di5qkkB3F5IdbA6g xuwg== X-Forwarded-Encrypted: i=1; AJvYcCXTwMWZA3gPbgRo4cfca5ZZ1QNBE3YZoSls1sWgu71gk054Ax8LLDEcDIFEm5xPSCfwhWi6abfvha9qA4o5vN0eQ2ASJPrEOB6ZDbPj X-Gm-Message-State: AOJu0YwaO5c0Kq3cBt5fN1SWnLe34pQ2I1lBB5RviRzz0t/Xl8tVC5En ZWyjELH6Cr06qH0uavbFs35Hx4nLAEb31sq+7Yc+8RYQ6y0tsUxfy9JwXON+KZ/G6NOwVb5mBSF g9MEzbg== X-Google-Smtp-Source: AGHT+IGqmAaMsFQkYOWmx0yz4BgEBxxzP2wbypzVJh1CZLdByws1pG7kNOw8eiqZgKc5ox4Z8N8yKeAiycFj X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:6d92:85eb:9adc:66dd]) (user=irogers job=sendgmr) by 2002:a0d:eb16:0:b0:607:9963:2dd4 with SMTP id u22-20020a0deb16000000b0060799632dd4mr258831ywe.9.1707873521081; Tue, 13 Feb 2024 17:18:41 -0800 (PST) Date: Tue, 13 Feb 2024 17:17:51 -0800 In-Reply-To: <20240214011820.644458-1-irogers@google.com> Message-Id: <20240214011820.644458-3-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240214011820.644458-1-irogers@google.com> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog Subject: [PATCH v1 02/30] perf vendor events intel: Update alderlaken events to v1.24 From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Perry Taylor , Samantha Alt , Caleb Biggers , Weilin Wang , Edward Baker Cc: Stephane Eranian Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update alderlaken events to v1.24 released in: https://github.com/intel/perfmon/commit/e627dd8d89e2d2110f1d499608dd6f37aae= 37a8c Adds LBR_INSERTS.ANY/MISC_RETIRED.LBR_INSERTS event. Event json automatically generated by: https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py Signed-off-by: Ian Rogers --- tools/perf/pmu-events/arch/x86/alderlaken/other.json | 9 +++++++++ tools/perf/pmu-events/arch/x86/alderlaken/pipeline.json | 9 +++++++++ tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/alderlaken/other.json b/tools/p= erf/pmu-events/arch/x86/alderlaken/other.json index 6336de61f628..ccc892149dbe 100644 --- a/tools/perf/pmu-events/arch/x86/alderlaken/other.json +++ b/tools/perf/pmu-events/arch/x86/alderlaken/other.json @@ -1,4 +1,13 @@ [ + { + "BriefDescription": "This event is deprecated. [This event is alia= s to MISC_RETIRED.LBR_INSERTS]", + "Deprecated": "1", + "EventCode": "0xe4", + "EventName": "LBR_INSERTS.ANY", + "PEBS": "1", + "SampleAfterValue": "1000003", + "UMask": "0x1" + }, { "BriefDescription": "Counts modified writebacks from L1 cache and = L2 cache that have any type of response.", "EventCode": "0xB7", diff --git a/tools/perf/pmu-events/arch/x86/alderlaken/pipeline.json b/tool= s/perf/pmu-events/arch/x86/alderlaken/pipeline.json index 3153bab527a9..846bcdafca6d 100644 --- a/tools/perf/pmu-events/arch/x86/alderlaken/pipeline.json +++ b/tools/perf/pmu-events/arch/x86/alderlaken/pipeline.json @@ -344,6 +344,15 @@ "SampleAfterValue": "20003", "UMask": "0x1" }, + { + "BriefDescription": "Counts the number of LBR entries recorded. Re= quires LBRs to be enabled in IA32_LBR_CTL. [This event is alias to LBR_INSE= RTS.ANY]", + "EventCode": "0xe4", + "EventName": "MISC_RETIRED.LBR_INSERTS", + "PEBS": "1", + "PublicDescription": "Counts the number of LBR entries recorded. R= equires LBRs to be enabled in IA32_LBR_CTL. This event is PDIR on GP0 and N= PEBS on all other GPs [This event is alias to LBR_INSERTS.ANY]", + "SampleAfterValue": "1000003", + "UMask": "0x1" + }, { "BriefDescription": "Counts the number of issue slots not consumed= by the backend due to a micro-sequencer (MS) scoreboard, which stalls the = front-end from issuing from the UROM until a specified older uop retires.", "EventCode": "0x75", diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-ev= ents/arch/x86/mapfile.csv index b4adaa1b5e9e..5bda5d498841 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -1,6 +1,6 @@ Family-model,Version,Filename,EventType GenuineIntel-6-(97|9A|B7|BA|BF),v1.24,alderlake,core -GenuineIntel-6-BE,v1.23,alderlaken,core +GenuineIntel-6-BE,v1.24,alderlaken,core GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core GenuineIntel-6-(3D|47),v28,broadwell,core GenuineIntel-6-56,v11,broadwellde,core --=20 2.43.0.687.g38aa6559b0-goog