summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorDaniel P. Berrange2015-02-27 19:25:25 +0100
committerDaniel P. Berrange2015-12-18 13:18:31 +0100
commitd6e48869a41b61bb2f4eb0a787c08225630feb9e (patch)
tree9eb1ad774b0adb6055fc2e4440edb6929bc55725 /trace-events
parentio: add QIOChannelSocket class (diff)
downloadqemu-d6e48869a41b61bb2f4eb0a787c08225630feb9e.tar.gz
qemu-d6e48869a41b61bb2f4eb0a787c08225630feb9e.tar.xz
qemu-d6e48869a41b61bb2f4eb0a787c08225630feb9e.zip
io: add QIOChannelFile class
Add a QIOChannel subclass that is capable of operating on things that are files, such as plain files, pipes, character/block devices, but notably not sockets. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index b335193011..88c83f4431 100644
--- a/trace-events
+++ b/trace-events
@@ -1836,3 +1836,7 @@ qio_channel_socket_dgram_complete(void *ioc, int fd) "Socket dgram complete ioc=
qio_channel_socket_accept(void *ioc) "Socket accept start ioc=%p"
qio_channel_socket_accept_fail(void *ioc) "Socket accept fail ioc=%p"
qio_channel_socket_accept_complete(void *ioc, void *cioc, int fd) "Socket accept complete ioc=%p cioc=%p fd=%d"
+
+# io/channel-file.c
+qio_channel_file_new_fd(void *ioc, int fd) "File new fd ioc=%p fd=%d"
+qio_channel_file_new_path(void *ioc, const char *path, int flags, int mode, int fd) "File new fd ioc=%p path=%s flags=%d mode=%d fd=%d"