Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp353667imn; Wed, 27 Jul 2022 08:04:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vCUMxvtEgG2pnb7CeukA1q4QLrepwj8CBjMyIgLI3CrNtFqHVjaKUxGulBV+FMnZIFa7OK X-Received: by 2002:a05:6808:11cd:b0:33a:f0c7:fa08 with SMTP id p13-20020a05680811cd00b0033af0c7fa08mr2099747oiv.52.1658934272714; Wed, 27 Jul 2022 08:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658934272; cv=none; d=google.com; s=arc-20160816; b=MjKmWkceddn3lEyxHZsupWWT7CTjAGIj4Az52COuLzohzwFlaz8MlYsLveBShtysDZ E6+9erbBw7clsoXT6alOdXO3FWv8BVOGfgbWL7JnYBHASolyMB3/Sb3taeiOgIgVg6+f BqXXygVmjSlWA1uRUzDLrvmosskB1yFbipcw3tbiGogV/8KhSoVdrpT3z2bytxZyvY5+ XLbGJIqPAgtfqqZ2zBmoFBNhk8RGc2aWQyZu1nobE8HzWYYwuTUKuBUq00C2/vWS0LUV CXPAsZuLcJEmWvVnIuPGSPip5iicrhF285PM1PSoTMQgZBADO16KkL1ZFEy02YjLnvl8 df6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HlFl4TB+ozKKXomSw+QhNP8jLuIDommpFYIfVxfLtCc=; b=LsxJw3uwwmqgzvaFr/cykBkJlioNVCtAYVa+KXAARzmHQBZeCkSbYwJ0rPpZEjTFH1 Pzhws0FhfvEXYqcBtyCU8XSiCFnqtx7zN9WwmnjF8OZBU4F3DlClFttqYyxjc/xL0Rmm mD8V/YM5lFTbhRKh9+1M1ixOxlaXbfqaeEsoSd3lmtBrodV6UkEVJmvLF5oBT8KsabvN bgZO+ihIOquPz1hqsVgaW9UjARndDaOz+e3Hae1yNskKWkQd+ECwllc4FjfqTa3aFRMF Rls/ePgReyew3M83/FipUV6y8t1+90I8vitfP7Q1Y3XDqGqbeiRvh9tokFPcldZIzH6X PtCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=rUfK2qdg; 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 bp6-20020a056808238600b0033a61ea4699si17109570oib.3.2022.07.27.08.04.13; Wed, 27 Jul 2022 08:04:32 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=rUfK2qdg; 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 S233272AbiG0OOz (ORCPT + 99 others); Wed, 27 Jul 2022 10:14:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232458AbiG0OOx (ORCPT ); Wed, 27 Jul 2022 10:14:53 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E3213CBE5 for ; Wed, 27 Jul 2022 07:14:50 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id h8so24437093wrw.1 for ; Wed, 27 Jul 2022 07:14:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=HlFl4TB+ozKKXomSw+QhNP8jLuIDommpFYIfVxfLtCc=; b=rUfK2qdgZHqlVpoXX0nP91/R5TMDc8m05GlXIZ8h+UpC6YIYJWJR18mAsjE0pFzdhW J0h+m/HvNlcDWeW2Xeu1hcmxVT2yFGAlR0gaAk8q8FWN2lzsaugcNNKUqTVhpHjofa4u GcOAGYDcZcjciNv38yQ2mUiAAobxQbQUnlOwsciaFq/ysk38Il8TKHLOo93MQ0gTchX8 Rxb0OVDt+5yixxinOqNdDfdLyCDMrsUq0dPHuCFdlwSbqtgolYBff41g+xROdziLLUrO fbbwULZU5Dr8QAAdKZQ6Uaj+PuUyEqc2Di70BCEwF0bh+Hr3+hVqOizB4H661FTy2Br2 BOAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=HlFl4TB+ozKKXomSw+QhNP8jLuIDommpFYIfVxfLtCc=; b=Rkk3pXktRCpPVHMvRUFbLrR5cyc4BLnfUpmfhsoDqQ6Oc/PrqJerRcKwKPJVlohWog FEDgHr6YkecoOnM8ebQthYp+hYiW1yUvU0dtf2iZlbhqrSMY5arrtvHVTFVVkYxfLtQn RwGaIgFDQ/rBuklKrehwhE1N3sQ/9SDEq/PyHP0ogLYKLXqI0EwwUi2FfRL2If7PbDhA HRYfRBzMTVFr1K5+CQ8Hhw9+lOEJ33n4bfXpbanz9jNrFMSWqf6k59M6x88IJVIFd+er e0x2OJT6wr4YpLlEP2NOlsxk4WJFGOooLMwRqetGFo/1S5y68bfrjtCNLqTd5/mdNK9L qmBw== X-Gm-Message-State: AJIora9OnQfKWS0K2zqUuiIJ9UGok9xO9SsqyutIMwzdbyllYjXQAPGa fXHikqC5BDoZbvZCK0ge7n6qqQ== X-Received: by 2002:adf:d4c2:0:b0:21e:ddf3:8b14 with SMTP id w2-20020adfd4c2000000b0021eddf38b14mr1589672wrk.355.1658931289199; Wed, 27 Jul 2022 07:14:49 -0700 (PDT) Received: from localhost.localdomain (210.145.15.109.rev.sfr.net. [109.15.145.210]) by smtp.googlemail.com with ESMTPSA id o20-20020a05600c339400b0039c54bb28f2sm2489524wmp.36.2022.07.27.07.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 07:14:48 -0700 (PDT) From: Amjad Ouled-Ameur To: jan.kiszka@siemens.com Cc: linux-kernel@vger.kernel.org, narmstrong@baylibre.com, kbingham@kernel.org, Amjad Ouled-Ameur Subject: [PATCH 1/3] scripts/gdb: timerlist: use range instead of xrange Date: Wed, 27 Jul 2022 16:14:41 +0200 Message-Id: <20220727141443.133094-2-aouledameur@baylibre.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220727141443.133094-1-aouledameur@baylibre.com> References: <20220727141443.133094-1-aouledameur@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 xrange has been renamed to range in Python 3. Therefore, timerlist currently fails with NameError exception: Python Exception name 'xrange' is not defined. Use range instead of xrange. Signed-off-by: Amjad Ouled-Ameur --- scripts/gdb/linux/timerlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gdb/linux/timerlist.py b/scripts/gdb/linux/timerlist.py index 071d0dd5a634..fac951236dc4 100644 --- a/scripts/gdb/linux/timerlist.py +++ b/scripts/gdb/linux/timerlist.py @@ -73,7 +73,7 @@ def print_cpu(hrtimer_bases, cpu, max_clock_bases): ts = cpus.per_cpu(tick_sched_ptr, cpu) text = "cpu: {}\n".format(cpu) - for i in xrange(max_clock_bases): + for i in range(max_clock_bases): text += " clock {}:\n".format(i) text += print_base(cpu_base['clock_base'][i]) -- 2.37.1