Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6721295rdb; Fri, 15 Dec 2023 06:46:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEimCdgJCphMav96efVosXGiOQv+9GkGb/7b34OeQJi1bnLhps9XEJ7ASWgI4lOxImjEXeP X-Received: by 2002:a05:6358:7241:b0:16e:1e6b:96b8 with SMTP id i1-20020a056358724100b0016e1e6b96b8mr15938429rwa.3.1702651571641; Fri, 15 Dec 2023 06:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702651571; cv=none; d=google.com; s=arc-20160816; b=Ib7+jMJmwIPF6DVwaq3Fpdb25ZJEP1q2bEnbu6FvKUaFYBJmgZ4tkh5vQmNMpiEnF8 jfFVOoFbOWRmfbUrK9dC/kVvKR+8xVTyM+M4GHolBJyErx86E78Mx0tZaGPfpcxwyvfo 6Tg3DdY5lrhktgGDyxp4uqJno85lndV8BHpQxgdPDB9Jjs68cZMyIyxMGo+4MjdTGRpr fvnvgmLvQGfyWStsKQ69lN3fpesxbGjXLRqMyq89jdMzyFh8aWP8PU3FeaTgEro2k8th 31qlqbJU+u6tULXco4yDEF+cT7T9SFGQPtt6ACRtO3TanIqVGZWprTtuU8U8UcWYffve 0qRQ== 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=OOPuA4DyjegLAyhqXjv9R4BKesPd7Ck+2F9caNjKqAg=; fh=oQlAD3iBJXRZSC6NNbraFpPqu8oqD8GVj2NfqDMniu4=; b=rXCVuUhV9tV4y09OceFCdjA7CgJi0xNCAmjynv6kfF2eqe3Ltmt+4XgLJ+TkrGnNVr fQVU5TGW3U6Ib++Jo2d/Fsq/8kQKWvr5O7TMghy5030GV97v3XC5K6QDDLQOLo6tyjl/ X9IO25R6ZnLU9XKmjLeIm64JbZcwXu1VLWMM4LmDWPifGBCTqdOX2KhHBOi3muABqRVn uytdH1p7NUEB6F8AMfKXFesuLQqKoxLFBHtIjISA6onNBx6ymnFxcKtzHQNv7vO1n+Dv kA/lCTVmo8rwPuC9KWXIWIjfBHxPrkB3xWhqAZkbTjU9WdwoxjpFIA844oPIm75Bzj7C etUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NnRoYV0G; spf=pass (google.com: domain of linux-kernel+bounces-1128-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1128-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a4-20020a0cca84000000b0067ad2ad4dcdsi4079191qvk.183.2023.12.15.06.46.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:46:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1128-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NnRoYV0G; spf=pass (google.com: domain of linux-kernel+bounces-1128-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1128-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 626051C227A2 for ; Fri, 15 Dec 2023 14:46:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05BAF31743; Fri, 15 Dec 2023 14:46:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NnRoYV0G" 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 367BD1E52D for ; Fri, 15 Dec 2023 14:46:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74F79C433C7; Fri, 15 Dec 2023 14:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702651565; bh=jzFDNJuLJ6cwKQpJEqNkqbBl62KO2NbbGtnvRVADlZY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NnRoYV0GsxYWyoEIY20WQJJidmceglphxlMhQ3EjEzFb8hP+8jCFMKvLOz2+djyJ1 GZJPl0RT0rkGMHyXkNoaeI0nsPc/Dg9kTKYrn43OkKwVJp/2AiuQoBRayqNZHHwFO5 4z2y1VJ1h5ktdmFcu3zW34W12H3UysqzkIPoTY0bVyF2j4A4zMdZMbI6xtZiZ3jZDR /kdibaVCfBfAJG6SOKlzZKA2W7L1ot6/0jFqtmDUnnTmPWFECzgdp0ADylIcz2MNY0 EIasHAt3t/Yxar14og65MzqyVlxZNwN9EfBZ2RGnh3SzGHPsfpmgayljpaqMZvlpOZ 9bGNm95aBVwIw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id B7AA3403EF; Fri, 15 Dec 2023 11:46:02 -0300 (-03) Date: Fri, 15 Dec 2023 11:46:02 -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: perf tools arch Arm CMN PMU JSON files build breakage on ubuntu 18.04 cross build Message-ID: References: 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: X-Url: http://acmel.wordpress.com Em Fri, Dec 15, 2023 at 11:41:19AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Dec 15, 2023 at 11:39:14AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Mar 27, 2023 at 09:52:11AM +0530, kajoljain escreveu: > > > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 55090: ordinal not in range(128) > > > > CC /tmp/build/perf/tests/expr.o > > > > pmu-events/Build:35: recipe for target '/tmp/build/perf/pmu-events/pmu-events.c' failed > > > > make[3]: *** [/tmp/build/perf/pmu-events/pmu-events.c] Error 1 > > > > make[3]: *** Deleting file '/tmp/build/perf/pmu-events/pmu-events.c' > > > > Makefile.perf:679: recipe for target '/tmp/build/perf/pmu-events/pmu-events-in.o' failed > > > > make[2]: *** [/tmp/build/perf/pmu-events/pmu-events-in.o] Error 2 > > > > make[2]: *** Waiting for unfinished jobs.... > > > > > > Now jevents is an opt-out feature so I'm noticing these problems. > > > > > Thanks for raising it. I will check this issue. > > > > Now I'm seeing this on: > > Jing, > > Please take a look at: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d9df8731c0941f3add30f96745a62586a0c9d52 > > For the fix for the ppc case above. Its the only .json file with that issue: ⬢[acme@toolbox perf-tools-next]$ 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 ⬢[acme@toolbox perf-tools-next]$ - Arnaldo