path: root/trace-events
diff options
authorDaniel P. Berrange <berrange@redhat.com>2015-08-27 16:25:30 +0100
committerDaniel P. Berrange <berrange@redhat.com>2015-12-18 12:18:31 +0000
commit195e14d0262c5676cb9ff4b253e4b2b15c19d3f0 (patch)
tree5f75e92f0f06e28e516b7fbcb213cb0d453094df /trace-events
parent2d1d0e70cf3eadca967427e71b2c5c7d031bc5c8 (diff)
io: add QIOChannelCommand class
Add a QIOChannel subclass that is capable of performing I/O to/from a separate process, via a pair of pipes. The command can be used for unidirectional or bi-directional I/O. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'trace-events')
1 files changed, 6 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index ae6ad22f38..6f036384a8 100644
--- a/trace-events
+++ b/trace-events
@@ -1858,3 +1858,9 @@ qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake
qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p"
qio_channel_websock_handshake_fail(void *ioc) "Websock handshake fail ioc=%p"
qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"
+# io/channel-command.c
+qio_channel_command_new_pid(void *ioc, int writefd, int readfd, int pid) "Command new pid ioc=%p writefd=%d readfd=%d pid=%d"
+qio_channel_command_new_spawn(void *ioc, const char *binary, int flags) "Command new spawn ioc=%p binary=%s flags=%d"
+qio_channel_command_abort(void *ioc, int pid) "Command abort ioc=%p pid=%d"
+qio_channel_command_wait(void *ioc, int pid, int ret, int status) "Command abort ioc=%p pid=%d ret=%d status=%d"