drgn/tools/__init__.py
Omar Sandoval 9d53e65414 tools: add fsrefs.py
My team and I have investigated many issues that turned out to be caused
by a stray reference to a file or filesystem, either by user error or
due to a kernel bug. Userspace tools like lsof and fuser can't find all
of these. This adds a drgn-based tool similar to lsof/fuser. This
initial version only checks the basics: file descriptors, task working
directories, task root directories, task executables, and VMAs. Upcoming
changes will check additional, more obscure places.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2024-03-01 13:06:30 -08:00

0 lines
Python