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