aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorOhad Sharabi <[email protected]>2022-06-12 15:00:29 +0300
committerOded Gabbay <[email protected]>2022-09-18 13:29:53 +0300
commit0263256791094180ab8749b224ef7bfe0bfd67bb (patch)
tree8c6399d75795e897d119b8fef07b4d3604290d11 /tools/perf/scripts/python/sched-migration.py
parent4eb87df3d04aa725e752fe2df0df3e83f204d247 (diff)
habanalabs: trace DMA allocations
This patch add tracepoints in the code for DMA allocation. The main purpose is to be able to cross data with the map operations and determine whether memory violation occurred, for example free DMA allocation before unmapping it from device memory. To achieve this the DMA alloc/free code flows were refactored so that a single DMA tracepoint will catch many flows. To get better understanding of what happened in the DMA allocations the real allocating function is added to the trace as well. Signed-off-by: Ohad Sharabi <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Reviewed-by: Steven Rostedt (Google) <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions