Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp821696imn; Tue, 26 Jul 2022 10:10:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tlP+udp4sUwT0KOf8vNpD1holztSZujYaJcrk+Sg02R58aoP0NsPoG08kPCf/F9wuVskxe X-Received: by 2002:ac8:7d4e:0:b0:31f:33db:69bc with SMTP id h14-20020ac87d4e000000b0031f33db69bcmr11660159qtb.482.1658855450105; Tue, 26 Jul 2022 10:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658855450; cv=none; d=google.com; s=arc-20160816; b=GS+N86uSQ4Ij3A+oYMN+93KcQ0/rabWEDjUd5Q43tPQmLZhKoC/SYnytM1gH/581rO ta+0ky8pn2c6Fbf4VixHU6kmXgDQle/VPy/O5D36wjnW+YLKEoX0fuN+WZocyCydwB1/ r33b2NrTIGaxzIYOKR0ibOkxNEpjUIMw75e2eIW8k/Q+K5Bup1hj3RaT/VQrcspYzUii Hxn05LxxP04erLrIoD+Zp9FraSxj17Ra3xqv3uV3+AcB/tGo9xQ7Df+FcJsKz3BdPtKd /ENAsHAftLK6RX8+kOVnVjVuWtYJahkpXHtvX90mSHFxb31yKGWluyhNUGDvYG+O0TlW RJwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=NI6yWHtpqaqV6N9zf15hGVC4lywK5v9X+zT0pxAIPRk=; b=AwXPOlMALd8qawP/dzXldZFNbR+4E0ns6ewlodMw7g8jiJqwdG97KcV8YfW9t6s1we aVCkQl/91pSeIoeE2wwgy/3Div0GIpbCsYvNX8Hyz8JW+74qgx8bHaAJxsLCBdWo0CGc 1rwEu0NFTIbtCu0TX0Atiqzsr/8XZtpjb/+h7VnLe6uI/2yL0+msPKzjtlufv48PIHcO pbuL8C1FMj+ADKZd4GZp9eP6Waox/RPMSw6ApyuklQJ6mBI8g50xAOYS++/xc+ax7kuJ 8E2e+9kjyOf/5O+GorNMuTDFG4ETo2EaxGlYSC+UDz71DzY/vXw+ph/uMHYjE6g5WLXo uSvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020a0562141d2200b00474571fe70dsi2315904qvd.465.2022.07.26.10.10.33; Tue, 26 Jul 2022 10:10:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233328AbiGZQ5K (ORCPT + 99 others); Tue, 26 Jul 2022 12:57:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbiGZQ5J (ORCPT ); Tue, 26 Jul 2022 12:57:09 -0400 Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E37A2A71A; Tue, 26 Jul 2022 09:57:06 -0700 (PDT) Received: by mail-vs1-f53.google.com with SMTP id c3so14221739vsc.6; Tue, 26 Jul 2022 09:57:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NI6yWHtpqaqV6N9zf15hGVC4lywK5v9X+zT0pxAIPRk=; b=ztzxZoKp3dtcKGRWsV9nZ812625EgjJuQ1kKLB8WG457YHmne19Ogt7/sdTE0/olcz 6X0a9OhkKsjuFLuvGOGxsV3I9+6xUrHLGzEPl9TTYT7fgIIjgzmuG8flrpfUzGv4022b CSAGT0GHG+mt7KAs5PVLujYcOpapD7d5N+FLkmkW0blxdC5qzSli0R7OXjT+sxJnKtBm O3Irn9nSLZDQZsw7G610gKm7CgpL21bGXHR5Ct4pHYnmTDBdNoBdMbFzCImsGnnnVjWc Lxj3PfI8PgjGxp3W60hoCDW6//wa9jcK1kvJGpVxuETik+KmYec9GaYQ2Lj/iN3wEc9T xPdA== X-Gm-Message-State: AJIora8P7MeO/NNnqe5c42uB5+7YNOLlh1wf7xL16NBJsiP0gVFzWqLh Ij9y0g5T8u1PmxSDPGmfoijFbOVOQeJgqjYGuIE= X-Received: by 2002:a67:c886:0:b0:358:539d:e1a4 with SMTP id v6-20020a67c886000000b00358539de1a4mr3984652vsk.78.1658854625094; Tue, 26 Jul 2022 09:57:05 -0700 (PDT) MIME-Version: 1.0 References: <20220725104220.1106663-1-leo.yan@linaro.org> In-Reply-To: From: Alan Bartlett Date: Tue, 26 Jul 2022 17:56:49 +0100 Message-ID: Subject: Re: [PATCH] perf scripts python: Let script to be python2 compliant To: Arnaldo Carvalho de Melo Cc: Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Akemi Yagi , ElRepo , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Mon, 25 Jul 2022 at 16:51, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jul 25, 2022 at 06:42:20PM +0800, Leo Yan escreveu: > > The mainline kernel can be used for relative old distros, e.g. RHEL 7. > > The distro doesn't upgrade from python2 to python3, this causes the > > building error that the python script is not python2 compliant. > > > > To fix the building failure, this patch changes from the python f-string > > format to traditional string format. > > Thanks, applied. > > - Arnaldo Leo / Arnaldo, Applying the patch on top of -5.19-rc8 fixes the problem that we (the ELRepo Project) experienced when attempting to build on RHEL7. So -- Tested-by: Alan Bartlett Hopefully you will get it to Linus in time for -5.19 GA. Thanks, Alan.