scripts/gdb: add GDB convenience functions $lx_dentry_name() and $lx_i_dentry()
authorGlenn Washburn <development@efficientek.com>
Wed, 1 Mar 2023 00:53:35 +0000 (18:53 -0600)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:39:35 +0000 (16:39 -0700)
commit5a10562bdeb58006de4b1cd5f671b7da26b20bb3
tree45e4ad85130c71d59d56bc1af447bdf364252f74
parentf4efbdaf59e959507a1a931ec4afecdfb09db76e
scripts/gdb: add GDB convenience functions $lx_dentry_name() and $lx_i_dentry()

$lx_dentry_name() generates a full VFS path from a given dentry pointer,
and $lx_i_dentry() returns the dentry pointer associated with the given
inode pointer, if there is one.

Link: https://lkml.kernel.org/r/c9a5ad8efbfbd2cc6559e082734eed7628f43a16.1677631565.git.development@efficientek.com
Signed-off-by: Glenn Washburn <development@efficientek.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Antonio Borneo <antonio.borneo@foss.st.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: Petr Mladek <pmladek@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gdb/linux/vfs.py