From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796199749; b=rL5/SHsM/EtUHIxhsYfqy46d14GT5j4ooI5kRdfzs5Nb/FHSV7kiJXJMywxK5/q8KegZ dXA8d6T/o/hr4Y61CpSpIEhK8aF2y9oqukyKkFjNcNeftk/5Mv1p+CVfWFJRLHJyV4g06 uNRLDObvKtwTL78/lZAHfSRMXh32WPqdrXvCu0kBdR5dPUEmKyVcEkHqEJgjEhEvo7+ds +Jnnf7NEmeaGM8p7KggnNVlaKYf0WisralqqEh66tWmP4jDmEVZl5rPpjd8S1IGXCxdID xldhw3sVG2NkIOQqhW42Etk00ADJiz5VA9pV9SiUfn9DVjfGlKQKjIyrl9IrV82JHVg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796199749; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=Xfa5XTgrRi3s7p8uhs7g7fz7vHBe28U204CnYc//He0=; b=TUVgzowDgsznqdbUZ0gSeOoVzMdag6C5q6Atensr4yJyI1UKqw8BUcNOMaly5tzyupx6 TiFOfM3sjJgG6Y06RDHPTJ8cw5uGorsack85FLSL9MmGazNZE63nLCC6ggONp830Z95ZC LF+witU4mxdTjPpOJoJ5LUfnb8r3uyQ8v/BP5JjCrTtrPxsbGpgO1uDTHGVwB7KkdYBUg 2qzQVMZUFjoAs8bgjfYBi5JpZ+RRh5zVxYhs2HKDKhr8F6JGpYc9q+S1d2QKCCkrdLi12 fYYBKNTHV/uY3bODMoy4igqGh2e5i/cZDLa0AsUoxDwlxBWS8u/QO2fO2x0nEIa2a+g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=AEonN2dA; arc=none smtp.remote-ip=74.125.82.71 Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A29E606A68B for ; Wed, 2 Dec 2026 08:22:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6A29E606A68B 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.a=rsa-sha256 header.s=20260707 header.b=AEonN2dA Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-14373747468so12309005c88.1 for ; Wed, 02 Dec 2026 00:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796199748; x=1796804548; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Xfa5XTgrRi3s7p8uhs7g7fz7vHBe28U204CnYc//He0=; b=AEonN2dAbJFuFLxdcx/NHjYUaQCxIMUPU1fElXMp9eoq37g/HJo7n7Cf5PY4TO5W7G oFytquHSJuymVOFhdjPRhRg1dMe8eTsLDFclyMeUrX9kB4Pkm6hm6k4z96fy7dmXivpd WcZbijN8uijuTWXtg4TZRtHgxALiNIPBa/WjyhRRfyB/tYc91+bIXiEGGcV7HwQmSI7r vnTVvLBEbvTitv09q7gJqNtG/NGBJQEEMzaSRDlIxAq+05VAKTyQMtkgXBDJLoHSQ9F6 JPxqnH0vhhLmRDqE6+C8QoWbX3unZt9vTzU4+egSdRCrDbHRFd+0RmNeCMGYMIqCqjP/ Wakw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796199748; x=1796804548; h=content-type:cc: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:content-type; bh=Xfa5XTgrRi3s7p8uhs7g7fz7vHBe28U204CnYc//He0=; b=a3MA7A2dhAjUNNcXmnTGRFMtAaZhAOs2GWttOacjmIRsWNoAAwodQkvnt0oVSKueJ2 IgKCErekkIw+CQjCmbVJlh8h2bqiBVhN1wZ17Ra+1EaklXi/9oKq1SstKJ3Yls2UEW0t evs6fnxr0FxeFIIYlVxRcKozp4GO6NpGHQJYtR5G02imn0LcfsWETHa9uMhvtt8AuIaQ 6jE/3jgKfV1jSlMKsXey6PnrzRPvwoG4MOYIiAuZ8auGi8Q1AIP8yXx/Hk3eMsvpFWoS VJfzV4jFk1xBjeCX0vyHhlmyoIIE5sKzbr+oyi1I+SRfYoLfXIHvgD3SL/9QbjW4ESDf ycRA== X-Forwarded-Encrypted: i=1; AL+hErG0NX3E61rGt8ighpXt/VQTgQI9JF9dnDhst2/1zZVJ2xo2y6PpXNmFqXyokDEUqLgMgyk10t3tF9CSoXg=@vger.kernel.org X-Gm-Message-State: APuU4Z9HBU325Uy9bcso+9msFV9tQANg1Wj6/GEUUBHTeGK3B9d0q/2X J8BmYCslkAL07/ZgnsqCYfjgv0SVNr3Ktz7ELBATnkpyDtX16kX04Y8TSU7vGs7txTEo2HZScne yo/5Bo45ZAQ== X-Received: from dlbds15.prod.google.com ([2002:a05:7022:250f:b0:1b5:3561:2fe9]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:701a:c9c1:10b0:183:3c2a:ae8 with SMTP id a92af1059eb24-1b55690bb6emr35371442c88.41.1796199747099; Wed, 02 Dec 2026 00:22:27 -0800 (PST) Date: Wed, 2 Dec 2026 00:21:15 -0800 In-Reply-To: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: X-Mailer: git-send-email 2.56.1.915.g69d5ec7298-goog Message-ID: <2139a124efbaf1ed9b0869742ee1c1f4970333e5.1796199085.git.irogers@google.com> Subject: [PATCH 24/36] perf vendor events intel: Update knightslanding events From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Jiri Olsa , Adrian Hunter , James Clark , Mark Rutland , Alexander Shishkin Cc: Dapeng Mi , Zide Chen , Thomas Falcon , Chun-Tse Shao , Lalit Maganti , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Ian Rogers , Sandipan Das Content-Type: text/plain; charset="UTF-8" Re-generate knightslanding events with create_perf_json.py: - Fix uncore iMC_DCLK unit name to "iMC" matching knl_uncore_imc_dclk. - Fix counter count initialization in counter.json. Fixes: ae7bcd600e1c ("perf vendor events: Update Intel knightslanding") Signed-off-by: Ian Rogers --- .../perf/pmu-events/arch/x86/knightslanding/counter.json | 4 ++-- .../pmu-events/arch/x86/knightslanding/uncore-memory.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/counter.json b/tools/perf/pmu-events/arch/x86/knightslanding/counter.json index 4ce9f30a4fe5..30c64fb38069 100644 --- a/tools/perf/pmu-events/arch/x86/knightslanding/counter.json +++ b/tools/perf/pmu-events/arch/x86/knightslanding/counter.json @@ -20,14 +20,14 @@ "CountersNumGeneric": "4" }, { - "Unit": "iMC_DCLK", + "Unit": "iMC", "CountersNumFixed": "0", "CountersNumGeneric": "4" }, { "Unit": "iMC_UCLK", "CountersNumFixed": "0", - "CountersNumGeneric": 4 + "CountersNumGeneric": "4" }, { "Unit": "M2PCIe", diff --git a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json index f137dfde8481..1e0993c54011 100644 --- a/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json +++ b/tools/perf/pmu-events/arch/x86/knightslanding/uncore-memory.json @@ -83,7 +83,7 @@ "EventName": "UNC_M_CAS_COUNT.ALL", "PerPkg": "1", "UMask": "0x3", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "CAS Reads", @@ -92,7 +92,7 @@ "EventName": "UNC_M_CAS_COUNT.RD", "PerPkg": "1", "UMask": "0x1", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "CAS Writes", @@ -101,14 +101,14 @@ "EventName": "UNC_M_CAS_COUNT.WR", "PerPkg": "1", "UMask": "0x2", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "DCLK count", "Counter": "0,1,2,3", "EventName": "UNC_M_D_CLOCKTICKS", "PerPkg": "1", - "Unit": "iMC_DCLK" + "Unit": "iMC" }, { "BriefDescription": "UCLK count", -- 2.56.1.915.g69d5ec7298-goog