mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
dma-debug: add dumping facility via debugfs
While debugging a DMA mapping leak, I needed to access debug_dma_dump_mappings() but easily from user space. This patch adds a /sys/kernel/debug/dma-api/dump file which contain all current DMA mapping. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
8e4d81b98b
commit
0a3b192c26
2 changed files with 31 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue