lkml.org 
[lkml]   [2023]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] GDB VFS utils
Date
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

\
 
 \ /
  Last update: 2023-03-27 00:39    [W:0.063 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site