Unused trace event cause build failure when using the dtrace backend:

  "probe colo_compare_miscompare doesn't exist"

Fixes: f4b618360e ("colo-compare: add TCP, UDP, ICMP packet comparison")
Reported-by: Roman Bolshakov <r.bolsha...@yadro.com>
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>
---
Cc: zhangchen.f...@cn.fujitsu.com
---
 net/trace-events | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/trace-events b/net/trace-events
index fa49c71533..c3f623d40c 100644
--- a/net/trace-events
+++ b/net/trace-events
@@ -17,7 +17,6 @@ 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) ""
 colo_compare_tcp_info(const char *pkt, uint32_t seq, uint32_t ack, int hdlen, 
int pdlen, int offset, int flags) "%s: seq/ack= %u/%u hdlen= %d pdlen= %d 
offset= %d flags=%d"
 
 # filter-rewriter.c
-- 
2.21.3


Reply via email to