Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7612610rwl; Thu, 23 Mar 2023 06:41:59 -0700 (PDT) X-Google-Smtp-Source: AK7set+UHYqGe0rV52ZOENB3OkaWfmNUeVyk8ZZxiuQRDjG0lw37l4EZUKZ4gQ/MVEk2GIRtYKrI X-Received: by 2002:a17:906:2802:b0:878:7a0e:5730 with SMTP id r2-20020a170906280200b008787a0e5730mr9921197ejc.56.1679578919589; Thu, 23 Mar 2023 06:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679578919; cv=none; d=google.com; s=arc-20160816; b=dfXn14h21Y7LSe4rfWNHUExi0Qouj0Rwh00QlYyNCl+ze88d2luRddV8TY1bGh98LL UuyMpzS29nLEEjxmYkhEmVBOII7SrGjfj2YghGVQ8lNZRjP1NnzB1g7VTi7iYYY1K39p zaY1xXTv7N9uTPMEFVJSMj+d/JB4rtwYJfhPZ7yVAv7edBN63F19faCrtpm6rHcjsU3Y G/yTqOJvpWv6/NsPbzVkq0SNvVKTGx8b0VnJ7/fxnJSNogiVGiXuWaQ5Mk1l5aAavrUN uhJ3ImngfS2raibs+pf2YPNEeIeDfLmIto8ZloFBfookdHTAWZNkgYF017YA+nIb3u07 11oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=meWMUTBNVwaGAS5FQBjzxnzX1BbFE3ahwJ7EQ6YWpvs=; b=Xnf4Dwio7+lsZ89ne2DtKr/FCYvvSNH3oF2//7990VSciKTdinJNRSTA7Q7xy06fAZ rUZNyeWt/I61sL3qWFEqXZ1AftFpeGMd6VMi6VGvBBOzihd982vQSQD/uMGtey4v2Dd1 SBzqB2Ehaskjq6wKNX8kvZ31bKOwE8g/I0i7K4xLYSZ3MHW2Bwp6ncwkCBYnE2Xk7KNb cRKOPAAR76bJUjxfwn0Bgxlv1yXK5t+0synvJDGs9/2nAF8qU/bP6GhxbYTO/27siGz2 PbkI9mshKTDbVYl84p33N5Rm0YwIijXC/x3/TNJ0bhvHL+7N3WDmJ55Ap9tZes65Zsst qcqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rWLRPOUF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne12-20020a1709077b8c00b0093b38ae1025si4995390ejc.584.2023.03.23.06.41.36; Thu, 23 Mar 2023 06:41:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rWLRPOUF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231631AbjCWNLk (ORCPT + 99 others); Thu, 23 Mar 2023 09:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231635AbjCWNLW (ORCPT ); Thu, 23 Mar 2023 09:11:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC8B83803A for ; Thu, 23 Mar 2023 06:11:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 785E6626BB for ; Thu, 23 Mar 2023 13:11:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F7DCC433EF; Thu, 23 Mar 2023 13:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679577074; bh=/OLefhFZ4sSoFTXhUzU6IaDDgb/f3Tybtx2GNklSFZk=; h=Date:From:To:Cc:Subject:From; b=rWLRPOUFKadadg9y9Kg4aDNA6PX2eyrslleiTSZd8Rl5a+9bAFVMsuLgeDg9I8lSn nFVrfMFfHNMFzOtW6Dn0AF/FxudZs20bErVZ6Ya62L5K2rnkth6rcF5MohGU2rpGir 0RKcqhwRySwxc2LXv7JW4XvwrIAtctgmdKslZ7tGHSWIIirCJ2vzl7BgCpbw8yHeTF U9BgvtDM/EjFikFXXAuQ4qo4L39x7X9u+S7lE9zryn0NgG8SD2cPQAsvU+646ZyyI+ N/UrMv/RsDStFMphC+/DjFtaOZE+LYOQT4TEXBVxPDrguuF7vUPgNZwRS53wJGoLyf Pq+dE+zAL5RSw== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id F13B64052D; Thu, 23 Mar 2023 10:11:11 -0300 (-03) Date: Thu, 23 Mar 2023 10:11:11 -0300 From: Arnaldo Carvalho de Melo To: Sukadev Bhattiprolu Cc: linuxppc-dev@lists.ozlabs.org, Adrian Hunter , Ian Rogers , Jiri Olsa , Namhyung Kim , Thomas Richter , Heiko Carstens , Linux Kernel Mailing List Subject: perf tools power9 JSON files build breakage on ubuntu 18.04 cross build Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Exception processing pmu-events/arch/powerpc/power9/other.json Traceback (most recent call last): File "pmu-events/jevents.py", line 997, in main() File "pmu-events/jevents.py", line 979, in main ftw(arch_path, [], preprocess_one_file) File "pmu-events/jevents.py", line 935, in ftw ftw(item.path, parents + [item.name], action) File "pmu-events/jevents.py", line 933, in ftw action(parents, item) File "pmu-events/jevents.py", line 514, in preprocess_one_file for event in read_json_events(item.path, topic): File "pmu-events/jevents.py", line 388, in read_json_events events = json.load(open(path), object_hook=JsonEvent) File "/usr/lib/python3.6/json/__init__.py", line 296, in load return loads(fp.read(), File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] 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. A similar fix for s390 was accepted today: https://lore.kernel.org/r/20230323122532.2305847-1-tmricht@linux.ibm.com https://lore.kernel.org/r/ZBwkl77/I31AQk12@osiris -- - Arnaldo