aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorYuri Nudelman <[email protected]>2021-10-14 10:33:27 +0300
committerOded Gabbay <[email protected]>2021-12-26 08:59:04 +0200
commitf06bad02b58733ed9e65b4c8d083270c8e9d0fa7 (patch)
tree55f1f4cec63c8007d06874c8912d38badc5ecf50 /tools/perf/scripts/python/bin/stackcollapse-report
parent90d283b6726fc2e963042b6884951aa81afd0ff7 (diff)
habanalabs: wrong VA size calculation
VA blocks are currently stored in an inconsistent way. Sometimes block end is inclusive, sometimes exclusive. This leads to wrong size calculations in certain cases, plus could lead to a segmentation fault in case mapping process fails in the middle and we try to roll it back. Need to make this consistent - start inclusive till end inclusive. For example, the regions table may now look like this: 0x0000 - 0x1fff : allocated 0x2000 - 0x2fff : free 0x3000 - 0x3fff : allocated Signed-off-by: Yuri Nudelman <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions