xref: /openbmc/qemu/io/trace-events (revision 0b84b662)
1# See docs/devel/tracing.txt 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-socket.c
14qio_channel_socket_new(void *ioc) "Socket new ioc=%p"
15qio_channel_socket_new_fd(void *ioc, int fd) "Socket new ioc=%p fd=%d"
16qio_channel_socket_connect_sync(void *ioc, void *addr) "Socket connect sync ioc=%p addr=%p"
17qio_channel_socket_connect_async(void *ioc, void *addr) "Socket connect async ioc=%p addr=%p"
18qio_channel_socket_connect_fail(void *ioc) "Socket connect fail ioc=%p"
19qio_channel_socket_connect_complete(void *ioc, int fd) "Socket connect complete ioc=%p fd=%d"
20qio_channel_socket_listen_sync(void *ioc, void *addr, int num) "Socket listen sync ioc=%p addr=%p num=%d"
21qio_channel_socket_listen_async(void *ioc, void *addr, int num) "Socket listen async ioc=%p addr=%p num=%d"
22qio_channel_socket_listen_fail(void *ioc) "Socket listen fail ioc=%p"
23qio_channel_socket_listen_complete(void *ioc, int fd) "Socket listen complete ioc=%p fd=%d"
24qio_channel_socket_dgram_sync(void *ioc, void *localAddr, void *remoteAddr) "Socket dgram sync ioc=%p localAddr=%p remoteAddr=%p"
25qio_channel_socket_dgram_async(void *ioc, void *localAddr, void *remoteAddr) "Socket dgram async ioc=%p localAddr=%p remoteAddr=%p"
26qio_channel_socket_dgram_fail(void *ioc) "Socket dgram fail ioc=%p"
27qio_channel_socket_dgram_complete(void *ioc, int fd) "Socket dgram complete ioc=%p fd=%d"
28qio_channel_socket_accept(void *ioc) "Socket accept start ioc=%p"
29qio_channel_socket_accept_fail(void *ioc) "Socket accept fail ioc=%p"
30qio_channel_socket_accept_complete(void *ioc, void *cioc, int fd) "Socket accept complete ioc=%p cioc=%p fd=%d"
31
32# channel-file.c
33qio_channel_file_new_fd(void *ioc, int fd) "File new fd ioc=%p fd=%d"
34qio_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"
35
36# channel-tls.c
37qio_channel_tls_new_client(void *ioc, void *master, void *creds, const char *hostname) "TLS new client ioc=%p master=%p creds=%p hostname=%s"
38qio_channel_tls_new_server(void *ioc, void *master, void *creds, const char *aclname) "TLS new client ioc=%p master=%p creds=%p acltname=%s"
39qio_channel_tls_handshake_start(void *ioc) "TLS handshake start ioc=%p"
40qio_channel_tls_handshake_pending(void *ioc, int status) "TLS handshake pending ioc=%p status=%d"
41qio_channel_tls_handshake_fail(void *ioc) "TLS handshake fail ioc=%p"
42qio_channel_tls_handshake_complete(void *ioc) "TLS handshake complete ioc=%p"
43qio_channel_tls_credentials_allow(void *ioc) "TLS credentials allow ioc=%p"
44qio_channel_tls_credentials_deny(void *ioc) "TLS credentials deny ioc=%p"
45
46# channel-websock.c
47qio_channel_websock_new_server(void *ioc, void *master) "Websock new client ioc=%p master=%p"
48qio_channel_websock_handshake_start(void *ioc) "Websock handshake start ioc=%p"
49qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake pending ioc=%p status=%d"
50qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p"
51qio_channel_websock_handshake_fail(void *ioc, const char *msg) "Websock handshake fail ioc=%p err=%s"
52qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"
53qio_channel_websock_http_greeting(void *ioc, const char *greeting) "Websocket HTTP request ioc=%p greeting='%s'"
54qio_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'"
55qio_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"
56qio_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"
57qio_channel_websock_payload_decode(void *ioc, uint8_t opcode, size_t payload_remain) "Websocket header decoded ioc=%p opcode=0x%x payload-remain=%zu"
58qio_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"
59qio_channel_websock_close(void *ioc) "Websocket close ioc=%p"
60
61# channel-command.c
62qio_channel_command_new_pid(void *ioc, int writefd, int readfd, int pid) "Command new pid ioc=%p writefd=%d readfd=%d pid=%d"
63qio_channel_command_new_spawn(void *ioc, const char *binary, int flags) "Command new spawn ioc=%p binary=%s flags=%d"
64qio_channel_command_abort(void *ioc, int pid) "Command abort ioc=%p pid=%d"
65qio_channel_command_wait(void *ioc, int pid, int ret, int status) "Command abort ioc=%p pid=%d ret=%d status=%d"
66