]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:03:56 +0000 (12:03 +0200)
commit152ffdfe4ffa2c28e37f1e73c0a1b23a24bbed21
tree0e7ae19ba256c7fa9b72640d40e7683004854e49
parent8573ce6c6b54425e54d3f3a6e18b8085b8320dc1
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