diff options
| author | Yisheng Xie <[email protected]> | 2018-05-21 11:57:45 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2018-06-08 16:24:33 +0000 |
| commit | e77addf018f0c8d947ddc0bef2cd6d4791da7dde (patch) | |
| tree | 8bb90082ddb4b0312c18c08af2f9ae2459c322be /tools/perf/scripts/python/intel-pt-events.py | |
| parent | vfio/mdev: Re-order sysfs attribute creation (diff) | |
| download | kernel-e77addf018f0c8d947ddc0bef2cd6d4791da7dde.tar.gz kernel-e77addf018f0c8d947ddc0bef2cd6d4791da7dde.zip | |
vfio: use match_string() helper
match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.
Cc: Alex Williamson <[email protected]>
Cc: [email protected]
Signed-off-by: Yisheng Xie <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
