| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | What: /sys/kernel/dmabuf/buffers |
| 2 | Date: January 2021 |
| 3 | KernelVersion: v5.12 |
| 4 | Contact: Hridya Valsaraju <hridya@google.com> |
| 5 | Description: The /sys/kernel/dmabuf/buffers directory contains a |
| 6 | snapshot of the internal state of every DMA-BUF. |
| 7 | /sys/kernel/dmabuf/buffers/<inode_number> will contain the |
| 8 | statistics for the DMA-BUF with the unique inode number |
| 9 | <inode_number> |
| 10 | Users: kernel memory tuning/debugging tools |
| 11 | |
| 12 | What: /sys/kernel/dmabuf/buffers/<inode_number>/exporter_name |
| 13 | Date: January 2021 |
| 14 | KernelVersion: v5.12 |
| 15 | Contact: Hridya Valsaraju <hridya@google.com> |
| 16 | Description: This file is read-only and contains the name of the exporter of |
| 17 | the DMA-BUF. |
| 18 | |
| 19 | What: /sys/kernel/dmabuf/buffers/<inode_number>/size |
| 20 | Date: January 2021 |
| 21 | KernelVersion: v5.12 |
| 22 | Contact: Hridya Valsaraju <hridya@google.com> |
| 23 | Description: This file is read-only and specifies the size of the DMA-BUF in |
| 24 | bytes. |