aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIsaac J. Manjarres <isaacmanjarres@google.com>2023-12-08 15:41:40 -0800
committerJoerg Roedel <jroedel@suse.de>2023-12-15 09:04:16 +0100
commita63c357b9fd56ad5fe64616f5b22835252c6a76a (patch)
tree9e2a148bf94a03ad4fb794e2598265ebf720a13c /tools/perf/scripts/python
parentiommu/tegra: Use tegra_dev_iommu_get_stream_id() in the remaining places (diff)
downloadwireguard-linux-a63c357b9fd56ad5fe64616f5b22835252c6a76a.tar.xz
wireguard-linux-a63c357b9fd56ad5fe64616f5b22835252c6a76a.zip
iommu/dma: Trace bounce buffer usage when mapping buffers
When commit 82612d66d51d ("iommu: Allow the dma-iommu api to use bounce buffers") was introduced, it did not add the logic for tracing the bounce buffer usage from iommu_dma_map_page(). All of the users of swiotlb_tbl_map_single() trace their bounce buffer usage, except iommu_dma_map_page(). This makes it difficult to track SWIOTLB usage from that function. Thus, trace bounce buffer usage from iommu_dma_map_page(). Fixes: 82612d66d51d ("iommu: Allow the dma-iommu api to use bounce buffers") Cc: stable@vger.kernel.org # v5.15+ Cc: Tom Murphy <murphyt7@tcd.ie> Cc: Lu Baolu <baolu.lu@linux.intel.com> Cc: Saravana Kannan <saravanak@google.com> Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com> Link: https://lore.kernel.org/r/20231208234141.2356157-1-isaacmanjarres@google.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions