Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4910853rdh; Wed, 29 Nov 2023 14:33:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2nDGAuvA4+eIez2Q0dvA68EQYeRuEZtY3IovHdDaaJcryt1ctGJW6kN5HHLkzwtNe4LGt X-Received: by 2002:a17:902:c40d:b0:1cf:59ad:9637 with SMTP id k13-20020a170902c40d00b001cf59ad9637mr35131988plk.22.1701297211099; Wed, 29 Nov 2023 14:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701297211; cv=none; d=google.com; s=arc-20160816; b=rnV0NgeucY2zM+m6IwNNsoeIrpYmjEL5nqreJ7efiqmMNx2LZMuAU/5m1iV96uCw7s Zf8uI6SMnSzonqx8rl/RHUxu8ALmLm2biHxbvmsyuRsp9rIscvsG6HsoolHNKpveSc5o 6Rg0A4zlJSoHk7juCn4oWji/0yQBhhCwYhkn8qcjUO3LttYKhJTanlwCs9wcZZC2CLcx BMGmRxPOOguK9408E97KA3hsTbfkDtB+/1y1tjrMVB0qBnooxtVZgsCsOj/aaQZie0ti pM2fM0ejs4W3YhUiX+y/9ld67n5a7bTFdQDHnQyCkB6T1NFczU38DzTTdTKBsyNJeKRq SmOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=I514WpKhed4nrQIz3BqBn8ospI7mOLbqMpjJBTq6ymk=; fh=lBX8vswzb/NYMpL/q2BGvgSFe3/cN5XRz5cHIOCuKZ4=; b=zGqA8ms33MvSC6WQQgdtpTnyT1zpAWZxJuwGjb/Gz+bB1AGY/c0j0mqd9xs5qagxiO VMLnYuFwgSps7N4Db8CHL+n64eNF+f9afTZ1EDZUoW6R+J09YQoZ+eZeI/Iw+TBwyS9B ZERgH1W67RbDjj1SgdNujMuWzDBoRBOMkxXTmRrHgaeBCK8pZ/McZgyRj6xw85oIRGrw lLeXBXx1jZIZ7RN/GMNQ1bWV8ccoEl8+ihxHWu3+r2IG3MTt63KYL/arucObXEMegvxw z6imQN6/p4JES34Drpy0sLqvwtuwwCJLr1cyDIcKyh+tn7aTgbfA8IJs8+bbPgRlaZGB qaPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JueQZ4Rw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n17-20020a170903111100b001c0a165a219si16045173plh.134.2023.11.29.14.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 14:33:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JueQZ4Rw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 22D8B802C8D8; Wed, 29 Nov 2023 14:33:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjK2WdU (ORCPT + 99 others); Wed, 29 Nov 2023 17:33:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjK2WdS (ORCPT ); Wed, 29 Nov 2023 17:33:18 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9BA9B2; Wed, 29 Nov 2023 14:33:24 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-285699ebabcso296348a91.0; Wed, 29 Nov 2023 14:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701297204; x=1701902004; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=I514WpKhed4nrQIz3BqBn8ospI7mOLbqMpjJBTq6ymk=; b=JueQZ4RwW7FulVIowO98Gq4yGgK5415D+vMjvL0vvuuEx79ASrdpWUSpBYU4bTZG8H VRVeMjWz3Xmx2QJuI4Z5fRdxEZpNNu4zZmjb0oRrYrgv45kXlg0i77oJCOZqxy5P65I2 Db/vpSxRZS+0kUd+vfGkDvozmOap4Jvbkbf7C+Y0AXgrrWHXuSKtw60pBrdBbkQilJTs T4gM1kPvZE5cFyO/3OakZRmkQYwEcQuULBzq6t9zKwyCVWMXSjhqj2+OsBPBPfed6RWX Dh8CfSMc2m3aSH2Thab4udFyVjGmYvtr04FRGm6mNCjxSdju9g6zqhH1v5XBuJy4vQ1h +i9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701297204; x=1701902004; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=I514WpKhed4nrQIz3BqBn8ospI7mOLbqMpjJBTq6ymk=; b=oAVO0W0CT0EHI2p0WM3SpTyRWzGwi5uTRCmPW9llLpM8/VzZa8n4z0cdfIM64OL1Xr RFLiMAn1u1tMwbawSSh5gqEFZ12m1HKz7l7RK6HYAVNuZ8J/igBV4XRVqW0hNTZcZst8 fpXOHGsM8bOsiewtDrSO+zE+X6N3r3bL/hUq5IDKCjJWaM4UyrcpiOdAQaw7MW2xcDK3 3weuxZnXmLpeqk5WAYBP5hLedoPFMljmcmeRyrmSUl0K2S2bPcHatC8EOBMMbxmO3uer RgZFU3G8RFus91ACeaDC56DTenoGeGcueUpOtMnznDlva24751n0LTWRv7LqMcWB2Qq1 cXHg== X-Gm-Message-State: AOJu0Yx84f6k70WzAja+RkfsBd2xfji57K5H8CVV0T8hd/8jaqLPmFRN FCof4KnSMDfol5qtpnbLFq0= X-Received: by 2002:a17:90a:ca08:b0:283:967c:4e6 with SMTP id x8-20020a17090aca0800b00283967c04e6mr33689697pjt.12.1701297204224; Wed, 29 Nov 2023 14:33:24 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id g4-20020a17090ace8400b00277560ecd5dsm1879096pju.46.2023.11.29.14.33.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 14:33:23 -0800 (PST) Message-ID: Date: Wed, 29 Nov 2023 14:33:21 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] scripts/gdb/tasks: Fix lx-ps command error Content-Language: en-US To: Kuan-Ying Lee , Jan Kiszka , Kieran Bingham , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Morton , Oleg Nesterov Cc: casper.li@mediatek.com, chinwen.chang@mediatek.com, qun-wei.lin@mediatek.com, linux-mm@kvack.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20231129065142.13375-1-Kuan-Ying.Lee@mediatek.com> <20231129065142.13375-2-Kuan-Ying.Lee@mediatek.com> From: Florian Fainelli In-Reply-To: <20231129065142.13375-2-Kuan-Ying.Lee@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 14:33:30 -0800 (PST) On 11/28/23 22:51, Kuan-Ying Lee wrote: > Since commit 8e1f385104ac ("kill task_struct->thread_group") remove > the thread_group, we will encounter below issue. > > (gdb) lx-ps > TASK PID COMM > 0xffff800086503340 0 swapper/0 > Python Exception : There is no member named thread_group. > Error occurred in Python: There is no member named thread_group. > > We use signal->thread_head to iterate all threads instead. > > Fixes: 8e1f385104ac ("kill task_struct->thread_group") > Cc: stable@vger.kernel.org > Signed-off-by: Kuan-Ying Lee Tested-by: Florian Fainelli -- Florian