xref: /openbmc/qemu/io/trace-events (revision 2df1eb27)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# task.c
4qio_task_new(void *task, void *source, void *func, void *opaque) "Task new task=%p source=%p func=%p opaque=%p"
5qio_task_complete(void *task) "Task complete task=%p"
6qio_task_thread_start(void *task, void *worker, void *opaque) "Task thread start task=%p worker=%p opaque=%p"
7qio_task_thread_run(void *task) "Task thread run task=%p"
8qio_task_thread_exit(void *task) "Task thread exit task=%p"
9qio_task_thread_result(void *task) "Task thread result task=%p"
10qio_task_thread_source_attach(void *task, void *source) "Task thread source attach task=%p source=%p"
11qio_task_thread_source_cancel(void *task, void *source) "Task thread source cancel task=%p source=%p"
12
13# channel-null.c
14qio_channel_null_new(void *ioc) "Null new ioc=%p"
15
16# channel-socket.c
17qio_channel_socket_new(void *ioc) "Socket new ioc=%p"
18qio_channel_socket_new_fd(void *ioc, int fd) "Socket new ioc=%p fd=%d"
19qio_channel_socket_connect_sync(void *ioc, void *addr) "Socket connect sync ioc=%p addr=%p"
20qio_channel_socket_connect_async(void *ioc, void *addr) "Socket connect async ioc=%p addr=%p"
21qio_channel_socket_connect_fail(void *ioc) "Socket connect fail ioc=%p"
22qio_channel_socket_connect_complete(void *ioc, int fd) "Socket connect complete ioc=%p fd=%d"
23qio_channel_socket_listen_sync(void *ioc, void *addr, int num) "Socket listen sync ioc=%p addr=%p num=%d"
24qio_channel_socket_listen_async(void *ioc, void *addr, int num) "Socket listen async ioc=%p addr=%p num=%d"
25qio_channel_socket_listen_fail(void *ioc) "Socket listen fail ioc=%p"
26qio_channel_socket_listen_complete(void *ioc, int fd) "Socket listen complete ioc=%p fd=%d"
27qio_channel_socket_dgram_sync(void *ioc, void *localAddr, void *remoteAddr) "Socket dgram sync ioc=%p localAddr=%p remoteAddr=%p"
28qio_channel_socket_dgram_async(void *ioc, void *localAddr, void *remoteAddr) "Socket dgram async ioc=%p localAddr=%p remoteAddr=%p"
29qio_channel_socket_dgram_fail(void *ioc) "Socket dgram fail ioc=%p"
30qio_channel_socket_dgram_complete(void *ioc, int fd) "Socket dgram complete ioc=%p fd=%d"
31qio_channel_socket_accept(void *ioc) "Socket accept start ioc=%p"
32qio_channel_socket_accept_fail(void *ioc) "Socket accept fail ioc=%p"
33qio_channel_socket_accept_complete(void *ioc, void *cioc, int fd) "Socket accept complete ioc=%p cioc=%p fd=%d"
34
35# channel-file.c
36qio_channel_file_new_fd(void *ioc, int fd) "File new fd ioc=%p fd=%d"
37qio_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"
38
39# channel-tls.c
40qio_channel_tls_new_client(void *ioc, void *master, void *creds, const char *hostname) "TLS new client ioc=%p master=%p creds=%p hostname=%s"
41qio_channel_tls_new_server(void *ioc, void *master, void *creds, const char *aclname) "TLS new client ioc=%p master=%p creds=%p acltname=%s"
42qio_channel_tls_handshake_start(void *ioc) "TLS handshake start ioc=%p"
43qio_channel_tls_handshake_pending(void *ioc, int status) "TLS handshake pending ioc=%p status=%d"
44qio_channel_tls_handshake_fail(void *ioc) "TLS handshake fail ioc=%p"
45qio_channel_tls_handshake_complete(void *ioc) "TLS handshake complete ioc=%p"
46qio_channel_tls_credentials_allow(void *ioc) "TLS credentials allow ioc=%p"
47qio_channel_tls_credentials_deny(void *ioc) "TLS credentials deny ioc=%p"
48
49# channel-websock.c
50qio_channel_websock_new_server(void *ioc, void *master) "Websock new client ioc=%p master=%p"
51qio_channel_websock_handshake_start(void *ioc) "Websock handshake start ioc=%p"
52qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake pending ioc=%p status=%d"
53qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p"
54qio_channel_websock_handshake_fail(void *ioc, const char *msg) "Websock handshake fail ioc=%p err=%s"
55qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"
56qio_channel_websock_http_greeting(void *ioc, const char *greeting) "Websocket HTTP request ioc=%p greeting='%s'"
57qio_channel_websock_http_request(void *ioc, const char *protocols, const char *version, const char *host, const char *connection, const char *upgrade, const char *key) "Websocket HTTP request ioc=%p protocols='%s' version='%s' host='%s' connection='%s' upgrade='%s' key='%s'"
58qio_channel_websock_header_partial_decode(void *ioc, size_t payloadlen, unsigned char fin, unsigned char opcode, unsigned char has_mask) "Websocket header decoded ioc=%p payload-len=%zu fin=0x%x opcode=0x%x has_mask=0x%x"
59qio_channel_websock_header_full_decode(void *ioc, size_t headerlen, size_t payloadlen, uint32_t mask) "Websocket header decoded ioc=%p header-len=%zu payload-len=%zu mask=0x%x"
60qio_channel_websock_payload_decode(void *ioc, uint8_t opcode, size_t payload_remain) "Websocket header decoded ioc=%p opcode=0x%x payload-remain=%zu"
61qio_channel_websock_encode(void *ioc, uint8_t opcode, size_t payloadlen, size_t headerlen) "Websocket encoded ioc=%p opcode=0x%x header-len=%zu payload-len=%zu"
62qio_channel_websock_close(void *ioc) "Websocket close ioc=%p"
63
64# channel-command.c
65qio_channel_command_new_pid(void *ioc, int writefd, int readfd, int pid) "Command new pid ioc=%p writefd=%d readfd=%d pid=%d"
66qio_channel_command_new_spawn(void *ioc, const char *binary, int flags) "Command new spawn ioc=%p binary=%s flags=%d"
67qio_channel_command_abort(void *ioc, int pid) "Command abort ioc=%p pid=%d"
68qio_channel_command_wait(void *ioc, int pid, int ret, int status) "Command abort ioc=%p pid=%d ret=%d status=%d"
69