From nobody Wed Dec 17 10:48:46 2025 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 73DDC1E1DF9 for ; Thu, 27 Mar 2025 22:24:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743114293; cv=none; b=OmVmZDWYm2QKP8pQ9IkoeNxusELd7yiBKkarxSRspztGvUvWELLvKKCHjnSvIK9UIYANpNfW4t8NTyYi8YNcT1FhaU38ZC1MeVx4iBw81wh84APrXb5PC2b6BBeKyFE8myQrop3QDthYzhvLPU23vuRkTZoCsgzsm037Ym2/09M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743114293; c=relaxed/simple; bh=Vb8Zw2G8yDaioPTnls3nU7UxwtuE80WVgK353Gkw6uQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=E1qP9kS8gtWVb68/VqU4RiKyvCsIHfyAH13AEuGUQCTh7cjLniI/RzNhTZkP+JjSWA6/NHvUXXt/BY6G0Z8fEXAh6h6NGbQuz4CUByga+C8hn3Zb9bNo2CcgL+50ggYXXemTUmQtec30cUBUgYHIoeCKKJq9xk+1VgGFgynCAgQ= 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=CAPuW1Js; arc=none smtp.client-ip=209.85.214.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="CAPuW1Js" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-225974c6272so23670205ad.1 for ; Thu, 27 Mar 2025 15:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1743114287; x=1743719087; darn=vger.kernel.org; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=DD+qgAbA2jbLVZa6aUPEYkzjGKc51TnF+sfLKzMQeFc=; b=CAPuW1JskB3d6IBj2ZXYlpTdjK94LYqmchHmTQ4Bspav/awKifEvPO868ApkU4u889 DgHCcXS3qc0BJH0KE5EKJ83OuCtLcV+D2byeZBrUxWU2KYbiuEEcjQJ/o3hZw5V3V5bi jHqYRlHSaQw915T/xZQotAl9YzRoNvl6DMbZgBajY/TXOCME9IzD3jORr2jDs/Re0CLx VhaWjarRi9lQmAF8D3eEiSAz0kUJ0ZyJDMeC7G6UTCiAclapgKig4HA5jSE9+hhszOHe UQh2LpTiDTUvJTe7aHgGlyKmSp6CEkYcV+plGKl0ZVv9Fv5XTPeMpYbX36v19+rkxINC DF9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743114287; x=1743719087; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DD+qgAbA2jbLVZa6aUPEYkzjGKc51TnF+sfLKzMQeFc=; b=xBKf6WDYaPEGLpo8SShYQSM7p677l19zOYFsQkYe91SkWOx4ImXllkpgznCpEJwkXp WY+DD68NAR5h33Iy3/XxFnE0Un8g6SS6IGcCNCOVk4dxy9zmT75MX9QUT5v7UbIq0Cfp BZ6bfc8uUrZv9cHOGeXAqof08/734rmv/1QXh1B+PelQLUc23D/A1Q6t/UWF75TZOd7c /36RoLQ7Np1A0p1RTnkadZ0dnH2f/IJRgbHAlANd97O/QWSAoERwnuBKFvo4zbL+GhQl sf4akqocodKSLeLAE6njBcHrvPcCKKM6ZURsOruAvycX+a/vtSuKOCw1J1P5aflbEGZ6 F1Yg== X-Forwarded-Encrypted: i=1; AJvYcCXyJxJMeGPRjWRj2qNUtcSBORgGOfyEHLSc5I5GH8ZUjFxQoSReUQaF2F8aRCUpD0v33EzA9qjKt156JWY=@vger.kernel.org X-Gm-Message-State: AOJu0YynnHCHssj02BV7KgQykdR7tlo4mmVkRMGiPnOdLVaUwfIhqnXR H5FLocvlc4EdwPbLos7aQzdd7bNvO/XqKsa5o4di+V/TSeYNHAx/4z1LyOh5o/KzF93y3w/CMou qF6QTUQ== X-Google-Smtp-Source: AGHT+IHuxE7aXI9zklTF2dsGNNOyQdhT7bzLM5pyZGWDdL6YccflfMpnwz+zbzl9xiQoqCdpn2xV0Pf2inHA X-Received: from plhl11.prod.google.com ([2002:a17:903:120b:b0:224:179d:4b74]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:d485:b0:223:fb95:b019 with SMTP id d9443c01a7336-22921d4fc97mr6994695ad.24.1743114287487; Thu, 27 Mar 2025 15:24:47 -0700 (PDT) Date: Thu, 27 Mar 2025 15:23:29 -0700 In-Reply-To: <20250327222331.117701-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250327222331.117701-1-irogers@google.com> X-Mailer: git-send-email 2.49.0.472.ge94155a9ec-goog Message-ID: <20250327222331.117701-35-irogers@google.com> Subject: [PATCH v4 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.472.ge94155a9ec-goog