diff options
author | 2021-04-06 16:40:37 -0300 | |
---|---|---|
committer | 2021-04-07 15:39:19 -0600 | |
commit | 3d3a360e5706169a60fd4f26a9cec7da196a41c9 (patch) | |
tree | d392a68d668df111ed86902fe425ea0429fd71c9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | vfio/mdpy: Use mdev_get_type_group_id() (diff) | |
download | wireguard-linux-3d3a360e5706169a60fd4f26a9cec7da196a41c9.tar.xz wireguard-linux-3d3a360e5706169a60fd4f26a9cec7da196a41c9.zip |
vfio/mbochs: Use mdev_get_type_group_id()
The mbochs_types array is parallel to the supported_type_groups array, so
the type_group_id indexes both. Instead of doing string searching just
directly index with type_group_id in all places.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <14-v2-d36939638fc6+d54-vfio2_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions