summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-11-05 11:41:40 -0800
committerLizhi Hou <lizhi.hou@amd.com>2025-11-06 09:23:42 -0800
commitdea9f84776b96a703f504631ebe9fea07bd2c181 (patch)
tree20e3f3760da168f958b3de17d0fd82e77e487519 /tools/perf/scripts/python/stackcollapse.py
parentf23e40e378a0858da26e8d5a6f09f82ecd95e247 (diff)
accel/amdxdna: Fix dma_fence leak when job is canceled
Currently, dma_fence_put(job->fence) is called in job notification callback. However, if a job is canceled, the notification callback is never invoked, leading to a memory leak. Move dma_fence_put(job->fence) to the job cleanup function to ensure the fence is always released. Fixes: aac243092b70 ("accel/amdxdna: Add command execution") Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20251105194140.1004314-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions