ramfb: add migration support
[qemu/ar7.git] / migration / trace-events
blobfa9486dffed8544b2380c6e3734c3965ef2de53d
1 # See docs/devel/tracing.rst for syntax documentation.
3 # savevm.c
4 qemu_loadvm_state_section(unsigned int section_type) "%d"
5 qemu_loadvm_state_section_command(int ret) "%d"
6 qemu_loadvm_state_section_partend(uint32_t section_id) "%u"
7 qemu_loadvm_state_post_main(int ret) "%d"
8 qemu_loadvm_state_section_startfull(uint32_t section_id, const char *idstr, uint32_t instance_id, uint32_t version_id) "%u(%s) %u %u"
9 qemu_savevm_send_packaged(void) ""
10 loadvm_state_switchover_ack_needed(unsigned int switchover_ack_pending_num) "Switchover ack pending num=%u"
11 loadvm_state_setup(void) ""
12 loadvm_state_cleanup(void) ""
13 loadvm_handle_cmd_packaged(unsigned int length) "%u"
14 loadvm_handle_cmd_packaged_main(int ret) "%d"
15 loadvm_handle_cmd_packaged_received(int ret) "%d"
16 loadvm_handle_recv_bitmap(char *s) "%s"
17 loadvm_postcopy_handle_advise(void) ""
18 loadvm_postcopy_handle_listen(const char *str) "%s"
19 loadvm_postcopy_handle_run(void) ""
20 loadvm_postcopy_handle_run_bh(const char *str) "%s"
21 loadvm_postcopy_handle_resume(void) ""
22 loadvm_postcopy_ram_handle_discard(void) ""
23 loadvm_postcopy_ram_handle_discard_end(void) ""
24 loadvm_postcopy_ram_handle_discard_header(const char *ramid, uint16_t len) "%s: %ud"
25 loadvm_process_command(const char *s, uint16_t len) "com=%s len=%d"
26 loadvm_process_command_ping(uint32_t val) "0x%x"
27 loadvm_approve_switchover(unsigned int switchover_ack_pending_num) "Switchover ack pending num=%u"
28 postcopy_ram_listen_thread_exit(void) ""
29 postcopy_ram_listen_thread_start(void) ""
30 qemu_savevm_send_postcopy_advise(void) ""
31 qemu_savevm_send_postcopy_ram_discard(const char *id, uint16_t len) "%s: %ud"
32 savevm_command_send(uint16_t command, uint16_t len) "com=0x%x len=%d"
33 savevm_section_start(const char *id, unsigned int section_id) "%s, section_id %u"
34 savevm_section_end(const char *id, unsigned int section_id, int ret) "%s, section_id %u -> %d"
35 savevm_section_skip(const char *id, unsigned int section_id) "%s, section_id %u"
36 savevm_send_open_return_path(void) ""
37 savevm_send_ping(uint32_t val) "0x%x"
38 savevm_send_postcopy_listen(void) ""
39 savevm_send_postcopy_run(void) ""
40 savevm_send_postcopy_resume(void) ""
41 savevm_send_colo_enable(void) ""
42 savevm_send_recv_bitmap(char *name) "%s"
43 savevm_state_setup(void) ""
44 savevm_state_resume_prepare(void) ""
45 savevm_state_header(void) ""
46 savevm_state_iterate(void) ""
47 savevm_state_cleanup(void) ""
48 savevm_state_complete_precopy(void) ""
49 vmstate_save(const char *idstr, const char *vmsd_name) "%s, %s"
50 vmstate_load(const char *idstr, const char *vmsd_name) "%s, %s"
51 postcopy_pause_incoming(void) ""
52 postcopy_pause_incoming_continued(void) ""
53 postcopy_page_req_sync(void *host_addr) "sync page req %p"
55 # vmstate.c
56 vmstate_load_field_error(const char *field, int ret) "field \"%s\" load failed, ret = %d"
57 vmstate_load_state(const char *name, int version_id) "%s v%d"
58 vmstate_load_state_end(const char *name, const char *reason, int val) "%s %s/%d"
59 vmstate_load_state_field(const char *name, const char *field) "%s:%s"
60 vmstate_n_elems(const char *name, int n_elems) "%s: %d"
61 vmstate_subsection_load(const char *parent) "%s"
62 vmstate_subsection_load_bad(const char *parent,  const char *sub, const char *sub2) "%s: %s/%s"
63 vmstate_subsection_load_good(const char *parent) "%s"
64 vmstate_save_state_pre_save_res(const char *name, int res) "%s/%d"
65 vmstate_save_state_loop(const char *name, const char *field, int n_elems) "%s/%s[%d]"
66 vmstate_save_state_top(const char *idstr) "%s"
67 vmstate_subsection_save_loop(const char *name, const char *sub) "%s/%s"
68 vmstate_subsection_save_top(const char *idstr) "%s"
69 vmstate_field_exists(const char *vmsd, const char *name, int field_version, int version, int result) "%s:%s field_version %d version %d result %d"
71 # vmstate-types.c
72 get_qtailq(const char *name, int version_id) "%s v%d"
73 get_qtailq_end(const char *name, const char *reason, int val) "%s %s/%d"
74 put_qtailq(const char *name, int version_id) "%s v%d"
75 put_qtailq_end(const char *name, const char *reason) "%s %s"
77 get_gtree(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name, uint32_t nnodes) "%s(%s/%s) nnodes=%d"
78 get_gtree_end(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name, int ret) "%s(%s/%s) %d"
79 put_gtree(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name, uint32_t nnodes) "%s(%s/%s) nnodes=%d"
80 put_gtree_end(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name, int ret) "%s(%s/%s) %d"
82 get_qlist(const char *field_name, const char *vmsd_name, int version_id) "%s(%s v%d)"
83 get_qlist_end(const char *field_name, const char *vmsd_name) "%s(%s)"
84 put_qlist(const char *field_name, const char *vmsd_name, int version_id) "%s(%s v%d)"
85 put_qlist_end(const char *field_name, const char *vmsd_name) "%s(%s)"
87 # qemu-file.c
88 qemu_file_fclose(void) ""
90 # ram.c
91 get_queued_page(const char *block_name, uint64_t tmp_offset, unsigned long page_abs) "%s/0x%" PRIx64 " page_abs=0x%lx"
92 get_queued_page_not_dirty(const char *block_name, uint64_t tmp_offset, unsigned long page_abs) "%s/0x%" PRIx64 " page_abs=0x%lx"
93 migration_bitmap_sync_start(void) ""
94 migration_bitmap_sync_end(uint64_t dirty_pages) "dirty_pages %" PRIu64
95 migration_bitmap_clear_dirty(char *str, uint64_t start, uint64_t size, unsigned long page) "rb %s start 0x%"PRIx64" size 0x%"PRIx64" page 0x%lx"
96 migration_throttle(void) ""
97 migration_dirty_limit_guest(int64_t dirtyrate) "guest dirty page rate limit %" PRIi64 " MB/s"
98 ram_discard_range(const char *rbname, uint64_t start, size_t len) "%s: start: %" PRIx64 " %zx"
99 ram_load_loop(const char *rbname, uint64_t addr, int flags, void *host) "%s: addr: 0x%" PRIx64 " flags: 0x%x host: %p"
100 ram_load_postcopy_loop(int channel, uint64_t addr, int flags) "chan=%d addr=0x%" PRIx64 " flags=0x%x"
101 ram_postcopy_send_discard_bitmap(void) ""
102 ram_save_page(const char *rbname, uint64_t offset, void *host) "%s: offset: 0x%" PRIx64 " host: %p"
103 ram_save_queue_pages(const char *rbname, size_t start, size_t len) "%s: start: 0x%zx len: 0x%zx"
104 ram_dirty_bitmap_request(char *str) "%s"
105 ram_dirty_bitmap_reload_begin(char *str) "%s"
106 ram_dirty_bitmap_reload_complete(char *str) "%s"
107 ram_dirty_bitmap_sync_start(void) ""
108 ram_dirty_bitmap_sync_wait(void) ""
109 ram_dirty_bitmap_sync_complete(void) ""
110 ram_state_resume_prepare(uint64_t v) "%" PRId64
111 colo_flush_ram_cache_begin(uint64_t dirty_pages) "dirty_pages %" PRIu64
112 colo_flush_ram_cache_end(void) ""
113 save_xbzrle_page_skipping(void) ""
114 save_xbzrle_page_overflow(void) ""
115 ram_save_iterate_big_wait(uint64_t milliconds, int iterations) "big wait: %" PRIu64 " milliseconds, %d iterations"
116 ram_load_complete(int ret, uint64_t seq_iter) "exit_code %d seq iteration %" PRIu64
117 ram_write_tracking_ramblock_start(const char *block_id, size_t page_size, void *addr, size_t length) "%s: page_size: %zu addr: %p length: %zu"
118 ram_write_tracking_ramblock_stop(const char *block_id, size_t page_size, void *addr, size_t length) "%s: page_size: %zu addr: %p length: %zu"
119 postcopy_preempt_triggered(char *str, unsigned long page) "during sending ramblock %s offset 0x%lx"
120 postcopy_preempt_restored(char *str, unsigned long page) "ramblock %s offset 0x%lx"
121 postcopy_preempt_hit(char *str, uint64_t offset) "ramblock %s offset 0x%"PRIx64
122 postcopy_preempt_send_host_page(char *str, uint64_t offset) "ramblock %s offset 0x%"PRIx64
123 postcopy_preempt_switch_channel(int channel) "%d"
124 postcopy_preempt_reset_channel(void) ""
126 # multifd.c
127 multifd_new_send_channel_async(uint8_t id) "channel %u"
128 multifd_new_send_channel_async_error(uint8_t id, void *err) "channel=%u err=%p"
129 multifd_recv(uint8_t id, uint64_t packet_num, uint32_t used, uint32_t flags, uint32_t next_packet_size) "channel %u packet_num %" PRIu64 " pages %u flags 0x%x next packet size %u"
130 multifd_recv_new_channel(uint8_t id) "channel %u"
131 multifd_recv_sync_main(long packet_num) "packet num %ld"
132 multifd_recv_sync_main_signal(uint8_t id) "channel %u"
133 multifd_recv_sync_main_wait(uint8_t id) "channel %u"
134 multifd_recv_terminate_threads(bool error) "error %d"
135 multifd_recv_thread_end(uint8_t id, uint64_t packets, uint64_t pages) "channel %u packets %" PRIu64 " pages %" PRIu64
136 multifd_recv_thread_start(uint8_t id) "%u"
137 multifd_send(uint8_t id, uint64_t packet_num, uint32_t normal, uint32_t flags, uint32_t next_packet_size) "channel %u packet_num %" PRIu64 " normal pages %u flags 0x%x next packet size %u"
138 multifd_send_error(uint8_t id) "channel %u"
139 multifd_send_sync_main(long packet_num) "packet num %ld"
140 multifd_send_sync_main_signal(uint8_t id) "channel %u"
141 multifd_send_sync_main_wait(uint8_t id) "channel %u"
142 multifd_send_terminate_threads(bool error) "error %d"
143 multifd_send_thread_end(uint8_t id, uint64_t packets, uint64_t normal_pages) "channel %u packets %" PRIu64 " normal pages %"  PRIu64
144 multifd_send_thread_start(uint8_t id) "%u"
145 multifd_tls_outgoing_handshake_start(void *ioc, void *tioc, const char *hostname) "ioc=%p tioc=%p hostname=%s"
146 multifd_tls_outgoing_handshake_error(void *ioc, const char *err) "ioc=%p err=%s"
147 multifd_tls_outgoing_handshake_complete(void *ioc) "ioc=%p"
148 multifd_set_outgoing_channel(void *ioc, const char *ioctype, const char *hostname)  "ioc=%p ioctype=%s hostname=%s"
150 # migration.c
151 await_return_path_close_on_source_close(void) ""
152 await_return_path_close_on_source_joining(void) ""
153 migrate_set_state(const char *new_state) "new state %s"
154 migrate_fd_cleanup(void) ""
155 migrate_fd_error(const char *error_desc) "error=%s"
156 migrate_fd_cancel(void) ""
157 migrate_handle_rp_req_pages(const char *rbname, size_t start, size_t len) "in %s at 0x%zx len 0x%zx"
158 migrate_pending_exact(uint64_t size, uint64_t pre, uint64_t post) "exact pending size %" PRIu64 " (pre = %" PRIu64 " post=%" PRIu64 ")"
159 migrate_pending_estimate(uint64_t size, uint64_t pre, uint64_t post) "estimate pending size %" PRIu64 " (pre = %" PRIu64 " post=%" PRIu64 ")"
160 migrate_send_rp_message(int msg_type, uint16_t len) "%d: len %d"
161 migrate_send_rp_recv_bitmap(char *name, int64_t size) "block '%s' size 0x%"PRIi64
162 migration_completion_file_err(void) ""
163 migration_completion_vm_stop(int ret) "ret %d"
164 migration_completion_postcopy_end(void) ""
165 migration_completion_postcopy_end_after_complete(void) ""
166 migration_rate_limit_pre(int ms) "%d ms"
167 migration_rate_limit_post(int urgent) "urgent: %d"
168 migration_return_path_end_before(void) ""
169 migration_return_path_end_after(int rp_error) "%d"
170 migration_thread_after_loop(void) ""
171 migration_thread_file_err(void) ""
172 migration_thread_setup_complete(void) ""
173 open_return_path_on_source(void) ""
174 open_return_path_on_source_continue(void) ""
175 postcopy_start(void) ""
176 postcopy_pause_return_path(void) ""
177 postcopy_pause_return_path_continued(void) ""
178 postcopy_pause_continued(void) ""
179 postcopy_start_set_run(void) ""
180 postcopy_page_req_add(void *addr, int count) "new page req %p total %d"
181 source_return_path_thread_bad_end(void) ""
182 source_return_path_thread_end(void) ""
183 source_return_path_thread_entry(void) ""
184 source_return_path_thread_loop_top(void) ""
185 source_return_path_thread_pong(uint32_t val) "0x%x"
186 source_return_path_thread_shut(uint32_t val) "0x%x"
187 source_return_path_thread_resume_ack(uint32_t v) "%"PRIu32
188 source_return_path_thread_switchover_acked(void) ""
189 migration_thread_low_pending(uint64_t pending) "%" PRIu64
190 migrate_transferred(uint64_t transferred, uint64_t time_spent, uint64_t bandwidth, uint64_t avail_bw, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " switchover_bw %" PRIu64 " max_size %" PRId64
191 process_incoming_migration_co_end(int ret, int ps) "ret=%d postcopy-state=%d"
192 process_incoming_migration_co_postcopy_end_main(void) ""
193 postcopy_preempt_enabled(bool value) "%d"
195 # migration-stats
196 migration_transferred_bytes(uint64_t qemu_file, uint64_t multifd, uint64_t rdma) "qemu_file %" PRIu64 " multifd %" PRIu64 " RDMA %" PRIu64
198 # channel.c
199 migration_set_incoming_channel(void *ioc, const char *ioctype) "ioc=%p ioctype=%s"
200 migration_set_outgoing_channel(void *ioc, const char *ioctype, const char *hostname, void *err)  "ioc=%p ioctype=%s hostname=%s err=%p"
202 # global_state.c
203 migrate_state_too_big(void) ""
204 migrate_global_state_post_load(const char *state) "loaded state: %s"
205 migrate_global_state_pre_save(const char *state) "saved state: %s"
207 # rdma.c
208 qemu_rdma_accept_incoming_migration(void) ""
209 qemu_rdma_accept_incoming_migration_accepted(void) ""
210 qemu_rdma_accept_pin_state(bool pin) "%d"
211 qemu_rdma_accept_pin_verbsc(void *verbs) "Verbs context after listen: %p"
212 qemu_rdma_block_for_wrid_miss(uint64_t wcomp, uint64_t req) "A Wanted wrid %" PRIu64 " but got %" PRIu64
213 qemu_rdma_cleanup_disconnect(void) ""
214 qemu_rdma_close(void) ""
215 qemu_rdma_connect_pin_all_requested(void) ""
216 qemu_rdma_connect_pin_all_outcome(bool pin) "%d"
217 qemu_rdma_dest_init_trying(const char *host, const char *ip) "%s => %s"
218 qemu_rdma_dump_id_failed(const char *who) "%s RDMA Device opened, but can't query port information"
219 qemu_rdma_dump_id(const char *who, const char *name, const char *dev_name, const char *dev_path, const char *ibdev_path, int transport, const char *transport_name) "%s RDMA Device opened: kernel name %s uverbs device name %s, infiniband_verbs class device path %s, infiniband class device path %s, transport: (%d) %s"
220 qemu_rdma_dump_gid(const char *who, const char *src, const char *dst) "%s Source GID: %s, Dest GID: %s"
221 qemu_rdma_exchange_get_response_start(const char *desc) "CONTROL: %s receiving..."
222 qemu_rdma_exchange_get_response_none(const char *desc, int type) "Surprise: got %s (%d)"
223 qemu_rdma_exchange_send_issue_callback(void) ""
224 qemu_rdma_exchange_send_waiting(const char *desc) "Waiting for response %s"
225 qemu_rdma_exchange_send_received(const char *desc) "Response %s received."
226 qemu_rdma_fill(size_t control_len, size_t size) "RDMA %zd of %zd bytes already in buffer"
227 qemu_rdma_init_ram_blocks(int blocks) "Allocated %d local ram block structures"
228 qemu_rdma_poll_recv(uint64_t comp, int64_t id, int sent) "completion %" PRIu64 " received (%" PRId64 ") left %d"
229 qemu_rdma_poll_write(uint64_t comp, int left, uint64_t block, uint64_t chunk, void *local, void *remote) "completions %" PRIu64 " left %d, block %" PRIu64 ", chunk: %" PRIu64 " %p %p"
230 qemu_rdma_poll_other(uint64_t comp, int left) "other completion %" PRIu64 " received left %d"
231 qemu_rdma_post_send_control(const char *desc) "CONTROL: sending %s.."
232 qemu_rdma_register_and_get_keys(uint64_t len, void *start) "Registering %" PRIu64 " bytes @ %p"
233 qemu_rdma_register_odp_mr(const char *name) "Try to register On-Demand Paging memory region: %s"
234 qemu_rdma_advise_mr(const char *name, uint32_t len, uint64_t addr, const char *res) "Try to advise block %s prefetch at %" PRIu32 "@0x%" PRIx64 ": %s"
235 qemu_rdma_resolve_host_trying(const char *host, const char *ip) "Trying %s => %s"
236 qemu_rdma_signal_unregister_append(uint64_t chunk, int pos) "Appending unregister chunk %" PRIu64 " at position %d"
237 qemu_rdma_signal_unregister_already(uint64_t chunk) "Unregister chunk %" PRIu64 " already in queue"
238 qemu_rdma_unregister_waiting_inflight(uint64_t chunk) "Cannot unregister inflight chunk: %" PRIu64
239 qemu_rdma_unregister_waiting_proc(uint64_t chunk, int pos) "Processing unregister for chunk: %" PRIu64 " at position %d"
240 qemu_rdma_unregister_waiting_send(uint64_t chunk) "Sending unregister for chunk: %" PRIu64
241 qemu_rdma_unregister_waiting_complete(uint64_t chunk) "Unregister for chunk: %" PRIu64 " complete."
242 qemu_rdma_write_flush(int sent) "sent total: %d"
243 qemu_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"
244 qemu_rdma_write_one_post(uint64_t chunk, long addr, long remote, uint32_t len) "Posting chunk: %" PRIu64 ", addr: 0x%lx remote: 0x%lx, bytes %" PRIu32
245 qemu_rdma_write_one_queue_full(void) ""
246 qemu_rdma_write_one_recvregres(int mykey, int theirkey, uint64_t chunk) "Received registration result: my key: 0x%x their key 0x%x, chunk %" PRIu64
247 qemu_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
248 qemu_rdma_write_one_top(uint64_t chunks, uint64_t size) "Writing %" PRIu64 " chunks, (%" PRIu64 " MB)"
249 qemu_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
250 rdma_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"
251 rdma_block_notification_handle(const char *name, int index) "%s at %d"
252 rdma_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"
253 rdma_registration_handle_compress(int64_t length, int index, int64_t offset) "Zapping zero chunk: %" PRId64 " bytes, index %d, offset %" PRId64
254 rdma_registration_handle_finished(void) ""
255 rdma_registration_handle_ram_blocks(void) ""
256 rdma_registration_handle_ram_blocks_loop(const char *name, uint64_t offset, uint64_t length, void *local_host_addr, unsigned int src_index) "%s: @0x%" PRIx64 "/%" PRIu64 " host:@%p src_index: %u"
257 rdma_registration_handle_register(int requests) "%d requests"
258 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
259 rdma_registration_handle_register_rkey(int rkey) "0x%x"
260 rdma_registration_handle_unregister(int requests) "%d requests"
261 rdma_registration_handle_unregister_loop(int count, int index, uint64_t chunk) "Unregistration request (%d): index %d, chunk %" PRIu64
262 rdma_registration_handle_unregister_success(uint64_t chunk) "%" PRIu64
263 rdma_registration_handle_wait(void) ""
264 rdma_registration_start(uint64_t flags) "%" PRIu64
265 rdma_registration_stop(uint64_t flags) "%" PRIu64
266 rdma_registration_stop_ram(void) ""
267 rdma_start_incoming_migration(void) ""
268 rdma_start_incoming_migration_after_dest_init(void) ""
269 rdma_start_incoming_migration_after_rdma_listen(void) ""
270 rdma_start_outgoing_migration_after_rdma_connect(void) ""
271 rdma_start_outgoing_migration_after_rdma_source_init(void) ""
273 # postcopy-ram.c
274 postcopy_discard_send_finish(const char *ramblock, int nwords, int ncmds) "%s mask words sent=%d in %d commands"
275 postcopy_discard_send_range(const char *ramblock, unsigned long start, unsigned long length) "%s:%lx/%lx"
276 postcopy_cleanup_range(const char *ramblock, void *host_addr, size_t offset, size_t length) "%s: %p offset=0x%zx length=0x%zx"
277 postcopy_init_range(const char *ramblock, void *host_addr, size_t offset, size_t length) "%s: %p offset=0x%zx length=0x%zx"
278 postcopy_nhp_range(const char *ramblock, void *host_addr, size_t offset, size_t length) "%s: %p offset=0x%zx length=0x%zx"
279 postcopy_place_page(void *host_addr) "host=%p"
280 postcopy_place_page_zero(void *host_addr) "host=%p"
281 postcopy_ram_enable_notify(void) ""
282 mark_postcopy_blocktime_begin(uint64_t addr, void *dd, uint32_t time, int cpu, int received) "addr: 0x%" PRIx64 ", dd: %p, time: %u, cpu: %d, already_received: %d"
283 mark_postcopy_blocktime_end(uint64_t addr, void *dd, uint32_t time, int affected_cpu) "addr: 0x%" PRIx64 ", dd: %p, time: %u, affected_cpu: %d"
284 postcopy_pause_fault_thread(void) ""
285 postcopy_pause_fault_thread_continued(void) ""
286 postcopy_pause_fast_load(void) ""
287 postcopy_pause_fast_load_continued(void) ""
288 postcopy_ram_fault_thread_entry(void) ""
289 postcopy_ram_fault_thread_exit(void) ""
290 postcopy_ram_fault_thread_fds_core(int baseufd, int quitfd) "ufd: %d quitfd: %d"
291 postcopy_ram_fault_thread_fds_extra(size_t index, const char *name, int fd) "%zd/%s: %d"
292 postcopy_ram_fault_thread_quit(void) ""
293 postcopy_ram_fault_thread_request(uint64_t hostaddr, const char *ramblock, size_t offset, uint32_t pid) "Request for HVA=0x%" PRIx64 " rb=%s offset=0x%zx pid=%u"
294 postcopy_ram_incoming_cleanup_closeuf(void) ""
295 postcopy_ram_incoming_cleanup_entry(void) ""
296 postcopy_ram_incoming_cleanup_exit(void) ""
297 postcopy_ram_incoming_cleanup_join(void) ""
298 postcopy_ram_incoming_cleanup_blocktime(uint64_t total) "total blocktime %" PRIu64
299 postcopy_request_shared_page(const char *sharer, const char *rb, uint64_t rb_offset) "for %s in %s offset 0x%"PRIx64
300 postcopy_request_shared_page_present(const char *sharer, const char *rb, uint64_t rb_offset) "%s already %s offset 0x%"PRIx64
301 postcopy_wake_shared(uint64_t client_addr, const char *rb) "at 0x%"PRIx64" in %s"
302 postcopy_page_req_del(void *addr, int count) "resolved page req %p total %d"
303 postcopy_preempt_tls_handshake(void) ""
304 postcopy_preempt_new_channel(void) ""
305 postcopy_preempt_thread_entry(void) ""
306 postcopy_preempt_thread_exit(void) ""
308 get_mem_fault_cpu_index(int cpu, uint32_t pid) "cpu: %d, pid: %u"
310 # exec.c
311 migration_exec_outgoing(const char *cmd) "cmd=%s"
312 migration_exec_incoming(const char *cmd) "cmd=%s"
314 # fd.c
315 migration_fd_outgoing(int fd) "fd=%d"
316 migration_fd_incoming(int fd) "fd=%d"
318 # file.c
319 migration_file_outgoing(const char *filename) "filename=%s"
320 migration_file_incoming(const char *filename) "filename=%s"
322 # socket.c
323 migration_socket_incoming_accepted(void) ""
324 migration_socket_outgoing_connected(const char *hostname) "hostname=%s"
325 migration_socket_outgoing_error(const char *err) "error=%s"
327 # tls.c
328 migration_tls_outgoing_handshake_start(const char *hostname) "hostname=%s"
329 migration_tls_outgoing_handshake_error(const char *err) "err=%s"
330 migration_tls_outgoing_handshake_complete(void) ""
331 migration_tls_incoming_handshake_start(void) ""
332 migration_tls_incoming_handshake_error(const char *err) "err=%s"
333 migration_tls_incoming_handshake_complete(void) ""
335 # colo.c
336 colo_vm_state_change(const char *old, const char *new) "Change '%s' => '%s'"
337 colo_send_message(const char *msg) "Send '%s' message"
338 colo_receive_message(const char *msg) "Receive '%s' message"
340 # colo-failover.c
341 colo_failover_set_state(const char *new_state) "new state %s"
343 # block-dirty-bitmap.c
344 send_bitmap_header_enter(void) ""
345 send_bitmap_bits(uint32_t flags, uint64_t start_sector, uint32_t nr_sectors, uint64_t data_size) "flags: 0x%x, start_sector: %" PRIu64 ", nr_sectors: %" PRIu32 ", data_size: %" PRIu64
346 dirty_bitmap_save_iterate(int in_postcopy) "in postcopy: %d"
347 dirty_bitmap_save_complete_enter(void) ""
348 dirty_bitmap_save_complete_finish(void) ""
349 dirty_bitmap_state_pending(uint64_t pending) "pending %" PRIu64
350 dirty_bitmap_load_complete(void) ""
351 dirty_bitmap_load_bits_enter(uint64_t first_sector, uint32_t nr_sectors) "chunk: %" PRIu64 " %" PRIu32
352 dirty_bitmap_load_bits_zeroes(void) ""
353 dirty_bitmap_load_header(uint32_t flags) "flags 0x%x"
354 dirty_bitmap_load_enter(void) ""
355 dirty_bitmap_load_success(void) ""
357 # dirtyrate.c
358 dirtyrate_set_state(const char *new_state) "new state %s"
359 query_dirty_rate_info(const char *new_state) "current state %s"
360 get_ramblock_vfn_hash(const char *idstr, uint64_t vfn, uint32_t hash) "ramblock name: %s, vfn: %"PRIu64 ", hash: %" PRIu32
361 calc_page_dirty_rate(const char *idstr, uint32_t new_hash, uint32_t old_hash) "ramblock name: %s, new hash: %" PRIu32 ", old hash: %" PRIu32
362 skip_sample_ramblock(const char *idstr, uint64_t ramblock_size) "ramblock name: %s, ramblock size: %" PRIu64
363 find_page_matched(const char *idstr) "ramblock %s addr or size changed"
364 dirtyrate_calculate(int64_t dirtyrate) "dirty rate: %" PRIi64 " MB/s"
365 dirtyrate_do_calculate_vcpu(int idx, uint64_t rate) "vcpu[%d]: %"PRIu64 " MB/s"
367 # block.c
368 migration_block_init_shared(const char *blk_device_name) "Start migration for %s with shared base image"
369 migration_block_init_full(const char *blk_device_name) "Start full migration for %s"
370 migration_block_save_device_dirty(int64_t sector) "Error reading sector %" PRId64
371 migration_block_flush_blks(const char *action, int submitted, int read_done, int transferred) "%s submitted %d read_done %d transferred %d"
372 migration_block_save(const char *mig_stage, int submitted, int transferred) "Enter save live %s submitted %d transferred %d"
373 migration_block_save_complete(void) "Block migration completed"
374 migration_block_state_pending(uint64_t pending) "Enter save live pending  %" PRIu64
375 migration_block_progression(unsigned percent) "Completed %u%%"
377 # page_cache.c
378 migration_pagecache_init(int64_t max_num_items) "Setting cache buckets to %" PRId64
379 migration_pagecache_insert(void) "Error allocating page"