[PATCH v2 1/3] scripts/gdb/tasks: Fix lx-ps command error

Florian Fainelli f.fainelli at gmail.com
Wed Nov 29 14:33:21 PST 2023


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 <class 'gdb.error'>: 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 at vger.kernel.org
> Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee at mediatek.com>

Tested-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian




More information about the linux-arm-kernel mailing list