gfio: Add support for sending logs over the network

This is for things like bw log, latency logs, etc. We add
a new depedency, zlib, for this. The logs can be quite big and
the network is not necessarily super fast, so we compress them
using zlib.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/iolog.c b/iolog.c
index 5d7c5ab..88adbf7 100644
--- a/iolog.c
+++ b/iolog.c
@@ -535,6 +535,10 @@
 
 	snprintf(file_name, 200, "%s_%s.log", prefix, postfix);
 	p = basename(file_name);
+
+	if (td->client_type == FIO_CLIENT_TYPE_GUI)
+		fio_send_iolog(td, log, p);
+
 	__finish_log(log, p);
 }