[PATCH 0/2] GDB VFS utils

From: Glenn Washburn
Date: Tue Feb 28 2023 - 19:54:12 EST


Hi all,

I've created a couple GDB convenience functions that I found useful when
debugging some VFS issues and figure others might find them useful. For
instance, they are useful in setting conditional breakpoints on VFS
functions where you only care if the dentry path is a certain value. I
took the opportunity to create a new "vfs" python module to give VFS
related utilities a home.

Glenn

Glenn Washburn (2):
scripts/gdb: Create linux/vfs.py for VFS related GDB helpers
scripts/gdb: Add GDB convenience functions $lx_dentry_name() and
$lx_i_dentry()

scripts/gdb/linux/proc.py | 15 +++++-----
scripts/gdb/linux/utils.py | 8 ------
scripts/gdb/linux/vfs.py | 59 ++++++++++++++++++++++++++++++++++++++
scripts/gdb/vmlinux-gdb.py | 1 +
4 files changed, 68 insertions(+), 15 deletions(-)
create mode 100644 scripts/gdb/linux/vfs.py

--
2.30.2