Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp39804rdh; Wed, 20 Dec 2023 22:04:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHR7w9DVCMrqjOliFiX2RoLafkQsVbsNiFx88MDRGYTZlsYHc19ewcUcZRT8EfqDldR/1SJ X-Received: by 2002:a05:6214:2264:b0:67a:568e:5b10 with SMTP id gs4-20020a056214226400b0067a568e5b10mr268998qvb.20.1703138653811; Wed, 20 Dec 2023 22:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703138653; cv=none; d=google.com; s=arc-20160816; b=QYG1W2o0r3BiWS0zQHNPEinZkzfHACm5zyB33Hf0nEib10O4cDRwtTrvJAZrVgScfm RlsVOqNQJXi695RfoM8FLFOX7rCsLtm8HkS9pxp++4zM7Wfuj2SBV2ZX1C+mKKCj8Ckf ArtzBU/V6WK9Y9fA1gIkQVOIUZBr7cAgPiqZj51kHYROuP4lcFEYABaDnCCNYz+C1We2 RSwDF7IpL3JA8FsD5xlcNONWYRQuad8XyhoNZchBE8gx1LFi7EUB+tDGnR5FNElGsX06 GnArxY8Pdhyo57tl7Cn413uQ7VupijVbTercfsypyI+bNVv/NdtC5exQfV2YapT8Asen OalA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=aclkFz/cQanDb+R/BrEhodZXFCk7q3dm7rkI4/33K7I=; fh=IMHAtz+m6S1YJNoc0h9lzQWBZ/yLmPbcYOv+uvF11mY=; b=O/jnLLIBAZGWpy8c5FKoKCzqZUAjoNEbGjGb7KvcxpxupW9dPP/MyST1bLyQKg//aH Y6d2GF5gFmWyFBjrJXCsDVaZB4UnQ24MTsXH6H6yp88NSycwHYfsVm6xBaAbnxXyj+f8 qyzgS1P7KCGZ3gDRysNbe3k6BKoNAKLxfL1yvm1KtUxCJchwC7X2Z1FvnZdnJ2D5nta1 Bg7qXUVUDNaNYomCnevUHujnfhNGB31MhJKFf1IfyuGpE2LgwpkGv20PpOpPIZkuKaDU Sa2SodTagY+vfNnzjKKg3wLSzEPCo6v79ghxX6bXcd/fXnRBKwPg+qT2oSwoK0luaGSH KPqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qs15-20020a05620a394f00b0078122171abasi154224qkn.357.2023.12.20.22.04.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 22:04:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7878-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8FE6E1C22488 for ; Thu, 21 Dec 2023 06:04:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E88E1B647; Thu, 21 Dec 2023 06:04:07 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) (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 16BA46FB9 for ; Thu, 21 Dec 2023 06:04:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R301e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=renyu.zj@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0VywbA6j_1703138595; Received: from srmbuffer011165236051.sqa.net(mailfrom:renyu.zj@linux.alibaba.com fp:SMTPD_---0VywbA6j_1703138595) by smtp.aliyun-inc.com; Thu, 21 Dec 2023 14:03:55 +0800 From: Jing Zhang To: Arnaldo Carvalho de Melo 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: [PATCH] perf vendor events: Remove UTF-8 characters from cmn.json Date: Thu, 21 Dec 2023 14:03:13 +0800 Message-Id: <1703138593-50486-1-git-send-email-renyu.zj@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 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-Transfer-Encoding: 8bit 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 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