aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2012-10-18 14:00:58 -0600
committerJoerg Roedel <[email protected]>2012-10-24 17:07:43 +0200
commit8d7f62e6a7aa0bfd7163d3c4a5fb59280f6a6eb5 (patch)
treecafab6820ac262f0c718e498f92fb08ce8033271 /tools/perf/util/trace-event-scripting.c
parent6c9c6d6301287e369a754d628230fa6e50cdb74b (diff)
Documentation DMA-API-HOWTO.txt Add dma mapping error check usage examples
Enhance the document to discuss the importance of dma mapping error checks after dma_map_single() and dma_map_page() calls. Also added usage examples that include unmap examples in error paths when dma mapping error is returned. Includes correct and incorrect usages to high light some common mistakes in error paths especially when dma mapping fails when more than one dma mapping call is made. Signed-off-by: Shuah Khan <[email protected]> Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions