Skip to content
Snippets Groups Projects
Commit 0a3b192c authored by Corentin Labbe's avatar Corentin Labbe Committed by Christoph Hellwig
Browse files

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: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 8e4d81b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment