Skip to content

GDB VFS utils

Glenn Washburn linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review 1 of 2 applied

Patches in v1 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2scripts/gdb: Create linux/vfs.py for VFS related GDB helpersscripts/gdb/linux/proc.py scripts/gdb/linux/utils.py scripts/gdb/linux/vfs.py +1 more+31 -151 reply
2/2scripts/gdb: Add GDB convenience functions $lx_dentry_name() and $lx_i_dentry()scripts/gdb/linux/vfs.py+37 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] GDB VFS utils

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
Signature · 1 line
2.30.2