]> www.infradead.org Git - users/dwmw2/linux.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)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Oct 2024 07:54:00 +0000 (08:54 +0100)
commit3afff779a725cba914e6caba360b696ae6f90249
tree4915013e88c9d242496b5f1a38cf60840d8232ba
parent5af5fc895fb9deec3d7b225f5bc2bd4949f8bbd5
dma-mapping: trace dma_alloc/free direction

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>
include/trace/events/dma.h
kernel/dma/mapping.c