summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShivank Garg <shivankg@amd.com>2026-08-22 19:22:03 +0000
committerVinod Koul <vkoul@kernel.org>2026-09-09 17:51:44 +0530
commit424103642d009f5a7dc33300a49d5606d1bf4fb5 (patch)
tree97391350a2b9dcf109a8226e51efc48fb5f4f3cf /tools/perf/scripts/python/stackcollapse.py
parenta7df136ec529ee49a789c5029bc37b98b0d4bedd (diff)
downloadlinux-next-424103642d009f5a7dc33300a49d5606d1bf4fb5.tar.gz
linux-next-424103642d009f5a7dc33300a49d5606d1bf4fb5.zip
dmaengine: add dma_device_get() helper
Add dma_device_get() helper to match dma_device_put() to make code symmetric. It wraps open-coded kref_get_unless_zero() and asserts that dma_list_mutex is held, matching its put counterpart. No functional change intended. Suggested-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Shivank Garg <shivankg@amd.com> Link: https://patch.msgid.link/20260822-dmaengine-kref-fix-v5-1-d4a4ee47d927@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions