> From: Matt Evans <[email protected]>
> Sent: Wednesday, June 10, 2026 11:43 PM
> 
> Since converting BAR mmap()s to using DMABUFs, we lose the original
> device path in /proc/<pid>/maps, lsof, etc.  Generate a debug-oriented
> synthetic 'filename' based on the cdev, plus BDF, plus resource index.
> 
> This applies only to BAR mappings via the VFIO device fd, as
> explicitly-exported DMABUFs are named by userspace via the
> DMA_BUF_SET_NAME ioctl.
> 
> Signed-off-by: Matt Evans <[email protected]>

Reviewed-by: Kevin Tian <[email protected]>

Reply via email to