Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2178073rwa; Mon, 22 Aug 2022 03:40:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR422xJ5bfzUnLRDxsYME4VEJDkR7Ag9OWne/WSf2l222ACcWjCB6Fafl68kcDG+3gyco7wj X-Received: by 2002:a17:907:2cf3:b0:730:8b8c:6d55 with SMTP id hz19-20020a1709072cf300b007308b8c6d55mr11829112ejc.535.1661164803792; Mon, 22 Aug 2022 03:40:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661164803; cv=pass; d=google.com; s=arc-20160816; b=SHvV7PXRR09mBYSxQrGngVGmnUISHzVpnIeu/205uvYV/8E9oZVphg8wUPgaNSQaMK A8dEJhqQn4j+TBEzX9h0Fmu35T0m8pFPnKZPjVStswUq0ePEdDUCBLftc7XvzTFngMYX OqWadl3ZChmILfbhLHVtHNiI3B3g6xdjFdYNdCHCXVR0C3LYH1ATH6rpgS240dujrCCn b6zx2vxYnH/jSyYGYx5N0OfVr5X8xudgvhVqvogEI4ZM5Q3ecKMc+A4M4eoJceEd7SKu Xy8WOcecZ9kRHMnYnFejVRYQ3T9nasCbTB5ebi4++ca24j2ae4VpvTI7IZKRcEOSmSFq 6jWQ== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=5ejTeLBj2MS2aCNBejeJ19JpDfqU0woNcnS7nmZzaQg=; b=aQAd5zehZVJZEKENKLzRiYClcLDT5yR65xxreukgTVlNsxHRSZ5NGIs/4cMPTke6Xt UtAhlM0YeNRGwSlok4BgIAD8F6o3euayyySr4B6/ULFKytbzq1nZhXgCRD17MYx78ScD BsYyJ3nFKqZVD6qCCHRnsqiKQ5CnppkflEgguAQh4hlxW2wLzH8puJlDS4xr5n2aUEGQ c5LsMjdO5tbtxpBW6RX9+ue/ulNWZrOTf4o7O29rZ4BBTA0Zfd/nzoRY5rHDpiQtf4yK gPypqdRt4rjY4gLKheYh29D0AlYsuOT5Fq4Q+YcHl7R5KpRTfBwnlTgEFz8D4wxsy1EJ v31w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=n4rlsrcy; 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 hr5-20020a1709073f8500b0073d6e01cba5si4353526ejc.202.2022.08.22.03.39.38; Mon, 22 Aug 2022 03:40:03 -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=n4rlsrcy; 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 S234424AbiHVJ3r (ORCPT + 99 others); Mon, 22 Aug 2022 05:29:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234436AbiHVJ3o (ORCPT ); Mon, 22 Aug 2022 05:29:44 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01olkn2052.outbound.protection.outlook.com [40.92.99.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 048C91D30D for ; Mon, 22 Aug 2022 02:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A5MFgMZE3igu9pLIltVLdGLW++wQsdhkmboVwCD0IjU78F3Fd3NFLxwxzQgJWnmN578x38oKuRHzNcOCP0sV8Z4MzK6E3PZ18SexXJf1t8k8TqrPaI0HFOpb4+nCkJ4DmA0Fo6rO2UoBXVxJlk7BVGdIlngf43ns0O4mLW5hSTpJ3Vgx5yQtovxa2SxtUIhtS1PgSZfUWc/rEpCH4DTcYA2O6D05ZZMVad30LtYxgxGmiG4OKtfPKWUA0xF+VOI+L7V84rubI+80CAZ5fioOUs3LE5LZH4bUjtj/EZo/fVftjNdy0D++TSiMQ9nOkvFCAONW0+G47XsbdcOP/1hlUg== 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=5ejTeLBj2MS2aCNBejeJ19JpDfqU0woNcnS7nmZzaQg=; b=i/pCm66ueTl08HQSYV0xr88X9TxO/PSGc62VTzFXBVCe6sSzJb4/+5b6mcxBeLFw2wVuV2Y7qulpg+7dxTr4K2POyu85aa2GqAdkp+1sMzO1vr5kZauZ8h00JSoWYj/U8Mv6Oy3durCL1lzmCcx26qos145lQalrbx/J6nJkDAQCxdmVwS4H3OVnAIcOijASwAEp/7uKp0N79vJv3y8boEJxFQpdAcm52Oj2immUDI2/hSotlFskB7onCAZ07uim9c0K7t2B+jtf1dKCcFnOUd39zcTkdOYRtGBvseLVp/RgyCIKR+CEk2+tnvyPgjZaR+5DLJ3OQN6yJKbiio8VSg== 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=5ejTeLBj2MS2aCNBejeJ19JpDfqU0woNcnS7nmZzaQg=; b=n4rlsrcytB9Sx3DnwM9qAL7HLu/kdsR36+l/X5y6zawa0sgKxYvRnshJBmrzUEGgvtdtuVNt79udBfJJ2iJg0uXt/eNwn9L7IQ+NwzgHuITSsRc95SkFhRUJWWc/vcSaUym9VKwGWHwL0coTm9NNyHlzBHBAFQ9tRlyn223JQ/SHguzkUv/Qwmm5+6a5Hv1mICzjf9INX1cgIOPOG0+iICG9/+GbyYiZT/gZx6AntXnXnGsvUGh2uwR50Wq0j+3XLVkhmVnPmScBHixf0XU2qI34QQbEpCoPZU+ry/Zhl0XfBmAuzbKNYMaJtlEqUHO8ohm544Y7AQFIazPd9Z8lDQ== Received: from TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:ff::9) by TYCP286MB2590.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:241::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Mon, 22 Aug 2022 09:29:39 +0000 Received: from TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM ([fe80::d10b:afc9:3056:11d]) by TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM ([fe80::d10b:afc9:3056:11d%4]) with mapi id 15.20.5546.022; Mon, 22 Aug 2022 09:29:39 +0000 Message-ID: Date: Mon, 22 Aug 2022 17:29:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH 1/3] scripts/gdb: fix lx-timerlist for struct timequeue_head change Content-Language: en-US To: jan.kiszka@siemens.com Cc: kbingham@kernel.org, linux-kernel@vger.kernel.org, Peng Liu References: From: Peng Liu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [1VcBy84+eQP2NVCUTrghd7Aw/vD5aWKj] X-ClientProxiedBy: SI2PR02CA0006.apcprd02.prod.outlook.com (2603:1096:4:194::8) To TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:ff::9) X-Microsoft-Original-Message-ID: <8adb150a-41d7-e1d5-5e3d-856ec7701456@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a95f5411-d8dd-4a7a-fda4-08da8420d627 X-MS-TrafficTypeDiagnostic: TYCP286MB2590:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bMgQC9wfnmAeyoy/FbkDa7KnJiiK8hJ5byq1FMgngiP/yqb9ngqHapIVif6AwZ5POXfTBP8P6Yn+yzLxtgLt0BSOI52fw1Jrz2SkqJoVpvtouZc2dI5pe55iyaiaiADh/xz8LVcp7GjQTI50ZLAnBUakNmdsJfnDB81YzM4xmmfwcbRHaHYJuT6hb/NvRHFQcXrRod45rVvvSHte1mTkOnAnwSjmGICDHAj+zJgRAmvgs7EoNWU+g9YE57l6f04svVjpNrMifPuw36SFAxSGR1bFu5fcRB2aPTMM7zn5bohyTinmm70GxjUfEmJMOECcZznFBi/L95o+ywRvBbrEe54ICLoDjDp5paZ3e3DVWx7pHF7KK3J7Lfz5QUKLOPjW6rrMlj/4u/QDNVCOVXZMfI/qNlFTYsyMEyaRyTknETCUoCX+4pWb1exVxMJpQj6VQ4/iRMW2PaK7qGb7V7gx97oZQnSov2lOOOaPo+uYqe52pEy2KozLBiISRQxsmjVjzfK2Bqzkgf+YQX83o0bosfEJ79I9TFu88oRa26cJEs3bkjn1BZoUp788tAtS4uggTq3Y8RFpj4gWPMHsu/IkD/cmxFdUGnO9+axwxtKA6m6JQUg3fcUT5sp3Twyv46EJkJ9nKjOZ7C+WWUmwSWk2CzLF1x9c/eRH/j8uDcIskZGH7h9VgLqu4gfh46S/uVW+ X-MS-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line-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a95f5411-d8dd-4a7a-fda4-08da8420d627 X-MS-Exchange-CrossTenant-AuthSource: TYYP286MB1763.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2022 09:29:39.8279 (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: TYCP286MB2590 X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 ping On 2022/8/4 16:49, Peng Liu wrote: > ping > > On 2022/7/20 20:27, pngliu@hotmail.com wrote: >> 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)