mbox series

[0/3] dma-mapping: Trace more error paths

Message ID 20241017181354.2834674-1-sean.anderson@linux.dev (mailing list archive)
Headers show
Series dma-mapping: Trace more error paths | expand

Message

Sean Anderson Oct. 17, 2024, 6:13 p.m. UTC
Some DMA functions are not traced when they fail. I found this pretty
confusing, since it seems like the device skips calling the DMA function
and fails anyway. This series adds some additional tracepoints to
address this.


Sean Anderson (3):
  dma-mapping: Trace dma_alloc/free direction
  dma-mapping: Use trace_dma_alloc for dma_alloc* instead of using
    trace_dma_map
  dma-mapping: Trace more error paths

 include/trace/events/dma.h | 161 +++++++++++++++++++++++++++++++++++--
 kernel/dma/mapping.c       |  37 ++++++---
 2 files changed, 178 insertions(+), 20 deletions(-)