aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2023-08-14 18:01:21 +0300
committerOded Gabbay <[email protected]>2023-10-09 12:37:22 +0300
commitd89d329a2bb39e0e0ad37d7a40302d0fa7e8851a (patch)
treeec1df790974f4572ecd3925a572367de7e7b3f45 /tools/perf/scripts/python/syscall-counts.py
parent0b75cb5b240fddf181c284d415ee77ef61b418d6 (diff)
accel/habanalabs: tiny refactor of hl_map_dmabuf()
alloc_sgt_from_device_pages() includes relatively many parameters, and in a subsequent change another offset parameter is going to be added. Using structure fields directly when calling this function, and in hl_map_dmabuf() it is done twice, makes it a little bit difficult to understand the meaning of the parameters. To make it clearer, assign the required values into local variables with explicit names, and use the variables when calling the function. Signed-off-by: Tomer Tayar <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions