Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10378580rwl; Mon, 2 Jan 2023 01:15:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXsoVjPfIdqBN9CxC3RGzV8DM5OsDWBCsxj1mi3WWRukrM/o+50GJPUtJrCbZ7XgftyqFAWE X-Received: by 2002:a17:906:fcc1:b0:7c0:e310:3191 with SMTP id qx1-20020a170906fcc100b007c0e3103191mr44516893ejb.11.1672650924121; Mon, 02 Jan 2023 01:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672650924; cv=none; d=google.com; s=arc-20160816; b=fmXl7CUNiIpg2hUwkD/xeTzESpwywry5s1tkY5g3Mvyqa0xoS4TjvEMItoEuwwNTyE 8cL3J5B6hNhFMfmpP0O1QfM437lBSuN7n/MXsv+07gy9fIOHUeSAKX97Bgq25jPt2GCp 6SNyb/aV5OzrKjbqpf8ZwI9s/do4ZNGR67ifjsKBAq9GWV+kzzb0f8J1lRDJxIcvS3dR ZOAMhv4RMyH7rMJ35+GF3NNuvSd1poA+aGWhNN3bdF0pS/TRt8l1yTMjvWZZYRbdyaf4 HQXvfdGIy0Rpwj8VDhBQZZybBPgWW7gSgQdaqtmALNcmzIalEGnddoMW20j+NdQbLIPn qoWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=83B1gDeLwiiAgHtY/+TGpju+g6GDPrXHivYZMmqzezs=; b=GGZASexdBA/IJ/uXzQx/KPL+jRcBHHHkUYdqosYe9U5wrOrYpYD4U25krzqMV/omGp hFNbl7Rxp53O65sfop0NgLxEmzM/NjxYuik0+dTX17cV3+fbZoGZv8O8mEwoWlW5G8zS 5g6uCTDnZ+CpWkq7mn0eE+NgfbVX5/74CXGIxoDKA1N2J8lnVtxECDWQCPoFdrhtHgIi VTcjrMJ/rHqmAh7tQBp+4SRFou7hMxfRtww7PJGN+BACK2iAVMfFEPUlF6GuYLVDIAn8 JYu+r9vK39hD19PRIYoSgMKz6mIHjRYRj0dC0g7FgzBWYh8xAuGQIT4W0RNR2qRSCtxf bUcA== 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 wv1-20020a170907080100b007c0c5cb19f6si22733840ejb.684.2023.01.02.01.15.09; Mon, 02 Jan 2023 01:15:24 -0800 (PST) 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 S231877AbjABJET (ORCPT + 59 others); Mon, 2 Jan 2023 04:04:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbjABJEP (ORCPT ); Mon, 2 Jan 2023 04:04:15 -0500 Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.232.28.96]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 2B268B0C for ; Mon, 2 Jan 2023 01:04:11 -0800 (PST) Received: by ajax-webmail-mail-app3 (Coremail) ; Mon, 2 Jan 2023 17:03:59 +0800 (GMT+08:00) X-Originating-IP: [125.120.155.59] Date: Mon, 2 Jan 2023 17:03:59 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Lin Ma" To: "Jan Kiszka" Cc: kbingham@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scripts/gdb: fix 'lx-timerlist' on newer kernel X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2023 www.mailtech.cn zju.edu.cn In-Reply-To: <821d07c7-35b5-cf8c-b9a9-09dabdb3c893@siemens.com> References: <20230102074340.17459-1-linma@zju.edu.cn> <821d07c7-35b5-cf8c-b9a9-09dabdb3c893@siemens.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <19c7029f.6a26f.18571b92cf9.Coremail.linma@zju.edu.cn> X-Coremail-Locale: en_US X-CM-TRANSID: cC_KCgD3_6sAnrJjnxF6Cw--.34951W X-CM-SenderInfo: qtrwiiyqvtljo62m3hxhgxhubq/1tbiAwMDElNG3Jch5wACsL X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, 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 SGkgSmFuLAoKPiA+IEFmdGVyIGNvbW1pdCA1MTE4ODVkNzA2MWUgKCJsaWIvdGltZXJxdWV1ZTog UmVseSBvbiByYnRyZWUgc2VtYW50aWNzIGZvcgo+ID4gbmV4dCB0aW1lciIpLCB0aGUgc3RydWN0 IHRpbWVycXVldWVfaGVhZCBjaGFuZ2VzIGludGVybmFsIGZpZWxkIGhlbmNlCj4gPiBjYXVzZXMg dGhlIG9sZCBseC10aW1lcmxpc3QgY29tbWFuZCBrZWVwcyByZXBvcnRpbmcgZXJyb3JzLgo+ID4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