1# See docs/tracing.txt for syntax documentation. 2 3# migration/savevm.c 4qemu_loadvm_state_section(unsigned int section_type) "%d" 5qemu_loadvm_state_section_command(int ret) "%d" 6qemu_loadvm_state_section_partend(uint32_t section_id) "%u" 7qemu_loadvm_state_post_main(int ret) "%d" 8qemu_loadvm_state_section_startfull(uint32_t section_id, const char *idstr, uint32_t instance_id, uint32_t version_id) "%u(%s) %u %u" 9qemu_savevm_send_packaged(void) "" 10loadvm_handle_cmd_packaged(unsigned int length) "%u" 11loadvm_handle_cmd_packaged_main(int ret) "%d" 12loadvm_handle_cmd_packaged_received(int ret) "%d" 13loadvm_postcopy_handle_advise(void) "" 14loadvm_postcopy_handle_listen(void) "" 15loadvm_postcopy_handle_run(void) "" 16loadvm_postcopy_handle_run_cpu_sync(void) "" 17loadvm_postcopy_handle_run_vmstart(void) "" 18loadvm_postcopy_ram_handle_discard(void) "" 19loadvm_postcopy_ram_handle_discard_end(void) "" 20loadvm_postcopy_ram_handle_discard_header(const char *ramid, uint16_t len) "%s: %ud" 21loadvm_process_command(uint16_t com, uint16_t len) "com=0x%x len=%d" 22loadvm_process_command_ping(uint32_t val) "%x" 23postcopy_ram_listen_thread_exit(void) "" 24postcopy_ram_listen_thread_start(void) "" 25qemu_savevm_send_postcopy_advise(void) "" 26qemu_savevm_send_postcopy_ram_discard(const char *id, uint16_t len) "%s: %ud" 27savevm_command_send(uint16_t command, uint16_t len) "com=0x%x len=%d" 28savevm_section_start(const char *id, unsigned int section_id) "%s, section_id %u" 29savevm_section_end(const char *id, unsigned int section_id, int ret) "%s, section_id %u -> %d" 30savevm_section_skip(const char *id, unsigned int section_id) "%s, section_id %u" 31savevm_send_open_return_path(void) "" 32savevm_send_ping(uint32_t val) "%x" 33savevm_send_postcopy_listen(void) "" 34savevm_send_postcopy_run(void) "" 35savevm_state_begin(void) "" 36savevm_state_header(void) "" 37savevm_state_iterate(void) "" 38savevm_state_cleanup(void) "" 39savevm_state_complete_precopy(void) "" 40vmstate_save(const char *idstr, const char *vmsd_name) "%s, %s" 41vmstate_save_state_loop(const char *name, const char *field, int n_elems) "%s/%s[%d]" 42vmstate_save_state_top(const char *idstr) "%s" 43vmstate_subsection_save_loop(const char *name, const char *sub) "%s/%s" 44vmstate_subsection_save_top(const char *idstr) "%s" 45vmstate_load(const char *idstr, const char *vmsd_name) "%s, %s" 46qemu_announce_self_iter(const char *mac) "%s" 47 48# migration/vmstate.c 49vmstate_load_field_error(const char *field, int ret) "field \"%s\" load failed, ret = %d" 50vmstate_load_state(const char *name, int version_id) "%s v%d" 51vmstate_load_state_end(const char *name, const char *reason, int val) "%s %s/%d" 52vmstate_load_state_field(const char *name, const char *field) "%s:%s" 53vmstate_n_elems(const char *name, int n_elems) "%s: %d" 54vmstate_subsection_load(const char *parent) "%s" 55vmstate_subsection_load_bad(const char *parent, const char *sub, const char *sub2) "%s: %s/%s" 56vmstate_subsection_load_good(const char *parent) "%s" 57get_qtailq(const char *name, int version_id) "%s v%d" 58get_qtailq_end(const char *name, const char *reason, int val) "%s %s/%d" 59put_qtailq(const char *name, int version_id) "%s v%d" 60put_qtailq_end(const char *name, const char *reason) "%s %s" 61 62# migration/qemu-file.c 63qemu_file_fclose(void) "" 64 65# migration/ram.c 66get_queued_page(const char *block_name, uint64_t tmp_offset, unsigned long page_abs) "%s/%" PRIx64 " page_abs=%lx" 67get_queued_page_not_dirty(const char *block_name, uint64_t tmp_offset, unsigned long page_abs, int sent) "%s/%" PRIx64 " page_abs=%lx (sent=%d)" 68migration_bitmap_sync_start(void) "" 69migration_bitmap_sync_end(uint64_t dirty_pages) "dirty_pages %" PRIu64 70migration_throttle(void) "" 71ram_discard_range(const char *rbname, uint64_t start, size_t len) "%s: start: %" PRIx64 " %zx" 72ram_load_loop(const char *rbname, uint64_t addr, int flags, void *host) "%s: addr: %" PRIx64 " flags: %x host: %p" 73ram_load_postcopy_loop(uint64_t addr, int flags) "@%" PRIx64 " %x" 74ram_postcopy_send_discard_bitmap(void) "" 75ram_save_page(const char *rbname, uint64_t offset, void *host) "%s: offset: %" PRIx64 " host: %p" 76ram_save_queue_pages(const char *rbname, size_t start, size_t len) "%s: start: %zx len: %zx" 77 78# migration/migration.c 79await_return_path_close_on_source_close(void) "" 80await_return_path_close_on_source_joining(void) "" 81migrate_set_state(int new_state) "new state %d" 82migrate_fd_cleanup(void) "" 83migrate_fd_error(const char *error_desc) "error=%s" 84migrate_fd_cancel(void) "" 85migrate_handle_rp_req_pages(const char *rbname, size_t start, size_t len) "in %s at %zx len %zx" 86migrate_pending(uint64_t size, uint64_t max, uint64_t post, uint64_t nonpost) "pending size %" PRIu64 " max %" PRIu64 " (post=%" PRIu64 " nonpost=%" PRIu64 ")" 87migrate_send_rp_message(int msg_type, uint16_t len) "%d: len %d" 88migration_completion_file_err(void) "" 89migration_completion_postcopy_end(void) "" 90migration_completion_postcopy_end_after_complete(void) "" 91migration_return_path_end_before(void) "" 92migration_return_path_end_after(int rp_error) "%d" 93migration_thread_after_loop(void) "" 94migration_thread_file_err(void) "" 95migration_thread_setup_complete(void) "" 96open_return_path_on_source(void) "" 97open_return_path_on_source_continue(void) "" 98postcopy_start(void) "" 99postcopy_start_set_run(void) "" 100source_return_path_thread_bad_end(void) "" 101source_return_path_thread_end(void) "" 102source_return_path_thread_entry(void) "" 103source_return_path_thread_loop_top(void) "" 104source_return_path_thread_pong(uint32_t val) "%x" 105source_return_path_thread_shut(uint32_t val) "%x" 106migrate_global_state_post_load(const char *state) "loaded state: %s" 107migrate_global_state_pre_save(const char *state) "saved state: %s" 108migration_thread_low_pending(uint64_t pending) "%" PRIu64 109migrate_state_too_big(void) "" 110migrate_transferred(uint64_t tranferred, uint64_t time_spent, double bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %g max_size %" PRId64 111process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d" 112process_incoming_migration_co_postcopy_end_main(void) "" 113migration_set_incoming_channel(void *ioc, const char *ioctype) "ioc=%p ioctype=%s" 114migration_set_outgoing_channel(void *ioc, const char *ioctype, const char *hostname) "ioc=%p ioctype=%s hostname=%s" 115 116# migration/rdma.c 117qemu_rdma_accept_incoming_migration(void) "" 118qemu_rdma_accept_incoming_migration_accepted(void) "" 119qemu_rdma_accept_pin_state(bool pin) "%d" 120qemu_rdma_accept_pin_verbsc(void *verbs) "Verbs context after listen: %p" 121qemu_rdma_block_for_wrid_miss(const char *wcompstr, int wcomp, const char *gcompstr, uint64_t req) "A Wanted wrid %s (%d) but got %s (%" PRIu64 ")" 122qemu_rdma_cleanup_disconnect(void) "" 123qemu_rdma_cleanup_waiting_for_disconnect(void) "" 124qemu_rdma_close(void) "" 125qemu_rdma_connect_pin_all_requested(void) "" 126qemu_rdma_connect_pin_all_outcome(bool pin) "%d" 127qemu_rdma_dest_init_trying(const char *host, const char *ip) "%s => %s" 128qemu_rdma_dump_gid(const char *who, const char *src, const char *dst) "%s Source GID: %s, Dest GID: %s" 129qemu_rdma_exchange_get_response_start(const char *desc) "CONTROL: %s receiving..." 130qemu_rdma_exchange_get_response_none(const char *desc, int type) "Surprise: got %s (%d)" 131qemu_rdma_exchange_send_issue_callback(void) "" 132qemu_rdma_exchange_send_waiting(const char *desc) "Waiting for response %s" 133qemu_rdma_exchange_send_received(const char *desc) "Response %s received." 134qemu_rdma_fill(size_t control_len, size_t size) "RDMA %zd of %zd bytes already in buffer" 135qemu_rdma_init_ram_blocks(int blocks) "Allocated %d local ram block structures" 136qemu_rdma_poll_recv(const char *compstr, int64_t comp, int64_t id, int sent) "completion %s #%" PRId64 " received (%" PRId64 ") left %d" 137qemu_rdma_poll_write(const char *compstr, int64_t comp, int left, uint64_t block, uint64_t chunk, void *local, void *remote) "completions %s (%" PRId64 ") left %d, block %" PRIu64 ", chunk: %" PRIu64 " %p %p" 138qemu_rdma_poll_other(const char *compstr, int64_t comp, int left) "other completion %s (%" PRId64 ") received left %d" 139qemu_rdma_post_send_control(const char *desc) "CONTROL: sending %s.." 140qemu_rdma_register_and_get_keys(uint64_t len, void *start) "Registering %" PRIu64 " bytes @ %p" 141qemu_rdma_registration_handle_compress(int64_t length, int index, int64_t offset) "Zapping zero chunk: %" PRId64 " bytes, index %d, offset %" PRId64 142qemu_rdma_registration_handle_finished(void) "" 143qemu_rdma_registration_handle_ram_blocks(void) "" 144qemu_rdma_registration_handle_ram_blocks_loop(const char *name, uint64_t offset, uint64_t length, void *local_host_addr, unsigned int src_index) "%s: @%" PRIx64 "/%" PRIu64 " host:@%p src_index: %u" 145qemu_rdma_registration_handle_register(int requests) "%d requests" 146qemu_rdma_registration_handle_register_loop(int req, int index, uint64_t addr, uint64_t chunks) "Registration request (%d): index %d, current_addr %" PRIu64 " chunks: %" PRIu64 147qemu_rdma_registration_handle_register_rkey(int rkey) "%x" 148qemu_rdma_registration_handle_unregister(int requests) "%d requests" 149qemu_rdma_registration_handle_unregister_loop(int count, int index, uint64_t chunk) "Unregistration request (%d): index %d, chunk %" PRIu64 150qemu_rdma_registration_handle_unregister_success(uint64_t chunk) "%" PRIu64 151qemu_rdma_registration_handle_wait(void) "" 152qemu_rdma_registration_start(uint64_t flags) "%" PRIu64 153qemu_rdma_registration_stop(uint64_t flags) "%" PRIu64 154qemu_rdma_registration_stop_ram(void) "" 155qemu_rdma_resolve_host_trying(const char *host, const char *ip) "Trying %s => %s" 156qemu_rdma_signal_unregister_append(uint64_t chunk, int pos) "Appending unregister chunk %" PRIu64 " at position %d" 157qemu_rdma_signal_unregister_already(uint64_t chunk) "Unregister chunk %" PRIu64 " already in queue" 158qemu_rdma_unregister_waiting_inflight(uint64_t chunk) "Cannot unregister inflight chunk: %" PRIu64 159qemu_rdma_unregister_waiting_proc(uint64_t chunk, int pos) "Processing unregister for chunk: %" PRIu64 " at position %d" 160qemu_rdma_unregister_waiting_send(uint64_t chunk) "Sending unregister for chunk: %" PRIu64 161qemu_rdma_unregister_waiting_complete(uint64_t chunk) "Unregister for chunk: %" PRIu64 " complete." 162qemu_rdma_write_flush(int sent) "sent total: %d" 163qemu_rdma_write_one_block(int count, int block, uint64_t chunk, uint64_t current, uint64_t len, int nb_sent, int nb_chunks) "(%d) Not clobbering: block: %d chunk %" PRIu64 " current %" PRIu64 " len %" PRIu64 " %d %d" 164qemu_rdma_write_one_post(uint64_t chunk, long addr, long remote, uint32_t len) "Posting chunk: %" PRIu64 ", addr: %lx remote: %lx, bytes %" PRIu32 165qemu_rdma_write_one_queue_full(void) "" 166qemu_rdma_write_one_recvregres(int mykey, int theirkey, uint64_t chunk) "Received registration result: my key: %x their key %x, chunk %" PRIu64 167qemu_rdma_write_one_sendreg(uint64_t chunk, int len, int index, int64_t offset) "Sending registration request chunk %" PRIu64 " for %d bytes, index: %d, offset: %" PRId64 168qemu_rdma_write_one_top(uint64_t chunks, uint64_t size) "Writing %" PRIu64 " chunks, (%" PRIu64 " MB)" 169qemu_rdma_write_one_zero(uint64_t chunk, int len, int index, int64_t offset) "Entire chunk is zero, sending compress: %" PRIu64 " for %d bytes, index: %d, offset: %" PRId64 170rdma_add_block(const char *block_name, int block, uint64_t addr, uint64_t offset, uint64_t len, uint64_t end, uint64_t bits, int chunks) "Added Block: '%s':%d, addr: %" PRIu64 ", offset: %" PRIu64 " length: %" PRIu64 " end: %" PRIu64 " bits %" PRIu64 " chunks %d" 171rdma_block_notification_handle(const char *name, int index) "%s at %d" 172rdma_delete_block(void *block, uint64_t addr, uint64_t offset, uint64_t len, uint64_t end, uint64_t bits, int chunks) "Deleted Block: %p, addr: %" PRIu64 ", offset: %" PRIu64 " length: %" PRIu64 " end: %" PRIu64 " bits %" PRIu64 " chunks %d" 173rdma_start_incoming_migration(void) "" 174rdma_start_incoming_migration_after_dest_init(void) "" 175rdma_start_incoming_migration_after_rdma_listen(void) "" 176rdma_start_outgoing_migration_after_rdma_connect(void) "" 177rdma_start_outgoing_migration_after_rdma_source_init(void) "" 178 179# migration/postcopy-ram.c 180postcopy_discard_send_finish(const char *ramblock, int nwords, int ncmds) "%s mask words sent=%d in %d commands" 181postcopy_discard_send_range(const char *ramblock, unsigned long start, unsigned long length) "%s:%lx/%lx" 182postcopy_cleanup_range(const char *ramblock, void *host_addr, size_t offset, size_t length) "%s: %p offset=%zx length=%zx" 183postcopy_init_range(const char *ramblock, void *host_addr, size_t offset, size_t length) "%s: %p offset=%zx length=%zx" 184postcopy_nhp_range(const char *ramblock, void *host_addr, size_t offset, size_t length) "%s: %p offset=%zx length=%zx" 185postcopy_place_page(void *host_addr) "host=%p" 186postcopy_place_page_zero(void *host_addr) "host=%p" 187postcopy_ram_enable_notify(void) "" 188postcopy_ram_fault_thread_entry(void) "" 189postcopy_ram_fault_thread_exit(void) "" 190postcopy_ram_fault_thread_quit(void) "" 191postcopy_ram_fault_thread_request(uint64_t hostaddr, const char *ramblock, size_t offset) "Request for HVA=%" PRIx64 " rb=%s offset=%zx" 192postcopy_ram_incoming_cleanup_closeuf(void) "" 193postcopy_ram_incoming_cleanup_entry(void) "" 194postcopy_ram_incoming_cleanup_exit(void) "" 195postcopy_ram_incoming_cleanup_join(void) "" 196save_xbzrle_page_skipping(void) "" 197save_xbzrle_page_overflow(void) "" 198ram_save_iterate_big_wait(uint64_t milliconds, int iterations) "big wait: %" PRIu64 " milliseconds, %d iterations" 199ram_load_complete(int ret, uint64_t seq_iter) "exit_code %d seq iteration %" PRIu64 200 201# migration/exec.c 202migration_exec_outgoing(const char *cmd) "cmd=%s" 203migration_exec_incoming(const char *cmd) "cmd=%s" 204 205# migration/fd.c 206migration_fd_outgoing(int fd) "fd=%d" 207migration_fd_incoming(int fd) "fd=%d" 208 209# migration/socket.c 210migration_socket_incoming_accepted(void) "" 211migration_socket_outgoing_connected(const char *hostname) "hostname=%s" 212migration_socket_outgoing_error(const char *err) "error=%s" 213 214# migration/tls.c 215migration_tls_outgoing_handshake_start(const char *hostname) "hostname=%s" 216migration_tls_outgoing_handshake_error(const char *err) "err=%s" 217migration_tls_outgoing_handshake_complete(void) "" 218migration_tls_incoming_handshake_start(void) "" 219migration_tls_incoming_handshake_error(const char *err) "err=%s" 220migration_tls_incoming_handshake_complete(void) "" 221 222# migration/colo.c 223colo_vm_state_change(const char *old, const char *new) "Change '%s' => '%s'" 224colo_send_message(const char *msg) "Send '%s' message" 225colo_receive_message(const char *msg) "Receive '%s' message" 226colo_failover_set_state(const char *new_state) "new state %s" 227