scripts/gdb: fix lx-timerlist for struct timequeue_head change
authorPeng Liu <liupeng17@lenovo.com>
Tue, 21 Mar 2023 06:18:43 +0000 (14:18 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:39:31 +0000 (16:39 -0700)
commit747cd84f677cedb27db10d4ada777d7ec20431ee
tree4487b611d8eb00ce9ac127a256d437063598fed8
parentef55ef3e6400ede7d4020f5fd0bc7aeac4de1ceb
scripts/gdb: fix lx-timerlist for struct timequeue_head change

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.

Link: https://lkml.kernel.org/r/TYCP286MB21463BD277330B26DDC18903C6819@TYCP286MB2146.JPNP286.PROD.OUTLOOK.COM
Signed-off-by: Peng Liu <liupeng17@lenovo.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/timerlist.py