From nobody Thu Dec 18 22:31:17 2025 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 A0E2625DB11 for ; Tue, 25 Mar 2025 16:42:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742920927; cv=none; b=sNaFjLLcm6m6kx6LxCiAAud+Q64J1deMB59OdaMZHjgbaQDxzlUr/nQxmbjEsraBEQ6PchxuMhH2g9rFNntqMT+MoRbhcgjHHgrvBTzapxHWUcPI6gVmpnYrQaeoRckfiMWb1bYM18PTboiI6U5cHbe+sZ6KuPANMhauWeETjw4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742920927; c=relaxed/simple; bh=9yS94I0V+aj5EaLixu70v/BvSVLiAUj4x7/o+VoVa7U=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Content-Type; b=NoV++dm+RFQJDCnSvTLiN+sN1Ys4OX1GOVdxUcREiNNnJWQwvz0PiLA2oTf5dRRXOy+u+LUQfJBQJOsqfxsQ1U2tm+0WoPjGsrqZDcQ8J5spLkdavPiJuSqHpC0y3VA7Kw88uRIWYAACHPs6eLCEU0qYIuAhorOf0KZG7WdtQpE= 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=ijUYWTp6; arc=none smtp.client-ip=209.85.219.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="ijUYWTp6" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-e6372ccd355so8323318276.1 for ; Tue, 25 Mar 2025 09:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1742920924; x=1743525724; darn=vger.kernel.org; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=RPugHL8eCvwfstte7zHSdBSJ9ey/olpTRBhxpg/Uv8M=; b=ijUYWTp6vB7X9x6njfGoLOiSmrh2nPO+vjYu3Hg07bCt7wNAjA9Po9623VXzic4ago 1hdU6WuDwRiCSBbQSOErxjV2B1TJNMprMeyzhBvQSQ4Qp2PQfj/zqsBUyKdYDwEzUuXO rAFhOk9eQITaKiSpqVjW//mO00GvlRBgoWTSTiYf7hQ+2IiSOHUI+17Np5oJTC/MGKn5 4GAeDchOwPCqLX7j0DLo2BlE5+7BAcx9JQUxoFE552pXyACwt1cmu6KX52I5+/GA26Ox Y4pYRRumGEKewHvnD7/4C4G+b9NTYQ+VmwOJtd403hI9D8cDPFNHU6T77cPo/05qDb4e 4jAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742920924; x=1743525724; h=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=RPugHL8eCvwfstte7zHSdBSJ9ey/olpTRBhxpg/Uv8M=; b=sFpQQd6G+tfbmD8REmBKKQzO1SeSQIDCQr8wdDcWEE6RzO12P/rZI7XP2rfkRSoqzI MGG5uFu6s6Fez8CULMQ++FUoyzVQ6OpHaO77VPjVKF1JzkSuIfaPglPvAASeMSLtWF7V jQOKhz3OSE+DmkyWhY/lzxeTvHwOgKcCxt1J08frrtEedOiRXaDXcSJ8eMrpEPxQEVLI 3QbetoFkCIYb3iTXBfDLWJhpM9kEpOdwWUvY5CHwirwJxzUH+R+U43Yi1KqkudWGO6Iw R4SbaV0Lb5tDq/jZxj1FmDHXLa1vP9HDidJLBUloZbYTZEHsGYlPG6b6s5kl8fQfUM/j v1Hg== X-Forwarded-Encrypted: i=1; AJvYcCUcy0+epCYGErO42BzJ8PIQlGgaglxrpzDaLSXXFkU+YFSsemw0ezzzLQWLuJ62W587DU4h1KrLknmZdUo=@vger.kernel.org X-Gm-Message-State: AOJu0Yxyet/s67eHd/wU1UwJHWekGtJxpgNCASJl6LCRLhcdWeOD1Pd3 qRxNyh30NKPxKXfgU1rh+5S5d+yb1bO9VsAqqYFC+vh/lKP/4cC5TBjr/MgZU6LZUwv77dUaI6l ZwdTymg== X-Google-Smtp-Source: AGHT+IHds7r9R9NDbM+n0zARfRDgEes0cddmvgi2De604ANvOJBFbjpQrm1pSRvVfIXcafcK3ZIDt3q18V1p X-Received: from irogers.svl.corp.google.com ([2620:15c:2c5:11:40b3:9c02:57a5:693c]) (user=irogers job=sendgmr) by 2002:a05:6902:101:b0:e57:3500:2294 with SMTP id 3f1490d57ef6-e66a4d42cc0mr7267276.3.1742920924630; Tue, 25 Mar 2025 09:42:04 -0700 (PDT) Date: Tue, 25 Mar 2025 08:15:10 -0700 In-Reply-To: <20250325151511.13628-1-irogers@google.com> Message-Id: <20250325151511.13628-35-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250325151511.13628-1-irogers@google.com> X-Mailer: git-send-email 2.49.0.395.g12beb8f557-goog Subject: [PATCH v2 34/35] perf vendor events: Update westmereep-dp events 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 , "=?UTF-8?q?Andreas=20F=C3=A4rber?=" , Manivannan Sadhasivam , Maxime Coquelin , Alexandre Torgue , Caleb Biggers , Weilin Wang , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Perry Taylor , Thomas Falcon Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Update event topic moving other topic events to cache and virtual memory. Signed-off-by: Ian Rogers --- .../arch/x86/westmereep-sp/cache.json | 32 +++++++++++++++ .../arch/x86/westmereep-sp/other.json | 40 ------------------- .../x86/westmereep-sp/virtual-memory.json | 8 ++++ 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/westmereep-sp/cache.json b/tool= s/perf/pmu-events/arch/x86/westmereep-sp/cache.json index 90cb367f5798..0cd571472dca 100644 --- a/tools/perf/pmu-events/arch/x86/westmereep-sp/cache.json +++ b/tools/perf/pmu-events/arch/x86/westmereep-sp/cache.json @@ -119,6 +119,38 @@ "SampleAfterValue": "100000", "UMask": "0x2" }, + { + "BriefDescription": "L1I instruction fetch stall cycles", + "Counter": "0,1,2,3", + "EventCode": "0x80", + "EventName": "L1I.CYCLES_STALLED", + "SampleAfterValue": "2000000", + "UMask": "0x4" + }, + { + "BriefDescription": "L1I instruction fetch hits", + "Counter": "0,1,2,3", + "EventCode": "0x80", + "EventName": "L1I.HITS", + "SampleAfterValue": "2000000", + "UMask": "0x1" + }, + { + "BriefDescription": "L1I instruction fetch misses", + "Counter": "0,1,2,3", + "EventCode": "0x80", + "EventName": "L1I.MISSES", + "SampleAfterValue": "2000000", + "UMask": "0x2" + }, + { + "BriefDescription": "L1I Instruction fetches", + "Counter": "0,1,2,3", + "EventCode": "0x80", + "EventName": "L1I.READS", + "SampleAfterValue": "2000000", + "UMask": "0x3" + }, { "BriefDescription": "All L2 data requests", "Counter": "0,1,2,3", diff --git a/tools/perf/pmu-events/arch/x86/westmereep-sp/other.json b/tool= s/perf/pmu-events/arch/x86/westmereep-sp/other.json index bcf5bcf637c0..c0cf8bae8074 100644 --- a/tools/perf/pmu-events/arch/x86/westmereep-sp/other.json +++ b/tools/perf/pmu-events/arch/x86/westmereep-sp/other.json @@ -15,46 +15,6 @@ "SampleAfterValue": "2000000", "UMask": "0x1" }, - { - "BriefDescription": "L1I instruction fetch stall cycles", - "Counter": "0,1,2,3", - "EventCode": "0x80", - "EventName": "L1I.CYCLES_STALLED", - "SampleAfterValue": "2000000", - "UMask": "0x4" - }, - { - "BriefDescription": "L1I instruction fetch hits", - "Counter": "0,1,2,3", - "EventCode": "0x80", - "EventName": "L1I.HITS", - "SampleAfterValue": "2000000", - "UMask": "0x1" - }, - { - "BriefDescription": "L1I instruction fetch misses", - "Counter": "0,1,2,3", - "EventCode": "0x80", - "EventName": "L1I.MISSES", - "SampleAfterValue": "2000000", - "UMask": "0x2" - }, - { - "BriefDescription": "L1I Instruction fetches", - "Counter": "0,1,2,3", - "EventCode": "0x80", - "EventName": "L1I.READS", - "SampleAfterValue": "2000000", - "UMask": "0x3" - }, - { - "BriefDescription": "Large ITLB hit", - "Counter": "0,1,2,3", - "EventCode": "0x82", - "EventName": "LARGE_ITLB.HIT", - "SampleAfterValue": "200000", - "UMask": "0x1" - }, { "BriefDescription": "Loads that partially overlap an earlier store= ", "Counter": "0,1,2,3", diff --git a/tools/perf/pmu-events/arch/x86/westmereep-sp/virtual-memory.js= on b/tools/perf/pmu-events/arch/x86/westmereep-sp/virtual-memory.json index e7affdf7f41b..a1b22c82a9bf 100644 --- a/tools/perf/pmu-events/arch/x86/westmereep-sp/virtual-memory.json +++ b/tools/perf/pmu-events/arch/x86/westmereep-sp/virtual-memory.json @@ -128,6 +128,14 @@ "SampleAfterValue": "200000", "UMask": "0x20" }, + { + "BriefDescription": "Large ITLB hit", + "Counter": "0,1,2,3", + "EventCode": "0x82", + "EventName": "LARGE_ITLB.HIT", + "SampleAfterValue": "200000", + "UMask": "0x1" + }, { "BriefDescription": "Retired loads that miss the DTLB (Precise Eve= nt)", "Counter": "0,1,2,3", --=20 2.49.0.395.g12beb8f557-goog