summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2024-10-25 16:11:53 +0300
committerJason Gunthorpe <jgg@nvidia.com>2024-10-28 19:24:23 +0300
commit99ff06dcca20b0d88b21278ebc563ce1bfbbd5b0 (patch)
treefacb8d0ca727195f1755d2816e311705f097352d /tools/perf/scripts/python/stackcollapse.py
parent32383c085c1c7e2e4d9e1a3b31eb1ff17b0a5a85 (diff)
downloadlinux-99ff06dcca20b0d88b21278ebc563ce1bfbbd5b0.tar.xz
iommufd: Generalize iopt_pages address
The starting address in iopt_pages is currently a __user *uptr. Generalize to allow other types of addresses. Refactor iopt_alloc_pages() and iopt_map_user_pages() into address-type specific and common functions. Link: https://patch.msgid.link/r/1729861919-234514-4-git-send-email-steven.sistare@oracle.com Suggested-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions