summaryrefslogtreecommitdiffstats
path: root/hw/virtio/trace-events
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2018-01-19 11:39:24 +0100
committerMichael S. Tsirkin2018-02-08 20:06:41 +0100
commitaa3c40f6bfae251a483b5c19f5ceb8e11bdbdb18 (patch)
treea12160ec7416d0997342b84b2360a849ca687f2a /hw/virtio/trace-events
parentvhost: Merge and delete unused callbacks (diff)
downloadqemu-aa3c40f6bfae251a483b5c19f5ceb8e11bdbdb18.tar.gz
qemu-aa3c40f6bfae251a483b5c19f5ceb8e11bdbdb18.tar.xz
qemu-aa3c40f6bfae251a483b5c19f5ceb8e11bdbdb18.zip
vhost: Move log_dirty check
Move the log_dirty check into vhost_section. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/trace-events')
-rw-r--r--hw/virtio/trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio/trace-events b/hw/virtio/trace-events
index 606e4fc949..742ff0f90b 100644
--- a/hw/virtio/trace-events
+++ b/hw/virtio/trace-events
@@ -4,6 +4,7 @@
vhost_commit(bool started, bool changed) "Started: %d Changed: %d"
vhost_region_add_section(const char *name, uint64_t gpa, uint64_t size, uint64_t host) "%s: 0x%"PRIx64"+0x%"PRIx64" @ 0x%"PRIx64
vhost_region_add_section_abut(const char *name, uint64_t new_size) "%s: 0x%"PRIx64
+vhost_section(const char *name, int r) "%s:%d"
# hw/virtio/virtio.c
virtqueue_alloc_element(void *elem, size_t sz, unsigned in_num, unsigned out_num) "elem %p size %zd in_num %u out_num %u"