diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-06 22:40:35 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-04-08 00:39:19 +0300 |
commit | c594b26ff78e2cb315101ade73155baf868158eb (patch) | |
tree | 49aade9927c8068f58fae10b0b41f7af14c095da /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 15fcc44be0c7afa2945b1896a96ac2ddf09f1fa7 (diff) | |
download | linux-c594b26ff78e2cb315101ade73155baf868158eb.tar.xz |
vfio/mtty: Use mdev_get_type_group_id()
The type_group_id directly gives the single or dual port index, no
need for string searching.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <12-v2-d36939638fc6+d54-vfio2_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions