summaryrefslogtreecommitdiffstats
path: root/migration/trace-events
diff options
context:
space:
mode:
authorJuan Quintela2018-04-06 18:28:59 +0200
committerJuan Quintela2018-06-27 13:28:11 +0200
commit408ea6ae4c8f94621dff64d69c7fa3f6e84ef2fb (patch)
tree56a096d409aa9322948c2fa4dc2eaafdc2e4a7b6 /migration/trace-events
parentmigration: Abstract the number of bytes sent (diff)
downloadqemu-408ea6ae4c8f94621dff64d69c7fa3f6e84ef2fb.tar.gz
qemu-408ea6ae4c8f94621dff64d69c7fa3f6e84ef2fb.tar.xz
qemu-408ea6ae4c8f94621dff64d69c7fa3f6e84ef2fb.zip
migration: Add multifd traces for start/end thread
We want to know how many pages/packets each channel has sent. Add counters for those. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> -- sort trace-events (dave)
Diffstat (limited to 'migration/trace-events')
-rw-r--r--migration/trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/migration/trace-events b/migration/trace-events
index 3f67758893..a80aaa8b3f 100644
--- a/migration/trace-events
+++ b/migration/trace-events
@@ -76,6 +76,10 @@ get_queued_page_not_dirty(const char *block_name, uint64_t tmp_offset, unsigned
migration_bitmap_sync_start(void) ""
migration_bitmap_sync_end(uint64_t dirty_pages) "dirty_pages %" PRIu64
migration_throttle(void) ""
+multifd_recv_thread_end(uint8_t id, uint64_t packets, uint64_t pages) "channel %d packets %" PRIu64 " pages %" PRIu64
+multifd_recv_thread_start(uint8_t id) "%d"
+multifd_send_thread_end(uint8_t id, uint64_t packets, uint64_t pages) "channel %d packets %" PRIu64 " pages %" PRIu64
+multifd_send_thread_start(uint8_t id) "%d"
ram_discard_range(const char *rbname, uint64_t start, size_t len) "%s: start: %" PRIx64 " %zx"
ram_load_loop(const char *rbname, uint64_t addr, int flags, void *host) "%s: addr: 0x%" PRIx64 " flags: 0x%x host: %p"
ram_load_postcopy_loop(uint64_t addr, int flags) "@%" PRIx64 " %x"