From nobody Thu Dec 18 16:55:44 2025 Received: from mail-oo1-f73.google.com (mail-oo1-f73.google.com [209.85.161.73]) (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 ADA5A1F4162 for ; Fri, 28 Mar 2025 17:51:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743184303; cv=none; b=gQ0kxTgME4JPeyJf0QruUhg5Bb9bxWoAh7WaiuYA9eqQ0XWM0A29efBugwFqg78DHSOJ+aZtsWWO8Uy64PGByWLndT0Lp8ASBIONGuQr8AF2bk/apG5U+W+uxUajke+5q7DaAqi7aPhPc/44RqT+AA1qg3JLsruAlovmxN5VKNQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743184303; c=relaxed/simple; bh=rEKsyl5VeXsQYB6M9jGct7xgL9z+rZvIbO9f2wNkGrg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=iLcm86gcutxkREIL+1MeTxR/oWredZvuWeOOGPPBB1VSiwV0JatcR7hEognVB7ByQSX6xP/IEcrqm/V63GyeGnwm/sxFWiJY1Hrc9dYo01yHODaPdxvFGTcwfuEsm+ox5eny86NRi2r0gssASVN8d50iMg+D2pXX2sfAN1bBK2k= 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=lRQ/EemB; arc=none smtp.client-ip=209.85.161.73 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="lRQ/EemB" Received: by mail-oo1-f73.google.com with SMTP id 006d021491bc7-601e7432929so2237338eaf.0 for ; Fri, 28 Mar 2025 10:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1743184293; x=1743789093; 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=nlkA6u2yJZ2VVf9mufqU92QMT0mRmr2z4j7mWj8ghPE=; b=lRQ/EemB7a9dNxVC3yxPdx3gRgt95mcfXMMW+UVxHjcDQZR+MeG3F14BbJMoKWhsIS qBVM8y9yXmUmQDcuWSUnNbs+ZpUFolBx774XK+GcfweBruOrDpLjN7/AWdFGZXNFega+ knVbc5eV0aytDHby0N7uxIvME08w9AG3TMdvIv+12iSoYUdVbHq2wlR+/h6mP8babPKN u7qR6VgrwlhingDIbsaUJA6llJ5i51hxqGrj6earydTakxq8Qh2phm0LJLL30uPQTPpT Bqx7CSdCpY+ZcZ/SVBbiDaiGOH8i+cbTAEEOoPsTkYiKmuABy0t2IqmqySMYGWBMkIT6 MeGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743184293; x=1743789093; 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=nlkA6u2yJZ2VVf9mufqU92QMT0mRmr2z4j7mWj8ghPE=; b=k3878U+0SN6X8oEZtu47n7JjyUYEcpelGIxDTVW0kDMeDyOhUFDPlAFsG1ASg7k0jg P4bPPTfvUDcGNFdQPg0yUf6XawbGxYW3fp5+dkK9FHsx786YGIMZQTIiz68vanf1Jhi1 G1j6EbskousdQebx0dZ+EFkjxAneutRLHvtzSOr2F+er0avWWRG7go2AkNdrprkbqNy0 C+GbDBIgHrw4jMoMqYhqzXBJ/QXli1Blt5mV8ADtieeRnjhw8qwoeg7FwEYVvTs3bLa2 t7ctBXQDPixuObLlFlRuH5ojOO3/ApYB2QJuwmiEnAhXb8bolWLlH95y2d0KDUlluwRW dRUQ== X-Forwarded-Encrypted: i=1; AJvYcCUkb4J96Don1lpOzQvYiHMFkdEqRRbFnDWhHois3f5CO6yXCT7c7gsQKdwcS3O12UH380sG52dMsurkV9U=@vger.kernel.org X-Gm-Message-State: AOJu0Yyy8+Ch0/g9nwXtU1cWN00LhdMZZYirHmOl5VU/fqINaMdvDOwH yvpiYltdAsQd5flIjLCCFYh4wum2TXjAVMD25qZDitAyKpz4HWoFLbtzf4OfCDQMWjL+ak3NEQm RhCo0Gw== X-Google-Smtp-Source: AGHT+IGHF+O1EpbLFR/rFZ08lwaps+o4Ek5lPHmdTnPHmxvT1Vi495VS4ksktcPS6ErFHrfbIW8+unaT6FGg X-Received: from oaen1.prod.google.com ([2002:a05:6870:8201:b0:29d:f69c:1743]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6871:809:b0:29d:c6dd:cc6c with SMTP id 586e51a60fabf-2cbcdf6ada5mr316904fac.15.1743184293587; Fri, 28 Mar 2025 10:51:33 -0700 (PDT) Date: Fri, 28 Mar 2025 10:50:04 -0700 In-Reply-To: <20250328175006.43110-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: <20250328175006.43110-1-irogers@google.com> X-Mailer: git-send-email 2.49.0.472.ge94155a9ec-goog Message-ID: <20250328175006.43110-34-irogers@google.com> Subject: [PATCH v5 33/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-dp/cache.json | 32 +++++++++++++++ .../arch/x86/westmereep-dp/other.json | 40 ------------------- .../x86/westmereep-dp/virtual-memory.json | 8 ++++ 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/westmereep-dp/cache.json b/tool= s/perf/pmu-events/arch/x86/westmereep-dp/cache.json index 30845c7dbf08..f6f95f3ff301 100644 --- a/tools/perf/pmu-events/arch/x86/westmereep-dp/cache.json +++ b/tools/perf/pmu-events/arch/x86/westmereep-dp/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-dp/other.json b/tool= s/perf/pmu-events/arch/x86/westmereep-dp/other.json index bcf5bcf637c0..c0cf8bae8074 100644 --- a/tools/perf/pmu-events/arch/x86/westmereep-dp/other.json +++ b/tools/perf/pmu-events/arch/x86/westmereep-dp/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-dp/virtual-memory.js= on b/tools/perf/pmu-events/arch/x86/westmereep-dp/virtual-memory.json index 53d7f76325a3..84c920637b12 100644 --- a/tools/perf/pmu-events/arch/x86/westmereep-dp/virtual-memory.json +++ b/tools/perf/pmu-events/arch/x86/westmereep-dp/virtual-memory.json @@ -152,6 +152,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