]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dma-mapping: trace dma_alloc/free direction
authorSean Anderson <sean.anderson@linux.dev>
Fri, 18 Oct 2024 15:00:35 +0000 (11:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:35:41 +0000 (16:35 +0200)
commit1edd532f24a774e514eb80513c4164eb46ace8de
tree4d526bf9597c15e56300286dd319c77f915c3834
parentc39e8483dbcbea3b033d1ef8d27e75f20666d942
dma-mapping: trace dma_alloc/free direction

[ Upstream commit 3afff779a725cba914e6caba360b696ae6f90249 ]

In preparation for using these tracepoints in a few more places, trace
the DMA direction as well. For coherent allocations this is always
bidirectional.

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Stable-dep-of: 7e2368a21741 ("dma-debug: don't enforce dma mapping check on noncoherent allocations")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/trace/events/dma.h
kernel/dma/mapping.c