aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJoel Fernandes <[email protected]>2013-09-03 10:02:46 -0500
committerVinod Koul <[email protected]>2013-09-04 18:38:46 +0530
commit534070622d2c7fbc5cc929aa93541ccd0ae52ab1 (patch)
tree30bd34589b97c189ae86a5a4b0f12f11b1e5379d /tools/perf/util/trace-event-scripting.c
parent6fbe24da828ff344372c38441156caefc4a51b3e (diff)
dma: edma: Write out and handle MAX_NR_SG at a given time
Process SG-elements in batches of MAX_NR_SG if they are greater than MAX_NR_SG. Due to this, at any given time only those many slots will be used in the given channel no matter how long the scatter list is. We keep track of how much has been written inorder to process the next batch of elements in the scatter-list and detect completion. For such intermediate transfer completions (one batch of MAX_NR_SG), make use of pause and resume functions instead of start and stop when such intermediate transfer is in progress or completed as we donot want to clear any pending events. Signed-off-by: Joel Fernandes <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions