Received: by 2002:ab3:784e:0:b0:1dc:8548:e819 with SMTP id f14csp133464ltk; Tue, 30 Aug 2022 19:16:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR6tTTgaEm7QtIGE/+mLxE44t8fCWAzCLhQzlNHTaRTvn1Cj7RPZTTavf9j9JCcyWOV7iMvu X-Received: by 2002:a05:6402:190e:b0:43e:1588:4c32 with SMTP id e14-20020a056402190e00b0043e15884c32mr22572200edz.76.1661912178646; Tue, 30 Aug 2022 19:16:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661912178; cv=pass; d=google.com; s=arc-20160816; b=p6JDH7UX7yRB5YO06HNdoEDmH/4JIKRLuCyI7JVeJYDx23MW8FV2Aizl2BJLO1qddo cme1PelwfXWYDksf9yS7cWVWZd4KqTjVjJ+ZXp2NgLLx4BQHf0qg9sUpM+mmvjTCM8SO AyiOMshs5Hu40BA68ajwLgTYHdTNgEppSDXPPTQKiCvYeBgI0iEm07d1iWcDrZdb+oI/ +D0ATPehbAfwWtYJVuzKJKxDMggs57wfmYzZ7+jzU1e3Vt1cltWllPedQxgYq74H2zFO g/b1p+E1PPcbC4aHTmrTIG3gCQ+tXCnzA97gzCNYv2esFi/+Be4FKEqol/aIidN78+7e RC4Q== 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:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=QnB+dS5ZuEeE8i20ki7ZmyakDEXvhG+Q/43BX5vqlcA=; b=Ee+r5H+DfDWdJsRsc5Cd6E5peEYpxvb8r9qEvq+8E5WCnMOYNpzPOGReHKTy0299FW AHmffU3+RhgcytvmRiqzWVLWTIzaXaZrm55rlWuEvpN9Z5cQjW4hIlDy+wI8olsVx2Sj 8oFAauOUgWq/ooBpGby5yJD0ZGkXhDIe2A62M2KgGmZTVHIi/gEuZNf0X8Rs4OnM06qM SdGqr54lDFGM5FEIUGPY5XHoiYakm6j12ts8341l76lPRcZcSW+++SMo8e6ZrYsTFZqz pGoW9xauFT7LKprSwHv4Bh85g/iqP3t/zQld/1SpBLDRC1/PZ0DlY/Jx5DCpkjS6EHiC AoEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hotmail.com header.s=selector1 header.b=ZEg2Vseb; 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 g5-20020a1709065d0500b0073fc3d7b7b3si10825091ejt.112.2022.08.30.19.15.52; Tue, 30 Aug 2022 19:16:18 -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=ZEg2Vseb; 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 S231926AbiHaCCO (ORCPT + 99 others); Tue, 30 Aug 2022 22:02:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231823AbiHaCCI (ORCPT ); Tue, 30 Aug 2022 22:02:08 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2074.outbound.protection.outlook.com [40.92.98.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C843CB2D92 for ; Tue, 30 Aug 2022 19:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WTumgiJz8tHPM8Z8x04/9oliTwpJ42oqnRLOPKIRmS02JPr8aroePdaUdR6lgjTH6KyL1/X/Q+i8MA324Z9cM9/x0GIrzAB/cs6LvsSMk8qtcSr1Pc3JghGjFIlrN4G7g1bHpQwSDR7PmGtE2FHIMe5h0HdWVGsOEekH2bEFaSlntzZUvp3ekY9ax+eH0/co50oqJMx7evyxu0zWM/I7/NuvmINKzqJhKnQAtFs0FHozJr59jipPoNp7Vjo34fB8u5sqTzdAB4qPJasnavRORkvq2OYB92OChGE0N8JIeF+hdknRgwlRFTfGs1Xp4Jz/2QOcPEm7lyOGDuW6tC4gUA== 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=QnB+dS5ZuEeE8i20ki7ZmyakDEXvhG+Q/43BX5vqlcA=; b=BN/pKBVhzmQPuvmkrOQq2jBwI3u0ODyGElpet38pLH+RAZhUKbqFUBZ8UNQKE22cWu5vGOfR20yM3N+kuyrNHv2hCkW7O8BVWESmGQ26mrZAPVl7t5g5Xnu5OlQUJIhg0iervv8dhHuhxX7svHcngM6PlSV9UzWlQCp6pBKuFQAFeyeUwsJNDGmawsYY+nFXNFyYwebLU0A5cl0OGCMRvNzHx6J9CQVsWkpzsjJKjkBO3jYuNps3Ehgl6LJEBW1s+gpf8vq83Jj6QOKcnDa3DB5rAmWoR/hAcBqivz5OIL8r2c8wf27T/Fko05Kd6Wh0b4sd4rD94+DBCqCzygvd6g== 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=QnB+dS5ZuEeE8i20ki7ZmyakDEXvhG+Q/43BX5vqlcA=; b=ZEg2VsebR48+rMT8B3JpqVJi4l4pQSiule/XqeUCkMdEsyLdHYWrl5596WYwpGtmCGAQ2LMZqEUdEcVCH6+DSFLySO0VBhfnynAz1v6vE6mo8KDR0VHCsAYprYSdOJ2uJepbvHn30Qk7cNz+LOezVUnLhxxFuR83BC37smYkpuwKWf3R4RFGGDsaKUpmI4J1pCb2XUwqgUAmvX58mclHWSy2jm+7bWH7Rx3MbgxC7cdBxVj6/gD+r+OepuyCx4zyXwZbmXV9ZAdTZdT60du0OqeHl2UVtr3fDV7lEM6HrppVCm8gN9JhekkJEkQ/2pgig+aqKaPqgaXOftakaVk/iA== Received: from TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:158::13) by OS3P286MB1687.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:161::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Wed, 31 Aug 2022 02:02:04 +0000 Received: from TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM ([fe80::ecbb:5892:bd41:fe91]) by TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM ([fe80::ecbb:5892:bd41:fe91%5]) with mapi id 15.20.5588.010; Wed, 31 Aug 2022 02:02:04 +0000 Message-ID: Date: Wed, 31 Aug 2022 10:01:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH 1/3] scripts/gdb: fix lx-timerlist for struct timequeue_head change To: kbingham@kernel.org Cc: jan.kiszka@siemens.com, linux-kernel@vger.kernel.org, Peng Liu References: Content-Language: en-US From: Peng Liu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [smukgGZQk8Y6tMhlk2CfkYCHO3DMFi5H] X-ClientProxiedBy: SG2P153CA0050.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::19) To TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:158::13) X-Microsoft-Original-Message-ID: <77d7bace-d7d6-05d8-7986-02229676188c@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 32641a16-5622-4340-b371-08da8af4cc9a X-MS-TrafficTypeDiagnostic: OS3P286MB1687:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c6d0GAwfQKIHvYnJH013wX4TTGTtObFew9rm49aAxAA6N3R3ESVB1fZpsSwbu6aKE40Pja2taQZOM+gDhdHrmi8FM2v6AAQpOIS7lTPa9g0kuX7taHKLETH8GXXD0VsBIOQxBbkExoxDiThUJj6L6n+qmeOVEOdlU4BiJx1O3kzCDRMJHmbv2S/6IGq1bcUMUElSnx4uE3TLdI3drfoby0lgd1TMF1zg+yFMuvKZm/MKG3cC9KvMt6uSf5nlBMLlunX4ORarepOVTNvXMr9qvnXGYobkYV1xgM+e+ol3LFRlJRxFoakPlbDmY5U1iynMrt3qOxZQGqMrtCLnSaYQDeemnJsMr7hdWYrv9L0VbdRioqFG0AQCuauKX4vuHDMn37YmsWY8VDB/arC7MynksPBO28LMjDiA3KikgQ3PkYY64PFqjB5pn5WAtbllobCeWY5iasoBEAi3OyqaGzYyHIYcV4q/597Y/js4t9xP9dUZm7Bw/BPrAVlxkH/4Du3e/8+EM2H+g+PxunacAn4V3pSrlAWe9LPrNm2OB0mGVaQ/dRLffZ+blyHtxTsQiO8deHQNF70s2/dNHWfx2nWrDzUUAqQu4aYGb7mHlb3HHLeGrIFz1TIZxXNWyiNZDrRsLJMKyP7Ts0yAhAzeOCUAk8UtbdRAc2xy+7AB8HZTljEcERghWONKL9ZwX9sYhux4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.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 32641a16-5622-4340-b371-08da8af4cc9a X-MS-Exchange-CrossTenant-AuthSource: TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2022 02:02:04.5857 (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: OS3P286MB1687 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,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/22 17:29, Peng Liu wrote: > 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)