]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:43:28 +0000 (20:43 -0700)
commit0c77e103c45fa1b119f5d3bb4625eee081c1a6cf
tree4e60f23350c05f56f71a0c3e1ac64872c3b55536
parenta633a4b8001a7f2a12584f267a3280990d9ababa
scripts/gdb: add iteration function for rbtree

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>
scripts/gdb/linux/rbtree.py