summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYi Liu <yi.l.liu@intel.com>2025-03-21 20:19:30 +0300
committerJason Gunthorpe <jgg@nvidia.com>2025-03-25 16:18:31 +0300
commit831b40f8416cf393faf41b3ae2e877a73aa6baa3 (patch)
tree283463b83897f99ecca97e4c8892f8dbfc4da9c4 /tools/perf/scripts/python/syscall-counts.py
parent75f990aef38e930f8b676562c4d4b02c1f5eccfd (diff)
downloadlinux-831b40f8416cf393faf41b3ae2e877a73aa6baa3.tar.xz
iommufd/device: Replace device_list with device_array
igroup->attach->device_list is used to track attached device of a group in the RID path. Such tracking is also needed in the PASID path in order to share path with the RID path. While there is only one list_head in the iommufd_device. It cannot work if the device has been attached in both RID path and PASID path. To solve it, replacing the device_list with an xarray. The attached iommufd_device is stored in the entry indexed by the idev->obj.id. Link: https://patch.msgid.link/r/20250321171940.7213-9-yi.l.liu@intel.com Reviewed-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Yi Liu <yi.l.liu@intel.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions