Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7808710rwl; Thu, 23 Mar 2023 08:56:33 -0700 (PDT) X-Google-Smtp-Source: AK7set85Aecn5daaGq5buvOg4qArjO1IFpWdTcykAch3+Z3eqjm56AlavWRfdSAU+w6pMOOlk9tV X-Received: by 2002:a17:90b:4c02:b0:23f:b609:e704 with SMTP id na2-20020a17090b4c0200b0023fb609e704mr8736059pjb.1.1679586993196; Thu, 23 Mar 2023 08:56:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679586993; cv=none; d=google.com; s=arc-20160816; b=q6CpHjtbOqOThbTu2if2fhe6F1/B4sQz8gd22CQd4XKTpXkRvszVHGj/KaXuLUqnBW 0gMVQA9ueBro/saThUXrVXnMWEe7FKy9RVWKKagj+kD8yxizn5haF7fehFLl42wdEZXD puYoRbFWrLDTspJPURy/anWWRx1ny8CgLLObUPAX7a/b4dsiGl//q/hb29JMPSHjne/4 I64aRKhGicA0BvL1zHDa2KvxHTctwCuBIe3PQFgR12oaDrF9dtUQJybf+v8RdL5kHPdf 98NvLlO6pdXCzm0gAm4+bCGBcw4JDRfPs9MMelB09qZpaQIha5qZOnpz0j7i15Yx14Db mucQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rfdI9P0w7BsEhZbIeZstC1SbyLByst3A6MZbU2P/PdA=; b=mVykS6Bk53RQzXRrbJzTK6PDlTImTc32iYpRgoJqeSfUBsFDSJYsRwnhtLkb5PXt2i d2DMJRjd1YmCWFxLN2AsHM7Q7RLtpzLp3CtkJuCEe+k0dJ/OAwvkvpumVC2mxenmIwB3 H6mE38Zi8uIFTekhjutgESYj47McJBqiVez7pwJ5U5KlPW22Ivs0r1CjzkyL2HNE93zS /HySdEw+wZa5GZvhotGwJtY/0aLWfCCcmYXKeGZPIG4OCIHp44k2V0xp27xadYdapPp1 beWLV9/E45tGMVV236iHCXRjWlqvnG6XMNnK4NLj45ai+V8M/kEoCeOTsCyV46KMaA6Q +tLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=M0KLrypF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b6-20020a170902b60600b001a064dd351fsi18510321pls.205.2023.03.23.08.56.20; Thu, 23 Mar 2023 08:56:33 -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=@google.com header.s=20210112 header.b=M0KLrypF; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231912AbjCWPun (ORCPT + 99 others); Thu, 23 Mar 2023 11:50:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231860AbjCWPum (ORCPT ); Thu, 23 Mar 2023 11:50:42 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03F65270B for ; Thu, 23 Mar 2023 08:50:41 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3ed5cf9a455so63345e9.1 for ; Thu, 23 Mar 2023 08:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679586639; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rfdI9P0w7BsEhZbIeZstC1SbyLByst3A6MZbU2P/PdA=; b=M0KLrypF9Eqf0Vzzw6TFab+9iQ+Ncl3B1z5cS2TruXPxfCRAnMc0Bsyt6FHXYX487C /ZAHiVD9ttbXsMKvR8J8QO8Rlp/b8weR3Sfwy+CkAzHvD5ESJhDusVkFb2Aa9+8jnhrt oY70G84O0h76FWyD3sMKsl7+coFfitqmLBdzEXnBXrNmcRoJOuByY6N/nb/29jm/j7et wtvFCsH01qVhPpDKApQfrzth8TWB/JdQnrLtlMWHUSLbEexnIoyZXD5ZTNlUT8eeQWbW 6o6eimueCK1hZDEPHib4b11pg2Uw8U4LgLGoafXcwqHgBrJ16SWu5L+VTVQCfqcSczsD FL6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679586639; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rfdI9P0w7BsEhZbIeZstC1SbyLByst3A6MZbU2P/PdA=; b=plbu8LCGrx/Kq4tW8RKFkFQoePEKfbgolcQR+nIdAeycl4SZDcLumHHw6LNpeH49xO RRU0vGE0ofge/IK3/o7pAUAuxxse7dsxShME99CMBaXF4D8FlZ9IhvPCc3LkrazHOaoo 1kP1SETSGfEsw+cYQg5UVMW6eH+zchjnGL0MZMHd3MEdJz2DxdYHD1BRe8eU3ONZ0I5K oUZuufjHhMU1RXGbPmUket2/9aFFTphvLsTn89ra0I0A/8HqP0kuAHA9AZMPXteJoIJ0 nSysHfW7SqYHLLYdL8yBlFeU1YG3tOwV19hjgFIwXsdwH1HGq+N4F4LTU/mIB+s9B1ve iecQ== X-Gm-Message-State: AO0yUKUWe36FwedUYHuBA+6gXoujblrcxprVlCImeJL9lHr5fAPBCbm+ N3X1TIoon7gygnR8jZe2CITn/Y6eYqgQsVm1HbsAReyqCPqkLBsIjp0= X-Received: by 2002:a05:600c:4fc2:b0:3ee:113f:4fd9 with SMTP id o2-20020a05600c4fc200b003ee113f4fd9mr209617wmq.1.1679586639380; Thu, 23 Mar 2023 08:50:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ian Rogers Date: Thu, 23 Mar 2023 08:50:27 -0700 Message-ID: Subject: Re: perf tools power9 JSON files build breakage on ubuntu 18.04 cross build To: Arnaldo Carvalho de Melo Cc: Sukadev Bhattiprolu , linuxppc-dev@lists.ozlabs.org, Adrian Hunter , Jiri Olsa , Namhyung Kim , Thomas Richter , Heiko Carstens , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-15.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 On Thu, Mar 23, 2023 at 6:11=E2=80=AFAM Arnaldo Carvalho de Melo wrote: > > 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 =3D json.load(open(path), object_hook=3DJsonEvent) > 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 5509= 0: 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-ev= ents.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-even= ts-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: The JEVENTS_ARCH=3Dall make option builds the s390 files even on x86. I'm confused as to why that's been working before these fixes. Thanks, Ian > https://lore.kernel.org/r/20230323122532.2305847-1-tmricht@linux.ibm.com > https://lore.kernel.org/r/ZBwkl77/I31AQk12@osiris > -- > > - Arnaldo