Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5429094imw; Wed, 20 Jul 2022 05:43:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vg/IndwQn9jPk3McJ4Hznf9dwQHhhXkBkHWE2ElNljNunlnqBEX9eNbJEJO3DJNu2njKZ/ X-Received: by 2002:a17:902:da92:b0:16b:ecee:28a8 with SMTP id j18-20020a170902da9200b0016becee28a8mr39378621plx.71.1658321006891; Wed, 20 Jul 2022 05:43:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658321006; cv=pass; d=google.com; s=arc-20160816; b=QMIgT/tD1wZygWjbZRhlZKUPT9O8Fa+b2LfwTDby9iuhJB200qpX/cmLcWZ0NWMZvJ qBZFdbpk/1Lxr2xZ7qN2MG5V6Ft56/tH0wgf1BczseVZD8dBPLjjUFwqAzr6rcdxM+p5 YNDLk40nuF6QKDfcgvOm8AY22pPPorP/Dk606MKUrv+Oz7jjrboVV3bNjrBaBmfOs6vM 6jEwWmqcN+hfmP6bpd9ExJhmjNoRUsxxQREHmdxk0P/RzcLX4qJqdGrpxIINhEc10FpB bYPYILdz1y0qrDovfI5BM4qNE22B5f0uNWYuHfmca4PnONIYyEw9RaKTZtr9imr962e4 a/nQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=Zvc4oN4BJBsuapqiwdYnMUdaf4KhCHNMYoJrbsoLYLg=; b=kJX9W5sdfUiX38lt7eO+VxK3ctVIN3dmNM9HnMT8X1n6O/1aCO1J+QPYdn4uZieJVB g2NQ1caTdp+6KkfZM0jOdzEeteOTu/MoVeS8TEIjRZv57wQC+rz8BTvY81r6jaVhIPlh X2TVc2214UAcg8rCaH3Ikp9NEe2Pbbd8tDaNSWw0FrU5sUYs8lNpK1bOYZZvYJiGjTye mPUvJY+GOmqVYuu8N2KvXxfgdNX+b6NBOjHbjh3fKpI8xBBx2vVIyV4Cx3n9dz4ciHgU 7Nn4z6qV+c70M+NbOgpVHm02OQ4ZumGHF3vUgbL4y4UtuxrQLyRcoJ7hjv6hvgwissRh odPA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=uBgULhBo; arc=pass (i=1); 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=hotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f62-20020a636a41000000b0041a77fe4b70si277381pgc.59.2022.07.20.05.43.12; Wed, 20 Jul 2022 05:43:26 -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=@hotmail.com header.s=selector1 header.b=uBgULhBo; arc=pass (i=1); 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=hotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235161AbiGTM10 (ORCPT + 99 others); Wed, 20 Jul 2022 08:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235087AbiGTM1U (ORCPT ); Wed, 20 Jul 2022 08:27:20 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2056.outbound.protection.outlook.com [40.92.99.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 985606112E for ; Wed, 20 Jul 2022 05:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d0/dOCJknMob3tf34Gd8oTH9vO7VvbLu1SN2lXG3PUNW8uiH9kVQvSd/qCX6DfLTAh5RNg2Mnz9bMhtF3RUAGLkwjO0Z4lS32nWLvHp2bYhgJlcYbASxHSEmVGXbLpvI4Dzftj4Ky4Lf3lWfV3JoRho7K5R5nL+7dhFpDx8I3VGP/SSWSWBCFL67U28QWC0W9FNA0ozxyukr3mOOB3KzSks0JLmdPFohPB9VmFLkRlrWjHJg/01qZnuf3Po9rx/od3vAe4DAShIY1YF+tkutJE2xyptPxEo5w11TOjPBp1vsXa6Z1yflwTQyv90kJWJo2+/oP2XnCEbvx1+bSRGAvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Zvc4oN4BJBsuapqiwdYnMUdaf4KhCHNMYoJrbsoLYLg=; b=EpNnwtR6zRfVzgVGVdj/p9OU6wR6hgJ03EFyb7aJdt+iK8uwlRw9cGOwKmNvBegAcu7kX+q+b5RFmvG8q12Xy4Yo/xzHyJqBcOopMvZiN+G6lOaJFtrPbDWFhC4kXZDxfT9uvg3liwAsncoQsidAt++ljza4gKx1EA2miIrpv1Gssgv2XQQNjbl3Iq2Xhh93ARy4g4LEeFvSy/QBPoITk9bKEaYoLOnVrm98d61owvg+jtdWAuNANqn+anlqT3jLfu+g7/SYFzDXiuV9+ks9DvPoEbI4e3V/GF2ZQSG6zS0FrUaEfYOYBH1blTnpE+bLZwgjfiuYnf/w0hUUhzasWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Zvc4oN4BJBsuapqiwdYnMUdaf4KhCHNMYoJrbsoLYLg=; b=uBgULhBozxmum2vayeAC6PckzyQR69QpOGfqXnV3j0rWCy/3V1gJk14/lExbpAH0wJS9apmPc/UBJnM2DKrbDHGeCSUD6P5BWRlA8J9pGFMFYshHcAXGsJVf8QB1QdcpzbUOtLcj8481OsMNeiCZeXnRxq+4xh4/FyRlSKwK+Gu+KDBRXdREMzehwEvN8m9YMmnJwlmUvTbsYBp1dSrYdaLBFxniEdnTbbNExrqVz+ZqWUjeFvTExxegKQrFCOTYvcZZLvCwo73CI9Z98SObPOunT05GGUqzBUQJomnQcvSPFGA9BHZju9SBNJDYMKDG0c5JwIAOrHzJOeslm8UD/Q== Received: from TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:ff::9) by TY3P286MB2818.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:253::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.15; Wed, 20 Jul 2022 12:27:17 +0000 Received: from TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM ([fe80::2143:ec0d:667b:2175]) by TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM ([fe80::2143:ec0d:667b:2175%7]) with mapi id 15.20.5438.023; Wed, 20 Jul 2022 12:27:17 +0000 From: pngliu@hotmail.com To: jan.kiszka@siemens.com, kbingham@kernel.org Cc: linux-kernel@vger.kernel.org, Peng Liu Subject: [PATCH 1/3] scripts/gdb: fix lx-timerlist for struct timequeue_head change Date: Wed, 20 Jul 2022 20:27:09 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [2lg6QRRE4At4iNuTA12O0q0SH1PW+n9GQtpbO6v16ngcyu12GuuEkhL/vUNUXKuu] X-ClientProxiedBy: SG2PR02CA0126.apcprd02.prod.outlook.com (2603:1096:4:188::11) To TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:ff::9) X-Microsoft-Original-Message-ID: <20220720122711.6174-1-pngliu@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b2497d35-63f9-4516-1753-08da6a4b2eed X-MS-TrafficTypeDiagnostic: TY3P286MB2818:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5ea8as4ofjAwKmmBG+kOhpJg40/SmHvXJ3jBN50iL+xUXss03VgSUpqSS/T7IXQtqAqO/gpGxkOmPiTrSbkBERUa86oG0cuvVHNiGtXkgbohMOtPXREqVFlTDvMdMGd/xfNaPirdYwysHrvi56ng91u0kqk2pZ/jwpHZ92ZZyOYD2lE9UgIk1gYld0CPzMf2EAIp2taYFZ832K5jkM5jGj1zAGAef/vZEVOK2OdCI8+RaWuMbgKqhOJCTqZ77IEsIY1RroURx+B6c9XZQmAzDV0Q5D+itjM1R/koggz1tLo9mPXJLINAUJYpIVs8I90DvE/yLnkMBhdDOveMEgWQt/ch7PwCZM/qHAfAAYgpbcC0WUzbjuCSLPfzkFCWOvpeAkMH10vQKoC3lWMAEq4EY/qnC+wNUImBZqRGsVGT+P4e6HlAcPMKjqFkTTNbh2o7Y0VfCKxYsPH3f8oFhSN2xU79Ntt3pTHIplLnNiMtUYnVAxvypRvfoHOKURXJaSs05oBpxCz6KGRFYRORNLm9HrF9XFO5M55n892D121BSSvEa8XeVmqvHAjXJ4Df+pdFTBvT+fXsJuiR2nU8QbRz6zQCe5b3dITXmicRhMnZm8aRWjMkaXuq4WE4UOLqAFHxDXDOCEeYrvFcENQGW1Q4zQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?U1TrGrvy9KDjIWE4UtM9S/ytd7vo5/6SX4WK4GkrX7R5744D7oF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mcEv9hDwkVKzBMYIAstNylQmNg2IbxAr?= =?us-ascii?Q?gbLP5hyzFCMyXcC2RyDQrhA9LgAvU7ZTq18IKG/TO5ODTN32M08I4uW06bRj?= =?us-ascii?Q?LrsZxT/MWzsT7tagG51GkeczxOlMCr5zQwjJDxCbP4Cdzd652ZqnKjmseGDc?= =?us-ascii?Q?3exNrZWP9zEqDxKAIsU4/TsW2Xp9fziTbs+yJEMia0OtT6Fv5xOKdOWqAvIK?= =?us-ascii?Q?I64dogXXU+J08+gIimDNPYIz+Tf+J5804BSkD/WA3xna+D9jpAg4E5r3BugC?= =?us-ascii?Q?i9z0LASe/XrW8o8JymN0fJxStWp1dqoh+4ohOcfqi3hRA1bPeiRx6BVfN3EM?= =?us-ascii?Q?Z2/ECGym3PTcYUKgJzsiR8T56/1lf/y+F0mBXdTv3b34HetyQMlwT/im5lAI?= =?us-ascii?Q?quKciHvs3fc7qxPCD2C2P2Jhlfa97c574t24bMxu/YtK7w=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: b2497d35-63f9-4516-1753-08da6a4b2eed X-MS-Exchange-CrossTenant-AuthSource: TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 12:27:17.1736 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3P286MB2818 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,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 From: Peng Liu commit 511885d7061e ("lib/timerqueue: Rely on rbtree semantics for next timer") changed struct timerqueue_head, and so print_active_timers() should be changed accordingly with its way to interpret the structure. Signed-off-by: Peng Liu --- scripts/gdb/linux/timerlist.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/gdb/linux/timerlist.py b/scripts/gdb/linux/timerlist.py index 071d0dd5a634..44e39dc3eb64 100644 --- a/scripts/gdb/linux/timerlist.py +++ b/scripts/gdb/linux/timerlist.py @@ -43,8 +43,7 @@ def print_timer(rb_node, idx): def print_active_timers(base): - curr = base['active']['next']['node'] - curr = curr.address.cast(rbtree.rb_node_type.get_type().pointer()) + curr = base['active']['rb_root']['rb_leftmost'] idx = 0 while curr: yield print_timer(curr, idx) -- 2.25.1