summaryrefslogtreecommitdiffstats
path: root/net/trace-events
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2019-02-27 14:24:08 +0100
committerJason Wang2019-03-05 04:27:41 +0100
commit7659505c1680643d13ad7675f9e649d388303059 (patch)
tree502da4c1b4ba4b5397727810385c2fe8ca6eb4ad /net/trace-events
parentvirtio-net: Switch to using announce timer (diff)
downloadqemu-7659505c1680643d13ad7675f9e649d388303059.tar.gz
qemu-7659505c1680643d13ad7675f9e649d388303059.tar.xz
qemu-7659505c1680643d13ad7675f9e649d388303059.zip
migration: Switch to using announce timer
Switch the announcements to using the new announce timer. Move the code that does it to announce.c rather than savevm because it really has nothing to do with the actual migration. Migration starts the announce from bh's and so they're all in the main thread/bql, and so there's never any racing with the timers themselves. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/trace-events')
-rw-r--r--net/trace-events3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/trace-events b/net/trace-events
index 7b594cfdd2..3417ac05b0 100644
--- a/net/trace-events
+++ b/net/trace-events
@@ -1,5 +1,8 @@
# See docs/devel/tracing.txt for syntax documentation.
+# net/announce.c
+qemu_announce_self_iter(const char *mac) "%s"
+
# net/vhost-user.c
vhost_user_event(const char *chr, int event) "chr: %s got event: %d"