Skip to content

dma-mapping: Trace more error paths

Sean Anderson linux-iommu linux-trace-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Use macros to define events in a class

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dma-mapping: Use macros to define events in a classinclude/trace/events/dma.h+28 -320 replies
2/4dma-mapping: Trace dma_alloc/free directioninclude/trace/events/dma.h kernel/dma/mapping.c+16 -80 replies
3/4dma-mapping: Use trace_dma_alloc for dma_alloc* instead of using trace_dma_mapinclude/trace/events/dma.h kernel/dma/mapping.c+102 -71 reply
4/4dma-mapping: Trace more error pathsinclude/trace/events/dma.h kernel/dma/mapping.c+55 -80 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchSteven Rostedt (Google)
1/4
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] dma-mapping: Trace more error paths

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.

Changes in v2:
- Use macros to define events in a class

Sean Anderson (4):
dma-mapping: Use macros to define events in a class
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 | 213 ++++++++++++++++++++++++++++++-------
 kernel/dma/mapping.c       |  37 ++++---
 2 files changed, 198 insertions(+), 52 deletions(-)
Signature · 1 line
2.35.1.1320.gc452695387.dirty