aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorWei Wang <[email protected]>2023-02-07 20:37:12 +0800
committerSean Christopherson <[email protected]>2023-06-13 14:18:09 -0700
commit5ea5ca3c2b4bf4090232e18cfc515dcb52f914a6 (patch)
treeceaa5ba4da71e1213afe13f44de19d8db1337137 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent5f643e460ab1298a32b7d0db104bfcab9d6165c0 (diff)
KVM: destruct kvm_io_device while unregistering it from kvm_io_bus
Current usage of kvm_io_device requires users to destruct it with an extra call of kvm_iodevice_destructor after the device gets unregistered from kvm_io_bus. This is not necessary and can cause errors if a user forgot to make the extra call. Simplify the usage by combining kvm_iodevice_destructor into kvm_io_bus_unregister_dev. This reduces LOCs a bit for users and can avoid the leakage of destructing the device explicitly. Signed-off-by: Wei Wang <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions