Merge tag 'defconfig-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / drivers / dma-buf / Kconfig
index 4e16c71..9561e3d 100644 (file)
@@ -72,6 +72,17 @@ menuconfig DMABUF_HEAPS
          allows userspace to allocate dma-bufs that can be shared
          between drivers.
 
+menuconfig DMABUF_SYSFS_STATS
+       bool "DMA-BUF sysfs statistics"
+       select DMA_SHARED_BUFFER
+       help
+          Choose this option to enable DMA-BUF sysfs statistics
+          in location /sys/kernel/dmabuf/buffers.
+
+          /sys/kernel/dmabuf/buffers/<inode_number> will contain
+          statistics for the DMA-BUF with the unique inode number
+          <inode_number>.
+
 source "drivers/dma-buf/heaps/Kconfig"
 
 endmenu