From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.181 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794552779; b=PFIB6yhfbQGgNrsorRxUijyMvV6aKf0c8JDmpv0pW+m9cd4bMLXhxG2YKYyjH/rwGY0q HTQ7J9FQz794EqQNos21xJcF4/ItlSkh4XuAXUNkjdVbJxtRqcANL2H1ACLCasdZrl2Kg FKQQi8Yx1zyn1KGlL2LRdckfwLUZonPqbamTrxlEaJ2FOVXipfrnm7HSuvjcBu5C122xe fdN5zWVQ2XnLRSkci4ceA6lkD6ep0bKcphnwXQA/WqYUGSfUOKd2an3+8eopnTq+a7GKA yOq0qUBDyqM6N663eUiimWJkMNx8/oT/tQXllJpeid4Ypr+TA6IxiO4dUzSK7xyYiDg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794552779; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=VIJHAgcH0kNWNFXAVV2FGeNxRIHtnxTUPfAN1k4v8u4=; b=rsW6BDWTiwjPT+WGEBBkhraHgMcDraWlwDSHJyhSo1DxVZpCfZIoDljNmHfx3iOdJbTy OB1MoewdnB+Vw7wDGC+BRQamrNqR3lOWba8En/Kd8fTE2YIahtZgKkOLZ23NqngdDM97n SKnLqrqf44h0P9sm4P/nSu8s8ekMSq/5GlFNUpZCNL6G8Z3jICZ9Jyb7IgfnzjcRcaXM0 etDeSziyFvSLleEA3czzFsV9tmJFllcFii+Nnbo2pdY6pXm9h/nmPaJieeOcxq+N/85P6 dOTJ0oiOSXtSwPRFAAAOfij62jtSXvauAqzXkmbd0mxBAbCzeFE5fEEk+bVsMB2KD7A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Rk08dtVx; arc=none smtp.remote-ip=209.85.210.181 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (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 DAEB4606A332 for ; Fri, 13 Nov 2026 06:52:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DAEB4606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Rk08dtVx Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-8b8ecfa886bso848618b3a.0 for ; Thu, 12 Nov 2026 22:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1794552778; x=1795157578; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=VIJHAgcH0kNWNFXAVV2FGeNxRIHtnxTUPfAN1k4v8u4=; b=Rk08dtVx4lCFtpfuuUl022D9CDEsg7463Ro0IujuUYYx0m+kLT1CYmxAom5uSHr29v dCBzY40erU72AEmYZjsChyYPPs9v7+tzmoAscD0rqe2YEWRz86PFXu2a1f8LmQwOqHFa UoIHRK+mPc1SdThfCKBSOALw9CLE1bno63yygSz71zhk2CJ8g1SYBdPSGMHqt5I3wyea eKG2DAo6NYR04C8ur/j4D+iVHaWqNUaPLz+88sNWa2ApY7UOx0jLt6ZLE1dfv2TLdRR8 z7WVn+eNOcdA3JPfUEd3thgmGJRy2aJqlORvzl1yPryjxW/L8GnFovsQn6DURi68aaiV mzqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794552778; x=1795157578; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=VIJHAgcH0kNWNFXAVV2FGeNxRIHtnxTUPfAN1k4v8u4=; b=jnvqTGZ0oRE7tS4C/ubb1JJDuSYPXa/ESen/J2ja2llK3/Xz1uKlTC7ZWsdseMSL29 Qfw3jMMhjkKx6zwTyIB+nAi0Tdv0S5zX6lOWiuI9BQLDvzFsz/QPBGFlnegStcBTJBEV sTYUvnn8jRZ5EgsoF1ar4MVMoUkc4i8t8skaEOSmZCdXL+YkOrT+HyhZbk3HHUiegiZy EaeTYhy9kn08+SLr2OcYyEGywJDZF1p2yphF+iex9gT7Ta6zyQs21S3Lk7jQ6sQRsz1E OsqGKq8c+kPy2OVkO4A9Q2uja0AoS8YJotTqhs1d/8uCqHRbZQHUb2fqPg1S+PLfu1tu 8W+Q== X-Forwarded-Encrypted: i=1; AL+hErEdD4nW6BC/xD0nN6/mBqXv54ER7x4xeKLLSZevcCkZqyjq7FVHp7UlJCvSfsYoxKOuonfDZ2W7mwyGSTw=@vger.kernel.org X-Gm-Message-State: APuU4Z+HLtNgU05cuzfDlnfw2ENBaISbq5W8DrYb34NLNKMlaLjGH3z8 IeE12XeXOjhWW5t1gWT00Y9P/bOmt8NPlDfRqjpf18lXAvp7HY6MOAYp X-Gm-Gg: AYBFou1G1xblAxZMH4Pfm2UhviWsAk9q8FM95TESdWgAuxf05H3+ybFZg9opJj1Drgo +uzGjqh8magzIWF3IrQC9/vnmfenA03oL7QKfSiWyHG1/8eDgNxlz6uE4wzZLMazTFsAPbIVRjE gdWjRspAm8k3WZxyAXpdWylusgOqDRn9YGtBUKhTz88pwRfSrKIkOLIOXqypQUzcQZxv/TnZ1eM RcYTEKzM/uLuXhV977SaS/bvia+I4acazVT+XXIvUZKmyG69ngap+/UZIqE66Qzo5rf1eeGwXD9 QYWgY9zuJp8iWWAkV8SKKbsj/XL/ayTtqMDAq10TK5gjaaNpOnbst/Qx51rYVGTndSkb5MzWLXs y0cC7INSETZE+PcyeqqcYLxsRUC0pgvvmZ9ZMieggw4Ix+qm7hajSdnzEOP2ezld40KKKoaFEVE 2pvfYxDx7tLeK51dPpjxMdvO/NCdyeR8e4/kXOhYN+CirmIn56FlQeZCETsnsbYLM77SKq515Q8 pcxIvwr3zil53eNzQvX+dYi1ClDAA1AxMkrhh7CA9COy/RKQD/GIAD0Omx2q/RPyFPIUHRPbJsK s5eTGkv/LCk1AHr390D8 X-Received: by 2002:a17:90b:5910:b0:3ae:3b3d:c617 with SMTP id 98e67ed59e1d1-3b1b0cc8f69mr806113a91.29.1794552777743; Thu, 12 Nov 2026 22:52:57 -0800 (PST) Received: from a1-free ([161.33.196.121]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b1b3d279d8sm869257a91.2.2026.11.12.22.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2026 22:52:57 -0800 (PST) From: TAKANO Mitsuhiro To: linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Namhyung Kim Cc: James Clark , Ian Rogers , John Garry , Ilkka Koskinen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, TAKANO Mitsuhiro Subject: [PATCH v2] perf vendor events arm64 AmpereOneX: Fix misspelled PublicDescription keys Date: Fri, 13 Nov 2026 06:52:53 +0000 Message-ID: <20261113065253.746615-1-takano32@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261108183846.3804875-1-takano32@gmail.com> References: <20261108183846.3804875-1-takano32@gmail.com> 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 Content-Transfer-Encoding: 8bit Sixteen of the 28 entries in mmu.json spell PublicDescription as "PublicDescrition"; the other 12 spell it correctly. jevents.py reads only the keys it asks for by name, so those 16 fields are dead. Fixing them does not change the perf list output: every one of the 16 entries has a BriefDescription with the same text, and jevents.py drops the long description when it equals the brief one (jevents.py:405). Running jevents.py for arm64 before and after this change gives a byte-identical generated string table (1580383 bytes both times). The file becomes self-consistent again, and the field works if the brief text is ever changed on its own. No text, name, code or expression changes. Written with Hermes Agent, an LLM assistant; the author reviewed it and ran the generator as described. perf was built, not run against hardware. Signed-off-by: TAKANO Mitsuhiro --- v2: rebased on 7.4-rc2. The arm64 string table generated with jevents.py is byte identical before and after the change (1580383 bytes), measured again on this base. .../arch/arm64/ampere/ampereonex/mmu.json | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/mmu.json b/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/mmu.json index 66d83b680651..9457f9be4ecc 100644 --- a/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/mmu.json +++ b/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/mmu.json @@ -30,37 +30,37 @@ "BriefDescription": "Data TLB translation cache hit on S2L2 walk cache entry" }, { - "PublicDescrition": "Data TLB translation cache hit on S2L1 walk cache entry", + "PublicDescription": "Data TLB translation cache hit on S2L1 walk cache entry", "EventCode": "0xd805", "EventName": "MMU_D_TRANS_CACHE_HIT_S2L1_WALK", "BriefDescription": "Data TLB translation cache hit on S2L1 walk cache entry" }, { - "PublicDescrition": "Data TLB translation cache hit on S2L0 walk cache entry", + "PublicDescription": "Data TLB translation cache hit on S2L0 walk cache entry", "EventCode": "0xd806", "EventName": "MMU_D_TRANS_CACHE_HIT_S2L0_WALK", "BriefDescription": "Data TLB translation cache hit on S2L0 walk cache entry" }, { - "PublicDescrition": "Data-side S1 page walk cache lookup", + "PublicDescription": "Data-side S1 page walk cache lookup", "EventCode": "0xd807", "EventName": "MMU_D_S1_WALK_CACHE_LOOKUP", "BriefDescription": "Data-side S1 page walk cache lookup" }, { - "PublicDescrition": "Data-side S1 page walk cache refill", + "PublicDescription": "Data-side S1 page walk cache refill", "EventCode": "0xd808", "EventName": "MMU_D_S1_WALK_CACHE_REFILL", "BriefDescription": "Data-side S1 page walk cache refill" }, { - "PublicDescrition": "Data-side S2 page walk cache lookup", + "PublicDescription": "Data-side S2 page walk cache lookup", "EventCode": "0xd809", "EventName": "MMU_D_S2_WALK_CACHE_LOOKUP", "BriefDescription": "Data-side S2 page walk cache lookup" }, { - "PublicDescrition": "Data-side S2 page walk cache refill", + "PublicDescription": "Data-side S2 page walk cache refill", "EventCode": "0xd80a", "EventName": "MMU_D_S2_WALK_CACHE_REFILL", "BriefDescription": "Data-side S2 page walk cache refill" @@ -90,61 +90,61 @@ "BriefDescription": "Level 2 instruction translation buffer allocation" }, { - "PublicDescrition": "Instruction TLB translation cache hit on S1L2 walk cache entry", + "PublicDescription": "Instruction TLB translation cache hit on S1L2 walk cache entry", "EventCode": "0xd901", "EventName": "MMU_I_TRANS_CACHE_HIT_S1L2_WALK", "BriefDescription": "Instruction TLB translation cache hit on S1L2 walk cache entry" }, { - "PublicDescrition": "Instruction TLB translation cache hit on S1L1 walk cache entry", + "PublicDescription": "Instruction TLB translation cache hit on S1L1 walk cache entry", "EventCode": "0xd902", "EventName": "MMU_I_TRANS_CACHE_HIT_S1L1_WALK", "BriefDescription": "Instruction TLB translation cache hit on S1L1 walk cache entry" }, { - "PublicDescrition": "Instruction TLB translation cache hit on S1L0 walk cache entry", + "PublicDescription": "Instruction TLB translation cache hit on S1L0 walk cache entry", "EventCode": "0xd903", "EventName": "MMU_I_TRANS_CACHE_HIT_S1L0_WALK", "BriefDescription": "Instruction TLB translation cache hit on S1L0 walk cache entry" }, { - "PublicDescrition": "Instruction TLB translation cache hit on S2L2 walk cache entry", + "PublicDescription": "Instruction TLB translation cache hit on S2L2 walk cache entry", "EventCode": "0xd904", "EventName": "MMU_I_TRANS_CACHE_HIT_S2L2_WALK", "BriefDescription": "Instruction TLB translation cache hit on S2L2 walk cache entry" }, { - "PublicDescrition": "Instruction TLB translation cache hit on S2L1 walk cache entry", + "PublicDescription": "Instruction TLB translation cache hit on S2L1 walk cache entry", "EventCode": "0xd905", "EventName": "MMU_I_TRANS_CACHE_HIT_S2L1_WALK", "BriefDescription": "Instruction TLB translation cache hit on S2L1 walk cache entry" }, { - "PublicDescrition": "Instruction TLB translation cache hit on S2L0 walk cache entry", + "PublicDescription": "Instruction TLB translation cache hit on S2L0 walk cache entry", "EventCode": "0xd906", "EventName": "MMU_I_TRANS_CACHE_HIT_S2L0_WALK", "BriefDescription": "Instruction TLB translation cache hit on S2L0 walk cache entry" }, { - "PublicDescrition": "Instruction-side S1 page walk cache lookup", + "PublicDescription": "Instruction-side S1 page walk cache lookup", "EventCode": "0xd907", "EventName": "MMU_I_S1_WALK_CACHE_LOOKUP", "BriefDescription": "Instruction-side S1 page walk cache lookup" }, { - "PublicDescrition": "Instruction-side S1 page walk cache refill", + "PublicDescription": "Instruction-side S1 page walk cache refill", "EventCode": "0xd908", "EventName": "MMU_I_S1_WALK_CACHE_REFILL", "BriefDescription": "Instruction-side S1 page walk cache refill" }, { - "PublicDescrition": "Instruction-side S2 page walk cache lookup", + "PublicDescription": "Instruction-side S2 page walk cache lookup", "EventCode": "0xd909", "EventName": "MMU_I_S2_WALK_CACHE_LOOKUP", "BriefDescription": "Instruction-side S2 page walk cache lookup" }, { - "PublicDescrition": "Instruction-side S2 page walk cache refill", + "PublicDescription": "Instruction-side S2 page walk cache refill", "EventCode": "0xd90a", "EventName": "MMU_I_S2_WALK_CACHE_REFILL", "BriefDescription": "Instruction-side S2 page walk cache refill" base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb -- 2.53.0