summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2023-08-15 15:23:46 +0800
committerVinod Koul <vkoul@kernel.org>2023-08-21 18:36:46 +0530
commit81ebed8aa2c213939a4670f508031a57d4ecbb70 (patch)
tree081a51de86d69ad862a7e3a12b4e515100132b54 /tools/perf/scripts/python/export-to-sqlite.py
parent33a0b734543ed5a44135e15f00429b94f75f2866 (diff)
dmaengine: Simplify dma_async_device_register()
There are a lot of duplicate codes for checking if the dma has some capability. Define a temporary macro that is used to check if the dma claims some capability and if the corresponding function is implemented. Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20230815072346.2798927-1-yajun.deng@linux.dev Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions