Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp239147rdb; Thu, 21 Dec 2023 07:55:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDi/XM9GrD0fvA/19AOJG2Rf3zExaPSJtLT3nJd1k4n/e+lGcSyC66FbooiNatCO9OlL/x X-Received: by 2002:a17:906:5c1:b0:a26:89fc:1910 with SMTP id t1-20020a17090605c100b00a2689fc1910mr1909486ejt.134.1703174150714; Thu, 21 Dec 2023 07:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703174150; cv=none; d=google.com; s=arc-20160816; b=UfIeAUx4avNNQXShy4YsRbIFnr+0srT/B4GnJY3HdHHhj7jphYYYPe7pSSQ8LcAAZB gh/z78Ke3qi0NLXqE/Xhm+tvBFsOiJYciHXi6BxFci7u4mxsGCceVIB8CJVCI+iyme/C udbItICWdwWFZkqf1S975YILwspdv+2CBep4Dr++R0QJ9WhSuzKaBFUU9rHokMsXWbrK 5OeenlrGwkzTwU6mmPZMLJadT+UMACRPzHleg/pNya2B7X0g57ijUaLylMD4gE9pZhOX aWXh9cO5NeqsvhnQHIkc9tZXQebSZPt6p3TXAR5UAGOWao4lcoadlzwi3TV4L2Hf+7JC 03SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DatVAMGt9olP97W5oTnPCQbnbyGDI5PMyxKJp3q0BOo=; fh=oQlAD3iBJXRZSC6NNbraFpPqu8oqD8GVj2NfqDMniu4=; b=JfAU8/6jB/mIRHrXiF6d0BN1JKboo7E35tW/WPuuADvmtfEeU5hoGJnx6c4DIG2ZeD J7cKvNNli9mLoxi9zhxlbCT9+Z+SIU5Lm97O7lkK/DX3FL90eYUOt/ATLt5YKUBbH4am RLU5Mz5b/MPJFskm2HL9zsxlnf2+Cfq8wWrcQ8YPhq1eDzbaflBHbWkC0oJPeRhgGYQO K0pyPDliJi8URee7vq/II+4rlt7cblSl5x9H/mPE8eMD4TSzNq9gn5rbKyFb9bRkX/pW zfx7GoScmgRH5aT7JQJZQDAhbO3m0RKCkHxrHbXm7ZQFhyYDqjmlcghI7so5dJlpC/xB AvvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mnHjE07U; spf=pass (google.com: domain of linux-kernel+bounces-8716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 28-20020a170906101c00b00a1e1846d09fsi936025ejm.176.2023.12.21.07.55.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 07:55:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mnHjE07U; spf=pass (google.com: domain of linux-kernel+bounces-8716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 009131F22368 for ; Thu, 21 Dec 2023 15:55:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E8BA55E48; Thu, 21 Dec 2023 15:55:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mnHjE07U" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6AEF53A1D for ; Thu, 21 Dec 2023 15:55:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C32DC433C9; Thu, 21 Dec 2023 15:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703174140; bh=oYeU6vuYtU1xXqhDf4oLE8y9AeEh1sjx1Oz8lnC92vM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mnHjE07UhFwc1hEL4I5XEOg7CsoeSyJveoyJZMzxO2vop/iaZvDtejcVqxhqQ7qQG R1yDpgSBLVtz+Fz7Mgfzwzkn9qIEoGy0Xwrcj4qbRAgykP0v4dZxZ6lfk7lBlyOrzJ C/Swfws8TeaOWJ5qiOB6eHcB1/Cu3P8MFUs6VNr5d03x50BvM/wxY3Imj+UYfeAtiD FCKO9sN7DZq2EEpgHj015kRSdDB4PoIAbQw9Vb3pJJGoZobisBwGqDztuxhVqFfisG dY/7Vmj1h/dAARIi4V2oycBQ24VshUH8Q3josZz9l0A/Ef6BT+B0L2saEKBzHoA2nO Jf1XPqpG/Phiw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id B1233403EF; Thu, 21 Dec 2023 12:55:37 -0300 (-03) Date: Thu, 21 Dec 2023 12:55:37 -0300 From: Arnaldo Carvalho de Melo To: Jing Zhang Cc: kajoljain , Sukadev Bhattiprolu , Ian Rogers , Heiko Carstens , Thomas Richter , Adrian Hunter , Linux Kernel Mailing List , Jiri Olsa , Namhyung Kim , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] perf vendor events: Remove UTF-8 characters from cmn.json Message-ID: References: <1703138593-50486-1-git-send-email-renyu.zj@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1703138593-50486-1-git-send-email-renyu.zj@linux.alibaba.com> X-Url: http://acmel.wordpress.com Em Thu, Dec 21, 2023 at 02:03:13PM +0800, Jing Zhang escreveu: > cmn.json contains UTF-8 characters in brief description which > could break the perf build on some distros. > > Fix this issue by removing the UTF-8 characters from cmn.json. > > without the fix: > $find tools/perf/pmu-events/ -name "*.json" | xargs file -i | grep -v us-ascii > tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json: application/json; charset=utf-8 > > with the fix: > $file -i tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json > tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json: text/plain; charset=us-ascii Thanks, applied! - Arnaldo > Fixes: 0b4de7bdf46c5215 ("perf jevents: Add support for Arm CMN PMU aliasing") > Reported-by: Arnaldo Carvalho de Melo > Signed-off-by: Jing Zhang > --- > tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json b/tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json > index 428605c..5ec157c 100644 > --- a/tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json > +++ b/tools/perf/pmu-events/arch/arm64/arm/cmn/sys/cmn.json > @@ -107,7 +107,7 @@ > "EventName": "hnf_qos_hh_retry", > "EventidCode": "0xe", > "NodeType": "0x5", > - "BriefDescription": "Counts number of times a HighHigh priority request is protocolretried at the HN‑F.", > + "BriefDescription": "Counts number of times a HighHigh priority request is protocolretried at the HN-F.", > "Unit": "arm_cmn", > "Compat": "(434|436|43c|43a).*" > }, > -- > 1.8.3.1 > -- - Arnaldo