summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTony Krowiak <akrowiak@linux.ibm.com>2021-01-28 15:53:07 -0500
committerAlexander Gordeev <agordeev@linux.ibm.com>2022-07-19 16:18:08 +0200
commit034921cdea1c4c491735c8eb344634c7b899d930 (patch)
tree182b193a15b119ec7eb10044051eb066ea8ed0c2 /tools/perf/scripts/python/export-to-postgresql.py
parent5352ebf735064373dc2dd96b39c0fbf347db0095 (diff)
s390/vfio-ap: use new AP bus interface to search for queue devices
This patch refactors the vfio_ap device driver to use the AP bus's ap_get_qdev() function to retrieve the vfio_ap_queue struct containing information about a queue that is bound to the vfio_ap device driver. The bus's ap_get_qdev() function retrieves the queue device from a hashtable keyed by APQN. This is much more efficient than looping over the list of devices attached to the AP bus by several orders of magnitude. Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions