From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
"Daniel P. Berrange" <berrange@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PULL 01/20] trace: move colo trace events to net/ sub-directory
Date: Fri, 7 Oct 2016 11:09:20 +0100 [thread overview]
Message-ID: <1475834979-4980-2-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1475834979-4980-1-git-send-email-stefanha@redhat.com>
From: "Daniel P. Berrange" <berrange@redhat.com>
The colo patch series added various trace events to the top
level trace-events file, despite the files using them being
in a sub-dir.
commit 30656b097e9dd7978d3fe9416cb9f5a421a9e63e
Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Date: Tue Sep 27 10:22:34 2016 +0800
filter-rewriter: rewrite tcp packet to keep secondary connection
commit f4b618360e5a81b097e2e35d52011bec3c63af68
Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Date: Tue Sep 27 10:22:31 2016 +0800
colo-compare: add TCP, UDP, ICMP packet comparison
We add TCP,UDP,ICMP packet comparison to replace
IP packet comparison. This can increase the
accuracy of the package comparison.
Less checkpoint more efficiency.
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>
commit 0682e15b19b2f41c0568142b42518b9471168597
Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Date: Tue Sep 27 10:22:30 2016 +0800
colo-compare: introduce packet comparison thread
commit 59509ec16b7ee92b3f8261c554023aa1d3169317
Author: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Date: Tue Sep 27 10:22:27 2016 +0800
net/colo.c: add colo.c to define and handle packet
This moves all events into net/trace-events where they
were supposed to live.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475588159-30598-2-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
net/trace-events | 16 ++++++++++++++++
trace-events | 16 ----------------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/net/trace-events b/net/trace-events
index 65c46a4..d67f048 100644
--- a/net/trace-events
+++ b/net/trace-events
@@ -2,3 +2,19 @@
# net/vhost-user.c
vhost_user_event(const char *chr, int event) "chr: %s got event: %d"
+
+# net/colo.c
+colo_proxy_main(const char *chr) ": %s"
+
+# net/colo-compare.c
+colo_compare_main(const char *chr) ": %s"
+colo_compare_udp_miscompare(const char *sta, int size) ": %s = %d"
+colo_compare_icmp_miscompare(const char *sta, int size) ": %s = %d"
+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
+colo_compare_miscompare(void) ""
+
+# net/filter-rewriter.c
+colo_filter_rewriter_debug(void) ""
+colo_filter_rewriter_pkt_info(const char *func, const char *src, const char *dst, uint32_t seq, uint32_t ack, uint32_t flag) "%s: src/dst: %s/%s p: seq/ack=%u/%u flags=%x\n"
+colo_filter_rewriter_conn_offset(uint32_t offset) ": offset=%u\n"
diff --git a/trace-events b/trace-events
index 1a4e092..bd2199a 100644
--- a/trace-events
+++ b/trace-events
@@ -122,22 +122,6 @@ memory_region_subpage_write(int cpu_index, void *mr, uint64_t offset, uint64_t v
memory_region_tb_read(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u"
memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u"
-# net/colo.c
-colo_proxy_main(const char *chr) ": %s"
-
-# net/colo-compare.c
-colo_compare_main(const char *chr) ": %s"
-colo_compare_udp_miscompare(const char *sta, int size) ": %s = %d"
-colo_compare_icmp_miscompare(const char *sta, int size) ": %s = %d"
-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
-colo_compare_miscompare(void) ""
-
-# net/filter-rewriter.c
-colo_filter_rewriter_debug(void) ""
-colo_filter_rewriter_pkt_info(const char *func, const char *src, const char *dst, uint32_t seq, uint32_t ack, uint32_t flag) "%s: src/dst: %s/%s p: seq/ack=%u/%u flags=%x\n"
-colo_filter_rewriter_conn_offset(uint32_t offset) ": offset=%u\n"
-
### Guest events, keep at bottom
--
2.7.4
next prev parent reply other threads:[~2016-10-07 10:09 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-07 10:09 [Qemu-devel] [PULL 00/20] Tracing patches Stefan Hajnoczi
2016-10-07 10:09 ` Stefan Hajnoczi [this message]
2016-10-07 10:09 ` [Qemu-devel] [PULL 02/20] trace: add trace event iterator APIs Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 03/20] trace: convert code to use event iterators Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 04/20] trace: remove some now unused functions Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 05/20] trace: remove global 'uint16 dstate[]' array Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 06/20] trace: remove duplicate control.h includes in generated-tracers.h Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 07/20] trace: break circular dependency in event-internal.h Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 08/20] trace: give each trace event a named TraceEvent struct Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 09/20] trace: remove the TraceEventID and TraceEventVCPUID enums Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 10/20] trace: emit name <-> ID mapping in simpletrace header Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 11/20] trace: don't abort qemu if ftrace can't be initialized Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 12/20] trace: provide mechanism for registering trace events Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 13/20] trace: dynamically allocate trace_dstate in CPUState Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 14/20] trace: dynamically allocate event IDs at runtime Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 15/20] trace: get rid of generated-events.h/generated-events.c Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 16/20] trace: rename _read_events to read_events Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 17/20] trace: push reading of events up a level to tracetool main Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 18/20] trace: pass trace-events to tracetool as a positional param Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 19/20] trace: introduce a formal group name for trace events Stefan Hajnoczi
2016-10-07 10:09 ` [Qemu-devel] [PULL 20/20] trace: Add missing execution mode of guest events Stefan Hajnoczi
2016-10-07 13:22 ` [Qemu-devel] [PULL 00/20] Tracing patches Peter Maydell
2016-10-07 13:35 ` Daniel P. Berrange
2016-10-07 13:46 ` Lluís Vilanova
2016-10-07 14:16 ` Peter Maydell
2016-10-07 14:19 ` Daniel P. Berrange
2016-10-07 17:51 ` Lluís Vilanova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1475834979-4980-2-git-send-email-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=berrange@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).