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(-)
--
2.35.1.1320.gc452695387.dirty