summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorZhang Chen2016-09-27 04:22:30 +0200
committerJason Wang2016-09-27 11:54:22 +0200
commit0682e15b19b2f41c0568142b42518b9471168597 (patch)
treeb3777775b2a4d24bf338317bcd5c39231a004245 /trace-events
parentcolo-compare: track connection and enqueue packet (diff)
downloadqemu-0682e15b19b2f41c0568142b42518b9471168597.tar.gz
qemu-0682e15b19b2f41c0568142b42518b9471168597.tar.xz
qemu-0682e15b19b2f41c0568142b42518b9471168597.zip
colo-compare: introduce packet comparison thread
If primary packet is same with secondary packet, we will send primary packet and drop secondary packet, otherwise notify COLO frame to do checkpoint. If primary packet comes but secondary packet does not, after REGULAR_PACKET_CHECK_MS milliseconds we set the primary packet as old_packet,then do a checkpoint. Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events2
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 9b4186f9b6..81de82c797 100644
--- a/trace-events
+++ b/trace-events
@@ -144,6 +144,8 @@ colo_proxy_main(const char *chr) ": %s"
# net/colo-compare.c
colo_compare_main(const char *chr) ": %s"
+colo_compare_ip_info(int psize, const char *sta, const char *stb, int ssize, const char *stc, const char *std) "ppkt size = %d, ip_src = %s, ip_dst = %s, spkt size = %d, ip_src = %s, ip_dst = %s"
+colo_old_packet_check_found(int64_t old_time) "%" PRId64
### Guest events, keep at bottom