]> git.hungrycats.org Git - linux/commit
scripts/gdb: add iteration function for rbtree
authorKuan-Ying Lee <kuan-ying.lee@canonical.com>
Tue, 23 Jul 2024 06:48:58 +0000 (14:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:00:56 +0000 (12:00 +0200)
commit912edbfd31c6139f131f02f4beb18b702a5ea004
tree1f82ec734f32cfbaab1f0ead079a3a305dc37428
parent8ad3ce94c9717b07b6f4e657f567173cde38bf64
scripts/gdb: add iteration function for rbtree

commit 0c77e103c45fa1b119f5d3bb4625eee081c1a6cf upstream.

Add inorder iteration function for rbtree usage.

This is a preparation patch for the next patch to fix the gdb mounts
issue.

Link: https://lkml.kernel.org/r/20240723064902.124154-3-kuan-ying.lee@canonical.com
Fixes: 2eea9ce4310d ("mounts: keep list of mounts in an rbtree")
Signed-off-by: Kuan-Ying Lee <kuan-ying.lee@canonical.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/gdb/linux/rbtree.py