diff options
author | Jason Gunthorpe <[email protected]> | 2021-04-06 16:40:36 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-04-07 15:39:19 -0600 |
commit | adc9d1f6f5db811f5269cfc66c48fc0cab6c041c (patch) | |
tree | 2ab5a5406465c49aca383877e82ae3b00f0d0ab8 /tools/perf/util/trace-event-scripting.c | |
parent | c594b26ff78e2cb315101ade73155baf868158eb (diff) |
vfio/mdpy: Use mdev_get_type_group_id()
The mdpy_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 <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions