summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2020-05-07 17:01:36 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-06-04 22:36:52 +0300
commit3c42e198e668e4040ef5cf3ad60d57765abc08a4 (patch)
treeb4e6383775ebb0c49309991b4a94191650f4d2bb /tools/perf/scripts/python/export-to-postgresql.py
parentebf71552bb0e690cad523ad175e8c4c89a33c333 (diff)
downloadlinux-3c42e198e668e4040ef5cf3ad60d57765abc08a4.tar.xz
virtio-mem: Drop manual check for already present memory
Registering our parent resource will fail if any memory is still present (e.g., because somebody unloaded the driver and tries to reload it). No need for the manual check. Move our "unplug all" handling to after registering the resource. Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Signed-off-by: David Hildenbrand <david@redhat.com> Link: https://lore.kernel.org/r/20200507140139.17083-13-david@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions