path: root/client.h
diff options
authorJens Axboe <>2012-03-03 20:28:07 +0100
committerJens Axboe <>2012-03-03 20:28:07 +0100
commit084d1c6f817eacaaefa1de4f0637ef6c1405d74b (patch)
treeadcb14ec097809eeda0cd2d5a62c5590047d70f9 /client.h
parent0b8d11ed135ac467c071c2ae0fe4f3a69a3b8feb (diff)
Add new net command for text logging
Encapsulate the text in a payload, that also includes the logging level and the time the event took place. The text client will do as it always has done, but the gui client can now do proper logging and knows if this is debug/info or error messages. No functional change in the GUI. Signed-off-by: Jens Axboe <>
Diffstat (limited to 'client.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/client.h b/client.h
index de6c1971..7ab4c83a 100644
--- a/client.h
+++ b/client.h
@@ -46,8 +46,7 @@ struct fio_client {
void *client_data;
-typedef void (*client_text_op_func)(struct fio_client *client,
- FILE *f, __u16 pdu_len, const char *buf);
+typedef void (*client_text_op_func)(struct fio_client *client, struct fio_net_cmd *cmd);
typedef void (*client_disk_util_op_func)(struct fio_client *client, struct fio_net_cmd *cmd);
typedef void (*client_thread_status_op)(struct fio_net_cmd *cmd);
typedef void (*client_group_stats_op)(struct fio_net_cmd *cmd);