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

Oleg Nesterov oleg at redhat.com
Wed Nov 29 00:10:09 PST 2023


On 11/29, 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.

Thanks again,

Acked-by: Oleg Nesterov <oleg at redhat.com>


> Fixes: 8e1f385104ac ("kill task_struct->thread_group")
> Cc: stable at vger.kernel.org

Is it possible to merge this simple change before v6.7 ?
Then "cc: stable" can be removed.

Oleg.




More information about the Linux-mediatek mailing list