xref: /openbmc/qemu/trace-events (revision 5692399f)
1# Trace events for debugging and performance instrumentation
2#
3# This file is processed by the tracetool script during the build.
4#
5# To add a new trace event:
6#
7# 1. Choose a name for the trace event.  Declare its arguments and format
8#    string.
9#
10# 2. Call the trace event from code using trace_##name, e.g. multiwrite_cb() ->
11#    trace_multiwrite_cb().  The source file must #include "trace.h".
12#
13# Format of a trace event:
14#
15# [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>"
16#
17# Example: g_malloc(size_t size) "size %zu"
18#
19# The "disable" keyword will build without the trace event.
20#
21# The <name> must be a valid as a C function name.
22#
23# Types should be standard C types.  Use void * for pointers because the trace
24# system may not have the necessary headers included.
25#
26# The <format-string> should be a sprintf()-compatible format string.
27
28# util/oslib-win32.c
29# util/oslib-posix.c
30qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
31qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
32qemu_vfree(void *ptr) "ptr %p"
33qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
34
35# hw/virtio/virtio.c
36virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u"
37virtqueue_flush(void *vq, unsigned int count) "vq %p count %u"
38virtqueue_pop(void *vq, void *elem, unsigned int in_num, unsigned int out_num) "vq %p elem %p in_num %u out_num %u"
39virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p"
40virtio_irq(void *vq) "vq %p"
41virtio_notify(void *vdev, void *vq) "vdev %p vq %p"
42virtio_set_status(void *vdev, uint8_t val) "vdev %p val %u"
43
44# hw/char/virtio-serial-bus.c
45virtio_serial_send_control_event(unsigned int port, uint16_t event, uint16_t value) "port %u, event %u, value %u"
46virtio_serial_throttle_port(unsigned int port, bool throttle) "port %u, throttle %d"
47virtio_serial_handle_control_message(uint16_t event, uint16_t value) "event %u, value %u"
48virtio_serial_handle_control_message_port(unsigned int port) "port %u"
49
50# hw/char/virtio-console.c
51virtio_console_flush_buf(unsigned int port, size_t len, ssize_t ret) "port %u, in_len %zu, out_len %zd"
52virtio_console_chr_read(unsigned int port, int size) "port %u, size %d"
53virtio_console_chr_event(unsigned int port, int event) "port %u, event %d"
54
55# block.c
56bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filename \"%s\" flags %#x format_name \"%s\""
57multiwrite_cb(void *mcb, int ret) "mcb %p ret %d"
58bdrv_aio_multiwrite(void *mcb, int num_callbacks, int num_reqs) "mcb %p num_callbacks %d num_reqs %d"
59bdrv_aio_discard(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
60bdrv_aio_flush(void *bs, void *opaque) "bs %p opaque %p"
61bdrv_aio_readv(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
62bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
63bdrv_aio_write_zeroes(void *bs, int64_t sector_num, int nb_sectors, int flags, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d flags %#x opaque %p"
64bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
65bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
66bdrv_co_copy_on_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
67bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
68bdrv_co_write_zeroes(void *bs, int64_t sector_num, int nb_sector, int flags) "bs %p sector_num %"PRId64" nb_sectors %d flags %#x"
69bdrv_co_io_em(void *bs, int64_t sector_num, int nb_sectors, int is_write, void *acb) "bs %p sector_num %"PRId64" nb_sectors %d is_write %d acb %p"
70bdrv_co_do_copy_on_readv(void *bs, int64_t sector_num, int nb_sectors, int64_t cluster_sector_num, int cluster_nb_sectors) "bs %p sector_num %"PRId64" nb_sectors %d cluster_sector_num %"PRId64" cluster_nb_sectors %d"
71
72# block/stream.c
73stream_one_iteration(void *s, int64_t sector_num, int nb_sectors, int is_allocated) "s %p sector_num %"PRId64" nb_sectors %d is_allocated %d"
74stream_start(void *bs, void *base, void *s, void *co, void *opaque) "bs %p base %p s %p co %p opaque %p"
75
76# block/commit.c
77commit_one_iteration(void *s, int64_t sector_num, int nb_sectors, int is_allocated) "s %p sector_num %"PRId64" nb_sectors %d is_allocated %d"
78commit_start(void *bs, void *base, void *top, void *s, void *co, void *opaque) "bs %p base %p top %p s %p co %p opaque %p"
79
80# block/mirror.c
81mirror_start(void *bs, void *s, void *co, void *opaque) "bs %p s %p co %p opaque %p"
82mirror_restart_iter(void *s, int64_t cnt) "s %p dirty count %"PRId64
83mirror_before_flush(void *s) "s %p"
84mirror_before_drain(void *s, int64_t cnt) "s %p dirty count %"PRId64
85mirror_before_sleep(void *s, int64_t cnt, int synced, uint64_t delay_ns) "s %p dirty count %"PRId64" synced %d delay %"PRIu64"ns"
86mirror_one_iteration(void *s, int64_t sector_num, int nb_sectors) "s %p sector_num %"PRId64" nb_sectors %d"
87mirror_iteration_done(void *s, int64_t sector_num, int nb_sectors, int ret) "s %p sector_num %"PRId64" nb_sectors %d ret %d"
88mirror_yield(void *s, int64_t cnt, int buf_free_count, int in_flight) "s %p dirty count %"PRId64" free buffers %d in_flight %d"
89mirror_yield_in_flight(void *s, int64_t sector_num, int in_flight) "s %p sector_num %"PRId64" in_flight %d"
90mirror_yield_buf_busy(void *s, int nb_chunks, int in_flight) "s %p requested chunks %d in_flight %d"
91mirror_break_buf_busy(void *s, int nb_chunks, int in_flight) "s %p requested chunks %d in_flight %d"
92
93# block/backup.c
94backup_do_cow_enter(void *job, int64_t start, int64_t sector_num, int nb_sectors) "job %p start %"PRId64" sector_num %"PRId64" nb_sectors %d"
95backup_do_cow_return(void *job, int64_t sector_num, int nb_sectors, int ret) "job %p sector_num %"PRId64" nb_sectors %d ret %d"
96backup_do_cow_skip(void *job, int64_t start) "job %p start %"PRId64
97backup_do_cow_process(void *job, int64_t start) "job %p start %"PRId64
98backup_do_cow_read_fail(void *job, int64_t start, int ret) "job %p start %"PRId64" ret %d"
99backup_do_cow_write_fail(void *job, int64_t start, int ret) "job %p start %"PRId64" ret %d"
100
101# blockdev.c
102qmp_block_job_cancel(void *job) "job %p"
103qmp_block_job_pause(void *job) "job %p"
104qmp_block_job_resume(void *job) "job %p"
105qmp_block_job_complete(void *job) "job %p"
106block_job_cb(void *bs, void *job, int ret) "bs %p job %p ret %d"
107qmp_block_stream(void *bs, void *job) "bs %p job %p"
108
109# hw/block/virtio-blk.c
110virtio_blk_req_complete(void *req, int status) "req %p status %d"
111virtio_blk_rw_complete(void *req, int ret) "req %p ret %d"
112virtio_blk_handle_write(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
113virtio_blk_handle_read(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
114
115# hw/block/dataplane/virtio-blk.c
116virtio_blk_data_plane_start(void *s) "dataplane %p"
117virtio_blk_data_plane_stop(void *s) "dataplane %p"
118virtio_blk_data_plane_process_request(void *s, unsigned int out_num, unsigned int in_num, unsigned int head) "dataplane %p out_num %u in_num %u head %u"
119virtio_blk_data_plane_complete_request(void *s, unsigned int head, int ret) "dataplane %p head %u ret %d"
120
121# hw/virtio/dataplane/vring.c
122vring_setup(uint64_t physical, void *desc, void *avail, void *used) "vring physical %#"PRIx64" desc %p avail %p used %p"
123
124# thread-pool.c
125thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
126thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
127thread_pool_cancel(void *req, void *opaque) "req %p opaque %p"
128
129# block/raw-win32.c
130# block/raw-posix.c
131paio_submit_co(int64_t sector_num, int nb_sectors, int type) "sector_num %"PRId64" nb_sectors %d type %d"
132paio_submit(void *acb, void *opaque, int64_t sector_num, int nb_sectors, int type) "acb %p opaque %p sector_num %"PRId64" nb_sectors %d type %d"
133
134# ioport.c
135cpu_in(unsigned int addr, unsigned int val) "addr %#x value %u"
136cpu_out(unsigned int addr, unsigned int val) "addr %#x value %u"
137
138# balloon.c
139# Since requests are raised via monitor, not many tracepoints are needed.
140balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
141
142# hw/intc/apic_common.c
143cpu_set_apic_base(uint64_t val) "%016"PRIx64
144cpu_get_apic_base(uint64_t val) "%016"PRIx64
145# coalescing
146apic_report_irq_delivered(int apic_irq_delivered) "coalescing %d"
147apic_reset_irq_delivered(int apic_irq_delivered) "old coalescing %d"
148apic_get_irq_delivered(int apic_irq_delivered) "returning coalescing %d"
149
150# hw/intc/apic.c
151apic_local_deliver(int vector, uint32_t lvt) "vector %d delivery mode %d"
152apic_deliver_irq(uint8_t dest, uint8_t dest_mode, uint8_t delivery_mode, uint8_t vector_num, uint8_t trigger_mode) "dest %d dest_mode %d delivery_mode %d vector %d trigger_mode %d"
153apic_mem_readl(uint64_t addr, uint32_t val)  "%"PRIx64" = %08x"
154apic_mem_writel(uint64_t addr, uint32_t val) "%"PRIx64" = %08x"
155
156# hw/audio/cs4231.c
157cs4231_mem_readl_dreg(uint32_t reg, uint32_t ret) "read dreg %d: 0x%02x"
158cs4231_mem_readl_reg(uint32_t reg, uint32_t ret) "read reg %d: 0x%08x"
159cs4231_mem_writel_reg(uint32_t reg, uint32_t old, uint32_t val) "write reg %d: 0x%08x -> 0x%08x"
160cs4231_mem_writel_dreg(uint32_t reg, uint32_t old, uint32_t val) "write dreg %d: 0x%02x -> 0x%02x"
161
162# hw/nvram/ds1225y.c
163nvram_read(uint32_t addr, uint32_t ret) "read addr %d: 0x%02x"
164nvram_write(uint32_t addr, uint32_t old, uint32_t val) "write addr %d: 0x%02x -> 0x%02x"
165
166# hw/misc/eccmemctl.c
167ecc_mem_writel_mer(uint32_t val) "Write memory enable %08x"
168ecc_mem_writel_mdr(uint32_t val) "Write memory delay %08x"
169ecc_mem_writel_mfsr(uint32_t val) "Write memory fault status %08x"
170ecc_mem_writel_vcr(uint32_t val) "Write slot configuration %08x"
171ecc_mem_writel_dr(uint32_t val) "Write diagnostic %08x"
172ecc_mem_writel_ecr0(uint32_t val) "Write event count 1 %08x"
173ecc_mem_writel_ecr1(uint32_t val) "Write event count 2 %08x"
174ecc_mem_readl_mer(uint32_t ret) "Read memory enable %08x"
175ecc_mem_readl_mdr(uint32_t ret) "Read memory delay %08x"
176ecc_mem_readl_mfsr(uint32_t ret) "Read memory fault status %08x"
177ecc_mem_readl_vcr(uint32_t ret) "Read slot configuration %08x"
178ecc_mem_readl_mfar0(uint32_t ret) "Read memory fault address 0 %08x"
179ecc_mem_readl_mfar1(uint32_t ret) "Read memory fault address 1 %08x"
180ecc_mem_readl_dr(uint32_t ret) "Read diagnostic %08x"
181ecc_mem_readl_ecr0(uint32_t ret) "Read event count 1 %08x"
182ecc_mem_readl_ecr1(uint32_t ret) "Read event count 2 %08x"
183ecc_diag_mem_writeb(uint64_t addr, uint32_t val) "Write diagnostic %"PRId64" = %02x"
184ecc_diag_mem_readb(uint64_t addr, uint32_t ret) "Read diagnostic %"PRId64"= %02x"
185
186# hw/nvram/fw_cfg.c
187fw_cfg_write(void *s, uint8_t value) "%p %d"
188fw_cfg_select(void *s, uint16_t key, int ret) "%p key %d = %d"
189fw_cfg_read(void *s, uint8_t ret) "%p = %d"
190fw_cfg_add_file_dupe(void *s, char *name) "%p %s"
191fw_cfg_add_file(void *s, int index, char *name, size_t len) "%p #%d: %s (%zd bytes)"
192
193# hw/block/hd-geometry.c
194hd_geometry_lchs_guess(void *bs, int cyls, int heads, int secs) "bs %p LCHS %d %d %d"
195hd_geometry_guess(void *bs, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "bs %p CHS %u %u %u trans %d"
196
197# hw/display/jazz_led.c
198jazz_led_read(uint64_t addr, uint8_t val) "read addr=0x%"PRIx64": 0x%x"
199jazz_led_write(uint64_t addr, uint8_t new) "write addr=0x%"PRIx64": 0x%x"
200
201# hw/net/lance.c
202lance_mem_readw(uint64_t addr, uint32_t ret) "addr=%"PRIx64"val=0x%04x"
203lance_mem_writew(uint64_t addr, uint32_t val) "addr=%"PRIx64"val=0x%04x"
204
205# hw/intc/slavio_intctl.c
206slavio_intctl_mem_readl(uint32_t cpu, uint64_t addr, uint32_t ret) "read cpu %d reg 0x%"PRIx64" = %x"
207slavio_intctl_mem_writel(uint32_t cpu, uint64_t addr, uint32_t val) "write cpu %d reg 0x%"PRIx64" = %x"
208slavio_intctl_mem_writel_clear(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Cleared cpu %d irq mask %x, curmask %x"
209slavio_intctl_mem_writel_set(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Set cpu %d irq mask %x, curmask %x"
210slavio_intctlm_mem_readl(uint64_t addr, uint32_t ret) "read system reg 0x%"PRIx64" = %x"
211slavio_intctlm_mem_writel(uint64_t addr, uint32_t val) "write system reg 0x%"PRIx64" = %x"
212slavio_intctlm_mem_writel_enable(uint32_t val, uint32_t intregm_disabled) "Enabled master irq mask %x, curmask %x"
213slavio_intctlm_mem_writel_disable(uint32_t val, uint32_t intregm_disabled) "Disabled master irq mask %x, curmask %x"
214slavio_intctlm_mem_writel_target(uint32_t cpu) "Set master irq cpu %d"
215slavio_check_interrupts(uint32_t pending, uint32_t intregm_disabled) "pending %x disabled %x"
216slavio_set_irq(uint32_t target_cpu, int irq, uint32_t pil, int level) "Set cpu %d irq %d -> pil %d level %d"
217slavio_set_timer_irq_cpu(int cpu, int level) "Set cpu %d local timer level %d"
218
219# hw/misc/slavio_misc.c
220slavio_misc_update_irq_raise(void) "Raise IRQ"
221slavio_misc_update_irq_lower(void) "Lower IRQ"
222slavio_set_power_fail(int power_failing, uint8_t config) "Power fail: %d, config: %d"
223slavio_cfg_mem_writeb(uint32_t val) "Write config %02x"
224slavio_cfg_mem_readb(uint32_t ret) "Read config %02x"
225slavio_diag_mem_writeb(uint32_t val) "Write diag %02x"
226slavio_diag_mem_readb(uint32_t ret) "Read diag %02x"
227slavio_mdm_mem_writeb(uint32_t val) "Write modem control %02x"
228slavio_mdm_mem_readb(uint32_t ret) "Read modem control %02x"
229slavio_aux1_mem_writeb(uint32_t val) "Write aux1 %02x"
230slavio_aux1_mem_readb(uint32_t ret) "Read aux1 %02x"
231slavio_aux2_mem_writeb(uint32_t val) "Write aux2 %02x"
232slavio_aux2_mem_readb(uint32_t ret) "Read aux2 %02x"
233apc_mem_writeb(uint32_t val) "Write power management %02x"
234apc_mem_readb(uint32_t ret) "Read power management %02x"
235slavio_sysctrl_mem_writel(uint32_t val) "Write system control %08x"
236slavio_sysctrl_mem_readl(uint32_t ret) "Read system control %08x"
237slavio_led_mem_writew(uint32_t val) "Write diagnostic LED %04x"
238slavio_led_mem_readw(uint32_t ret) "Read diagnostic LED %04x"
239
240# hw/timer/slavio_timer.c
241slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x"
242slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count %x%08x"
243slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address %"PRIx64
244slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read %"PRIx64" = %08x"
245slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write %"PRIx64" = %08x"
246slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to %016"PRIx64
247slavio_timer_mem_writel_counter_invalid(void) "not user timer"
248slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started"
249slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped"
250slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to user timer"
251slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user timer to counter"
252slavio_timer_mem_writel_mode_invalid(void) "not system timer"
253slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address %"PRIx64
254
255# hw/dma/sparc32_dma.c
256ledma_memory_read(uint64_t addr) "DMA read addr 0x%"PRIx64
257ledma_memory_write(uint64_t addr) "DMA write addr 0x%"PRIx64
258sparc32_dma_set_irq_raise(void) "Raise IRQ"
259sparc32_dma_set_irq_lower(void) "Lower IRQ"
260espdma_memory_read(uint32_t addr) "DMA read addr 0x%08x"
261espdma_memory_write(uint32_t addr) "DMA write addr 0x%08x"
262sparc32_dma_mem_readl(uint64_t addr, uint32_t ret) "read dmareg %"PRIx64": 0x%08x"
263sparc32_dma_mem_writel(uint64_t addr, uint32_t old, uint32_t val) "write dmareg %"PRIx64": 0x%08x -> 0x%08x"
264sparc32_dma_enable_raise(void) "Raise DMA enable"
265sparc32_dma_enable_lower(void) "Lower DMA enable"
266
267# hw/sparc/sun4m.c
268sun4m_cpu_interrupt(unsigned int level) "Set CPU IRQ %d"
269sun4m_cpu_reset_interrupt(unsigned int level) "Reset CPU IRQ %d"
270sun4m_cpu_set_irq_raise(int level) "Raise CPU IRQ %d"
271sun4m_cpu_set_irq_lower(int level) "Lower CPU IRQ %d"
272
273# hw/dma/sun4m_iommu.c
274sun4m_iommu_mem_readl(uint64_t addr, uint32_t ret) "read reg[%"PRIx64"] = %x"
275sun4m_iommu_mem_writel(uint64_t addr, uint32_t val) "write reg[%"PRIx64"] = %x"
276sun4m_iommu_mem_writel_ctrl(uint64_t iostart) "iostart = %"PRIx64
277sun4m_iommu_mem_writel_tlbflush(uint32_t val) "tlb flush %x"
278sun4m_iommu_mem_writel_pgflush(uint32_t val) "page flush %x"
279sun4m_iommu_page_get_flags(uint64_t pa, uint64_t iopte, uint32_t ret) "get flags addr %"PRIx64" => pte %"PRIx64", *pte = %x"
280sun4m_iommu_translate_pa(uint64_t addr, uint64_t pa, uint32_t iopte) "xlate dva %"PRIx64" => pa %"PRIx64" iopte = %x"
281sun4m_iommu_bad_addr(uint64_t addr) "bad addr %"PRIx64
282
283# hw/usb/core.c
284usb_packet_state_change(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s -> %s"
285usb_packet_state_fault(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s, expected %s"
286
287# hw/usb/bus.c
288usb_port_claim(int bus, const char *port) "bus %d, port %s"
289usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s"
290usb_port_detach(int bus, const char *port) "bus %d, port %s"
291usb_port_release(int bus, const char *port) "bus %d, port %s"
292
293# hw/usb/hcd-ehci.c
294usb_ehci_reset(void) "=== RESET ==="
295usb_ehci_opreg_read(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
296usb_ehci_opreg_write(uint32_t addr, const char *str, uint32_t val) "wr mmio %04x [%s] = %x"
297usb_ehci_opreg_change(uint32_t addr, const char *str, uint32_t new, uint32_t old) "ch mmio %04x [%s] = %x (old: %x)"
298usb_ehci_portsc_read(uint32_t addr, uint32_t port, uint32_t val) "rd mmio %04x [port %d] = %x"
299usb_ehci_portsc_write(uint32_t addr, uint32_t port, uint32_t val) "wr mmio %04x [port %d] = %x"
300usb_ehci_portsc_change(uint32_t addr, uint32_t port, uint32_t new, uint32_t old) "ch mmio %04x [port %d] = %x (old: %x)"
301usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
302usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"
303usb_ehci_qh_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t c_qtd, uint32_t n_qtd, uint32_t a_qtd) "q %p - QH @ %08x: next %08x qtds %08x,%08x,%08x"
304usb_ehci_qh_fields(uint32_t addr, int rl, int mplen, int eps, int ep, int devaddr) "QH @ %08x - rl %d, mplen %d, eps %d, ep %d, dev %d"
305usb_ehci_qh_bits(uint32_t addr, int c, int h, int dtc, int i) "QH @ %08x - c %d, h %d, dtc %d, i %d"
306usb_ehci_qtd_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t altnext) "q %p - QTD @ %08x: next %08x altnext %08x"
307usb_ehci_qtd_fields(uint32_t addr, int tbytes, int cpage, int cerr, int pid) "QTD @ %08x - tbytes %d, cpage %d, cerr %d, pid %d"
308usb_ehci_qtd_bits(uint32_t addr, int ioc, int active, int halt, int babble, int xacterr) "QTD @ %08x - ioc %d, active %d, halt %d, babble %d, xacterr %d"
309usb_ehci_itd(uint32_t addr, uint32_t nxt, uint32_t mplen, uint32_t mult, uint32_t ep, uint32_t devaddr) "ITD @ %08x: next %08x - mplen %d, mult %d, ep %d, dev %d"
310usb_ehci_sitd(uint32_t addr, uint32_t nxt, uint32_t active) "ITD @ %08x: next %08x - active %d"
311usb_ehci_port_attach(uint32_t port, const char *owner, const char *device) "attach port #%d, owner %s, device %s"
312usb_ehci_port_detach(uint32_t port, const char *owner) "detach port #%d, owner %s"
313usb_ehci_port_reset(uint32_t port, int enable) "reset port #%d - %d"
314usb_ehci_port_suspend(uint32_t port) "port #%d"
315usb_ehci_port_wakeup(uint32_t port) "port #%d"
316usb_ehci_port_resume(uint32_t port) "port #%d"
317usb_ehci_queue_action(void *q, const char *action) "q %p: %s"
318usb_ehci_packet_action(void *q, void *p, const char *action) "q %p p %p: %s"
319usb_ehci_irq(uint32_t level, uint32_t frindex, uint32_t sts, uint32_t mask) "level %d, frindex 0x%04x, sts 0x%x, mask 0x%x"
320usb_ehci_guest_bug(const char *reason) "%s"
321usb_ehci_doorbell_ring(void) ""
322usb_ehci_doorbell_ack(void) ""
323usb_ehci_dma_error(void) ""
324
325# hw/usb/hcd-uhci.c
326usb_uhci_reset(void) "=== RESET ==="
327usb_uhci_schedule_start(void) ""
328usb_uhci_schedule_stop(void) ""
329usb_uhci_frame_start(uint32_t num) "nr %d"
330usb_uhci_frame_stop_bandwidth(void) ""
331usb_uhci_frame_loop_stop_idle(void) ""
332usb_uhci_frame_loop_continue(void) ""
333usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr 0x%04x, ret 0x%04x"
334usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr 0x%04x, val 0x%04x"
335usb_uhci_queue_add(uint32_t token) "token 0x%x"
336usb_uhci_queue_del(uint32_t token, const char *reason) "token 0x%x: %s"
337usb_uhci_packet_add(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
338usb_uhci_packet_link_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
339usb_uhci_packet_unlink_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
340usb_uhci_packet_cancel(uint32_t token, uint32_t addr, int done) "token 0x%x, td 0x%x, done %d"
341usb_uhci_packet_complete_success(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
342usb_uhci_packet_complete_shortxfer(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
343usb_uhci_packet_complete_stall(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
344usb_uhci_packet_complete_babble(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
345usb_uhci_packet_complete_error(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
346usb_uhci_packet_del(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
347usb_uhci_qh_load(uint32_t qh) "qh 0x%x"
348usb_uhci_td_load(uint32_t qh, uint32_t td, uint32_t ctrl, uint32_t token) "qh 0x%x, td 0x%x, ctrl 0x%x, token 0x%x"
349usb_uhci_td_queue(uint32_t td, uint32_t ctrl, uint32_t token) "td 0x%x, ctrl 0x%x, token 0x%x"
350usb_uhci_td_nextqh(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
351usb_uhci_td_async(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
352usb_uhci_td_complete(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
353
354# hw/usb/hcd-xhci.c
355usb_xhci_reset(void) "=== RESET ==="
356usb_xhci_run(void) ""
357usb_xhci_stop(void) ""
358usb_xhci_cap_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
359usb_xhci_oper_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
360usb_xhci_port_read(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, ret 0x%08x"
361usb_xhci_runtime_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
362usb_xhci_doorbell_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
363usb_xhci_oper_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
364usb_xhci_port_write(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, val 0x%08x"
365usb_xhci_runtime_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
366usb_xhci_doorbell_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
367usb_xhci_irq_intx(uint32_t level) "level %d"
368usb_xhci_irq_msi(uint32_t nr) "nr %d"
369usb_xhci_irq_msix(uint32_t nr) "nr %d"
370usb_xhci_irq_msix_use(uint32_t nr) "nr %d"
371usb_xhci_irq_msix_unuse(uint32_t nr) "nr %d"
372usb_xhci_queue_event(uint32_t vector, uint32_t idx, const char *trb, const char *evt, uint64_t param, uint32_t status, uint32_t control) "v %d, idx %d, %s, %s, p %016" PRIx64 ", s %08x, c 0x%08x"
373usb_xhci_fetch_trb(uint64_t addr, const char *name, uint64_t param, uint32_t status, uint32_t control) "addr %016" PRIx64 ", %s, p %016" PRIx64 ", s %08x, c 0x%08x"
374usb_xhci_port_reset(uint32_t port, bool warm) "port %d, warm %d"
375usb_xhci_port_link(uint32_t port, uint32_t pls) "port %d, pls %d"
376usb_xhci_port_notify(uint32_t port, uint32_t pls) "port %d, bits %x"
377usb_xhci_slot_enable(uint32_t slotid) "slotid %d"
378usb_xhci_slot_disable(uint32_t slotid) "slotid %d"
379usb_xhci_slot_address(uint32_t slotid, const char *port) "slotid %d, port %s"
380usb_xhci_slot_configure(uint32_t slotid) "slotid %d"
381usb_xhci_slot_evaluate(uint32_t slotid) "slotid %d"
382usb_xhci_slot_reset(uint32_t slotid) "slotid %d"
383usb_xhci_ep_enable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
384usb_xhci_ep_disable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
385usb_xhci_ep_set_dequeue(uint32_t slotid, uint32_t epid, uint32_t streamid, uint64_t param) "slotid %d, epid %d, streamid %d, ptr %016" PRIx64
386usb_xhci_ep_kick(uint32_t slotid, uint32_t epid, uint32_t streamid) "slotid %d, epid %d, streamid %d"
387usb_xhci_ep_stop(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
388usb_xhci_ep_reset(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
389usb_xhci_ep_state(uint32_t slotid, uint32_t epid, const char *os, const char *ns) "slotid %d, epid %d, %s -> %s"
390usb_xhci_xfer_start(void *xfer, uint32_t slotid, uint32_t epid, uint32_t streamid) "%p: slotid %d, epid %d, streamid %d"
391usb_xhci_xfer_async(void *xfer) "%p"
392usb_xhci_xfer_nak(void *xfer) "%p"
393usb_xhci_xfer_retry(void *xfer) "%p"
394usb_xhci_xfer_success(void *xfer, uint32_t bytes) "%p: len %d"
395usb_xhci_xfer_error(void *xfer, uint32_t ret) "%p: ret %d"
396usb_xhci_unimplemented(const char *item, int nr) "%s (0x%x)"
397
398# hw/usb/desc.c
399usb_desc_device(int addr, int len, int ret) "dev %d query device, len %d, ret %d"
400usb_desc_device_qualifier(int addr, int len, int ret) "dev %d query device qualifier, len %d, ret %d"
401usb_desc_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
402usb_desc_other_speed_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
403usb_desc_string(int addr, int index, int len, int ret) "dev %d query string %d, len %d, ret %d"
404usb_desc_bos(int addr, int len, int ret) "dev %d bos, len %d, ret %d"
405usb_desc_msos(int addr, int index, int len, int ret) "dev %d msos, index 0x%x, len %d, ret %d"
406usb_set_addr(int addr) "dev %d"
407usb_set_config(int addr, int config, int ret) "dev %d, config %d, ret %d"
408usb_set_interface(int addr, int iface, int alt, int ret) "dev %d, interface %d, altsetting %d, ret %d"
409usb_clear_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
410usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
411
412# hw/usb/dev-hub.c
413usb_hub_reset(int addr) "dev %d"
414usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, langth %d"
415usb_hub_get_port_status(int addr, int nr, int status, int changed) "dev %d, port %d, status 0x%x, changed 0x%x"
416usb_hub_set_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
417usb_hub_clear_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
418usb_hub_attach(int addr, int nr) "dev %d, port %d"
419usb_hub_detach(int addr, int nr) "dev %d, port %d"
420usb_hub_status_report(int addr, int status) "dev %d, status 0x%x"
421
422# hw/usb/dev-uas.c
423usb_uas_reset(int addr) "dev %d"
424usb_uas_command(int addr, uint16_t tag, int lun, uint32_t lun64_1, uint32_t lun64_2) "dev %d, tag 0x%x, lun %d, lun64 %08x-%08x"
425usb_uas_response(int addr, uint16_t tag, uint8_t code) "dev %d, tag 0x%x, code 0x%x"
426usb_uas_sense(int addr, uint16_t tag, uint8_t status) "dev %d, tag 0x%x, status 0x%x"
427usb_uas_read_ready(int addr, uint16_t tag) "dev %d, tag 0x%x"
428usb_uas_write_ready(int addr, uint16_t tag) "dev %d, tag 0x%x"
429usb_uas_xfer_data(int addr, uint16_t tag, uint32_t copy, uint32_t uoff, uint32_t usize, uint32_t soff, uint32_t ssize) "dev %d, tag 0x%x, copy %d, usb-pkt %d/%d, scsi-buf %d/%d"
430usb_uas_scsi_data(int addr, uint16_t tag, uint32_t bytes) "dev %d, tag 0x%x, bytes %d"
431usb_uas_scsi_complete(int addr, uint16_t tag, uint32_t status, uint32_t resid) "dev %d, tag 0x%x, status 0x%x, residue %d"
432usb_uas_tmf_abort_task(int addr, uint16_t tag, uint16_t task_tag) "dev %d, tag 0x%x, task-tag 0x%x"
433usb_uas_tmf_logical_unit_reset(int addr, uint16_t tag, int lun) "dev %d, tag 0x%x, lun %d"
434usb_uas_tmf_unsupported(int addr, uint16_t tag, uint32_t function) "dev %d, tag 0x%x, function 0x%x"
435
436# hw/usb/dev-mtp.c
437usb_mtp_reset(int addr) "dev %d"
438usb_mtp_command(int dev, uint16_t code, uint32_t trans, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4) "dev %d, code 0x%x, trans 0x%x, args 0x%x, 0x%x, 0x%x, 0x%x, 0x%x"
439usb_mtp_success(int dev, uint32_t trans, uint32_t arg0, uint32_t arg1) "dev %d, trans 0x%x, args 0x%x, 0x%x"
440usb_mtp_error(int dev, uint16_t code, uint32_t trans, uint32_t arg0, uint32_t arg1) "dev %d, code 0x%x, trans 0x%x, args 0x%x, 0x%x"
441usb_mtp_data_in(int dev, uint32_t trans, uint32_t len) "dev %d, trans 0x%x, len %d"
442usb_mtp_data_out(int dev, uint32_t trans, uint32_t len) "dev %d, trans 0x%x, len %d"
443usb_mtp_xfer(int dev, uint32_t ep, uint32_t dlen, uint32_t plen) "dev %d, ep %d, %d/%d"
444usb_mtp_nak(int dev, uint32_t ep) "dev %d, ep %d"
445usb_mtp_stall(int dev, const char *reason) "dev %d, reason: %s"
446usb_mtp_op_get_device_info(int dev) "dev %d"
447usb_mtp_op_open_session(int dev) "dev %d"
448usb_mtp_op_close_session(int dev) "dev %d"
449usb_mtp_op_get_storage_ids(int dev) "dev %d"
450usb_mtp_op_get_storage_info(int dev) "dev %d"
451usb_mtp_op_get_num_objects(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
452usb_mtp_op_get_object_handles(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
453usb_mtp_op_get_object_info(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
454usb_mtp_op_get_object(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
455usb_mtp_op_get_partial_object(int dev, uint32_t handle, const char *path, uint32_t offset, uint32_t length) "dev %d, handle 0x%x, path %s, off %d, len %d"
456usb_mtp_op_unknown(int dev, uint32_t code) "dev %d, command code 0x%x"
457usb_mtp_object_alloc(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
458usb_mtp_object_free(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
459
460# hw/usb/host-libusb.c
461usb_host_open_started(int bus, int addr) "dev %d:%d"
462usb_host_open_success(int bus, int addr) "dev %d:%d"
463usb_host_open_failure(int bus, int addr) "dev %d:%d"
464usb_host_close(int bus, int addr) "dev %d:%d"
465usb_host_attach_kernel(int bus, int addr, int interface) "dev %d:%d, if %d"
466usb_host_detach_kernel(int bus, int addr, int interface) "dev %d:%d, if %d"
467usb_host_set_address(int bus, int addr, int config) "dev %d:%d, address %d"
468usb_host_set_config(int bus, int addr, int config) "dev %d:%d, config %d"
469usb_host_set_interface(int bus, int addr, int interface, int alt) "dev %d:%d, interface %d, alt %d"
470usb_host_claim_interface(int bus, int addr, int config, int interface) "dev %d:%d, config %d, if %d"
471usb_host_release_interface(int bus, int addr, int interface) "dev %d:%d, if %d"
472usb_host_req_control(int bus, int addr, void *p, int req, int value, int index) "dev %d:%d, packet %p, req 0x%x, value %d, index %d"
473usb_host_req_data(int bus, int addr, void *p, int in, int ep, int size) "dev %d:%d, packet %p, in %d, ep %d, size %d"
474usb_host_req_complete(int bus, int addr, void *p, int status, int length) "dev %d:%d, packet %p, status %d, length %d"
475usb_host_req_emulated(int bus, int addr, void *p, int status) "dev %d:%d, packet %p, status %d"
476usb_host_req_canceled(int bus, int addr, void *p) "dev %d:%d, packet %p"
477usb_host_iso_start(int bus, int addr, int ep) "dev %d:%d, ep %d"
478usb_host_iso_stop(int bus, int addr, int ep) "dev %d:%d, ep %d"
479usb_host_iso_out_of_bufs(int bus, int addr, int ep) "dev %d:%d, ep %d"
480usb_host_reset(int bus, int addr) "dev %d:%d"
481usb_host_auto_scan_enabled(void)
482usb_host_auto_scan_disabled(void)
483usb_host_parse_config(int bus, int addr, int value, int active) "dev %d:%d, value %d, active %d"
484usb_host_parse_interface(int bus, int addr, int num, int alt, int active) "dev %d:%d, num %d, alt %d, active %d"
485usb_host_parse_endpoint(int bus, int addr, int ep, const char *dir, const char *type, int active) "dev %d:%d, ep %d, %s, %s, active %d"
486usb_host_parse_error(int bus, int addr, const char *errmsg) "dev %d:%d, msg %s"
487
488# hw/scsi/scsi-bus.c
489scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"
490scsi_req_cancel(int target, int lun, int tag) "target %d lun %d tag %d"
491scsi_req_data(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
492scsi_req_data_canceled(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
493scsi_req_dequeue(int target, int lun, int tag) "target %d lun %d tag %d"
494scsi_req_continue(int target, int lun, int tag) "target %d lun %d tag %d"
495scsi_req_continue_canceled(int target, int lun, int tag) "target %d lun %d tag %d"
496scsi_req_parsed(int target, int lun, int tag, int cmd, int mode, int xfer) "target %d lun %d tag %d command %d dir %d length %d"
497scsi_req_parsed_lba(int target, int lun, int tag, int cmd, uint64_t lba) "target %d lun %d tag %d command %d lba %"PRIu64
498scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d"
499scsi_req_build_sense(int target, int lun, int tag, int key, int asc, int ascq) "target %d lun %d tag %d key %#02x asc %#02x ascq %#02x"
500scsi_device_set_ua(int target, int lun, int key, int asc, int ascq) "target %d lun %d key %#02x asc %#02x ascq %#02x"
501scsi_report_luns(int target, int lun, int tag) "target %d lun %d tag %d"
502scsi_inquiry(int target, int lun, int tag, int cdb1, int cdb2) "target %d lun %d tag %d page %#02x/%#02x"
503scsi_test_unit_ready(int target, int lun, int tag) "target %d lun %d tag %d"
504scsi_request_sense(int target, int lun, int tag) "target %d lun %d tag %d"
505
506# vl.c
507vm_state_notify(int running, int reason) "running %d reason %d"
508load_file(const char *name, const char *path) "name %s location %s"
509runstate_set(int new_state) "new state %d"
510g_malloc(size_t size, void *ptr) "size %zu ptr %p"
511g_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p"
512g_free(void *ptr) "ptr %p"
513system_wakeup_request(int reason) "reason=%d"
514qemu_system_shutdown_request(void) ""
515qemu_system_powerdown_request(void) ""
516
517# block/qcow2.c
518qcow2_writev_start_req(void *co, int64_t sector, int nb_sectors) "co %p sector %" PRIx64 " nb_sectors %d"
519qcow2_writev_done_req(void *co, int ret) "co %p ret %d"
520qcow2_writev_start_part(void *co) "co %p"
521qcow2_writev_done_part(void *co, int cur_nr_sectors) "co %p cur_nr_sectors %d"
522qcow2_writev_data(void *co, uint64_t offset) "co %p offset %" PRIx64
523
524# block/qcow2-cluster.c
525qcow2_alloc_clusters_offset(void *co, uint64_t offset, int num) "co %p offset %" PRIx64 " num %d"
526qcow2_handle_copied(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " bytes %" PRIx64
527qcow2_handle_alloc(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " bytes %" PRIx64
528qcow2_do_alloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t host_offset, int nb_clusters) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " nb_clusters %d"
529qcow2_cluster_alloc_phys(void *co) "co %p"
530qcow2_cluster_link_l2(void *co, int nb_clusters) "co %p nb_clusters %d"
531
532qcow2_l2_allocate(void *bs, int l1_index) "bs %p l1_index %d"
533qcow2_l2_allocate_get_empty(void *bs, int l1_index) "bs %p l1_index %d"
534qcow2_l2_allocate_write_l2(void *bs, int l1_index) "bs %p l1_index %d"
535qcow2_l2_allocate_write_l1(void *bs, int l1_index) "bs %p l1_index %d"
536qcow2_l2_allocate_done(void *bs, int l1_index, int ret) "bs %p l1_index %d ret %d"
537
538# block/qcow2-cache.c
539qcow2_cache_get(void *co, int c, uint64_t offset, bool read_from_disk) "co %p is_l2_cache %d offset %" PRIx64 " read_from_disk %d"
540qcow2_cache_get_replace_entry(void *co, int c, int i) "co %p is_l2_cache %d index %d"
541qcow2_cache_get_read(void *co, int c, int i) "co %p is_l2_cache %d index %d"
542qcow2_cache_get_done(void *co, int c, int i) "co %p is_l2_cache %d index %d"
543qcow2_cache_flush(void *co, int c) "co %p is_l2_cache %d"
544qcow2_cache_entry_flush(void *co, int c, int i) "co %p is_l2_cache %d index %d"
545
546# block/qed-l2-cache.c
547qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p"
548qed_unref_l2_cache_entry(void *entry, int ref) "entry %p ref %d"
549qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %p offset %"PRIu64" ref %d"
550
551# block/qed-table.c
552qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p"
553qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d"
554qed_write_table(void *s, uint64_t offset, void *table, unsigned int index, unsigned int n) "s %p offset %"PRIu64" table %p index %u n %u"
555qed_write_table_cb(void *s, void *table, int flush, int ret) "s %p table %p flush %d ret %d"
556
557# block/qed.c
558qed_need_check_timer_cb(void *s) "s %p"
559qed_start_need_check_timer(void *s) "s %p"
560qed_cancel_need_check_timer(void *s) "s %p"
561qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d"
562qed_aio_setup(void *s, void *acb, int64_t sector_num, int nb_sectors, void *opaque, int flags) "s %p acb %p sector_num %"PRId64" nb_sectors %d opaque %p flags %#x"
563qed_aio_next_io(void *s, void *acb, int ret, uint64_t cur_pos) "s %p acb %p ret %d cur_pos %"PRIu64
564qed_aio_read_data(void *s, void *acb, int ret, uint64_t offset, size_t len) "s %p acb %p ret %d offset %"PRIu64" len %zu"
565qed_aio_write_data(void *s, void *acb, int ret, uint64_t offset, size_t len) "s %p acb %p ret %d offset %"PRIu64" len %zu"
566qed_aio_write_prefill(void *s, void *acb, uint64_t start, size_t len, uint64_t offset) "s %p acb %p start %"PRIu64" len %zu offset %"PRIu64
567qed_aio_write_postfill(void *s, void *acb, uint64_t start, size_t len, uint64_t offset) "s %p acb %p start %"PRIu64" len %zu offset %"PRIu64
568qed_aio_write_main(void *s, void *acb, int ret, uint64_t offset, size_t len) "s %p acb %p ret %d offset %"PRIu64" len %zu"
569
570# hw/display/g364fb.c
571g364fb_read(uint64_t addr, uint32_t val) "read addr=0x%"PRIx64": 0x%x"
572g364fb_write(uint64_t addr, uint32_t new) "write addr=0x%"PRIx64": 0x%x"
573
574# hw/timer/grlib_gptimer.c
575grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
576grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
577grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
578grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
579grlib_gptimer_hit(int id) "timer:%d HIT"
580grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
581grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
582
583# hw/intc/grlib_irqmp.c
584grlib_irqmp_check_irqs(uint32_t pend, uint32_t force, uint32_t mask, uint32_t lvl1, uint32_t lvl2) "pend:0x%04x force:0x%04x mask:0x%04x lvl1:0x%04x lvl0:0x%04x"
585grlib_irqmp_ack(int intno) "interrupt:%d"
586grlib_irqmp_set_irq(int irq) "Raise CPU IRQ %d"
587grlib_irqmp_readl_unknown(uint64_t addr) "addr 0x%"PRIx64
588grlib_irqmp_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
589
590# hw/char/grlib_apbuart.c
591grlib_apbuart_event(int event) "event:%d"
592grlib_apbuart_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
593grlib_apbuart_readl_unknown(uint64_t addr) "addr 0x%"PRIx64""
594
595# hw/sparc/leon3.c
596leon3_set_irq(int intno) "Set CPU IRQ %d"
597leon3_reset_irq(int intno) "Reset CPU IRQ %d"
598
599# spice-qemu-char.c
600spice_vmc_write(ssize_t out, int len) "spice wrottn %zd of requested %d"
601spice_vmc_read(int bytes, int len) "spice read %d of requested %d"
602spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
603spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
604spice_vmc_event(int event) "spice vmc event %d"
605
606# hw/intc/lm32_pic.c
607lm32_pic_raise_irq(void) "Raise CPU interrupt"
608lm32_pic_lower_irq(void) "Lower CPU interrupt"
609lm32_pic_interrupt(int irq, int level) "Set IRQ%d %d"
610lm32_pic_set_im(uint32_t im) "im 0x%08x"
611lm32_pic_set_ip(uint32_t ip) "ip 0x%08x"
612lm32_pic_get_im(uint32_t im) "im 0x%08x"
613lm32_pic_get_ip(uint32_t ip) "ip 0x%08x"
614
615# hw/char/lm32_juart.c
616lm32_juart_get_jtx(uint32_t value) "jtx 0x%08x"
617lm32_juart_set_jtx(uint32_t value) "jtx 0x%08x"
618lm32_juart_get_jrx(uint32_t value) "jrx 0x%08x"
619lm32_juart_set_jrx(uint32_t value) "jrx 0x%08x"
620
621# hw/timer/lm32_timer.c
622lm32_timer_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
623lm32_timer_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
624lm32_timer_hit(void) "timer hit"
625lm32_timer_irq_state(int level) "irq state %d"
626
627# hw/char/lm32_uart.c
628lm32_uart_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
629lm32_uart_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
630lm32_uart_irq_state(int level) "irq state %d"
631
632# hw/scsi/megasas.c
633megasas_init_firmware(uint64_t pa) "pa %" PRIx64 " "
634megasas_init_queue(uint64_t queue_pa, int queue_len, uint64_t head, uint64_t tail, uint32_t flags) "queue at %" PRIx64 " len %d head %" PRIx64 " tail %" PRIx64 " flags %x"
635megasas_initq_map_failed(int frame) "scmd %d: failed to map queue"
636megasas_initq_mismatch(int queue_len, int fw_cmds) "queue size %d max fw cmds %d"
637megasas_qf_found(unsigned int index, uint64_t pa) "found mapped frame %x pa %" PRIx64 ""
638megasas_qf_new(unsigned int index, void *cmd) "return new frame %x cmd %p"
639megasas_qf_failed(unsigned long pa) "all frames busy for frame %lx"
640megasas_qf_enqueue(unsigned int index, unsigned int count, uint64_t context, unsigned int tail, int busy) "enqueue frame %x count %d context %" PRIx64 " tail %x busy %d"
641megasas_qf_update(unsigned int head, unsigned int busy) "update reply queue head %x busy %d"
642megasas_qf_map_failed(int cmd, unsigned long frame) "scmd %d: frame %lu"
643megasas_qf_complete_noirq(uint64_t context) "context %" PRIx64 " "
644megasas_qf_complete(uint64_t context, unsigned int tail, unsigned int offset, int busy, unsigned int doorbell) "context %" PRIx64 " tail %x offset %d busy %d doorbell %x"
645megasas_frame_busy(uint64_t addr) "frame %" PRIx64 " busy"
646megasas_unhandled_frame_cmd(int cmd, uint8_t frame_cmd) "scmd %d: Unhandled MFI cmd %x"
647megasas_handle_scsi(const char *frame, int bus, int dev, int lun, void *sdev, unsigned long size) "%s dev %x/%x/%x sdev %p xfer %lu"
648megasas_scsi_target_not_present(const char *frame, int bus, int dev, int lun) "%s dev %x/%x/%x target not present"
649megasas_scsi_invalid_cdb_len(const char *frame, int bus, int dev, int lun, int len) "%s dev %x/%x/%x invalid cdb len %d"
650megasas_iov_read_overflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
651megasas_iov_write_overflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
652megasas_iov_read_underflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
653megasas_iov_write_underflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
654megasas_scsi_req_alloc_failed(const char *frame, int dev, int lun) "%s dev %x/%x req allocation failed"
655megasas_scsi_read_start(int cmd, int len) "scmd %d: transfer %d bytes of data"
656megasas_scsi_write_start(int cmd, int len) "scmd %d: transfer %d bytes of data"
657megasas_scsi_nodata(int cmd) "scmd %d: no data to be transferred"
658megasas_scsi_complete(int cmd, uint32_t status, int len, int xfer) "scmd %d: finished with status %x, len %u/%u"
659megasas_command_complete(int cmd, uint32_t status, uint32_t resid) "scmd %d: command completed, status %x, residual %d"
660megasas_handle_io(int cmd, const char *frame, int dev, int lun, unsigned long lba, unsigned long count) "scmd %d: %s dev %x/%x lba %lx count %lu"
661megasas_io_target_not_present(int cmd, const char *frame, int dev, int lun) "scmd %d: %s dev 1/%x/%x LUN not present"
662megasas_io_read_start(int cmd, unsigned long lba, unsigned long count, unsigned long len) "scmd %d: start LBA %lx %lu blocks (%lu bytes)"
663megasas_io_write_start(int cmd, unsigned long lba, unsigned long count, unsigned long len) "scmd %d: start LBA %lx %lu blocks (%lu bytes)"
664megasas_io_complete(int cmd, uint32_t len) "scmd %d: %d bytes completed"
665megasas_io_read(int cmd, int bytes, int len, unsigned long offset) "scmd %d: %d/%d bytes, iov offset %lu"
666megasas_io_write(int cmd, int bytes, int len, unsigned long offset) "scmd %d: %d/%d bytes, iov offset %lu"
667megasas_iovec_sgl_overflow(int cmd, int index, int limit) "scmd %d: iovec count %d limit %d"
668megasas_iovec_sgl_underflow(int cmd, int index) "scmd %d: iovec count %d"
669megasas_iovec_sgl_invalid(int cmd, int index, uint64_t pa, uint32_t len) "scmd %d: element %d pa %" PRIx64 " len %u"
670megasas_iovec_overflow(int cmd, int len, int limit) "scmd %d: len %d limit %d"
671megasas_iovec_underflow(int cmd, int len, int limit) "scmd %d: len %d limit %d"
672megasas_handle_dcmd(int cmd, int opcode) "scmd %d: MFI DCMD opcode %x"
673megasas_finish_dcmd(int cmd, int size) "scmd %d: MFI DCMD wrote %d bytes"
674megasas_dcmd_req_alloc_failed(int cmd, const char *desc) "scmd %d: %s alloc failed"
675megasas_dcmd_internal_submit(int cmd, const char *desc, int dev) "scmd %d: %s to dev %d"
676megasas_dcmd_internal_finish(int cmd, int opcode, int lun) "scmd %d: DCMD finish internal cmd %x lun %d"
677megasas_dcmd_internal_invalid(int cmd, int opcode) "scmd %d: Invalid internal DCMD %x"
678megasas_dcmd_unhandled(int cmd, int opcode, int len) "scmd %d: opcode %x, len %d"
679megasas_dcmd_zero_sge(int cmd) "scmd %d: zero DCMD sge count"
680megasas_dcmd_invalid_sge(int cmd, int count) "scmd %d: invalid DCMD sge count %d"
681megasas_dcmd_invalid_xfer_len(int cmd, unsigned long size, unsigned long max) "scmd %d: invalid xfer len %ld, max %ld"
682megasas_dcmd_enter(int cmd, const char *dcmd, int len) "scmd %d: DCMD %s len %d"
683megasas_dcmd_dummy(int cmd, unsigned long size) "scmd %d: DCMD dummy xfer len %ld"
684megasas_dcmd_set_fw_time(int cmd, unsigned long time) "scmd %d: Set FW time %lx"
685megasas_dcmd_pd_get_list(int cmd, int num, int max, int offset) "scmd %d: DCMD PD get list: %d / %d PDs, size %d"
686megasas_dcmd_ld_get_list(int cmd, int num, int max) "scmd %d: DCMD LD get list: found %d / %d LDs"
687megasas_dcmd_ld_get_info(int cmd, int ld_id) "scmd %d: DCMD LD get info for dev %d"
688megasas_dcmd_pd_get_info(int cmd, int pd_id) "scmd %d: DCMD PD get info for dev %d"
689megasas_dcmd_pd_list_query(int cmd, int flags) "scmd %d: DCMD PD list query flags %x"
690megasas_dcmd_ld_list_query(int cmd, int flags) "scmd %d: DCMD LD list query flags %x"
691megasas_dcmd_unsupported(int cmd, unsigned long size) "scmd %d: set properties len %ld"
692megasas_abort_frame(int cmd, int abort_cmd) "scmd %d: aborting frame %x"
693megasas_abort_no_cmd(int cmd, uint64_t context) "scmd %d: no active command for frame context %" PRIx64 ""
694megasas_abort_invalid_context(int cmd, uint64_t context, int abort_cmd) "scmd %d: invalid frame context %" PRIx64 " for abort frame %x"
695megasas_reset(void) "Reset"
696megasas_init(int sges, int cmds, const char *mode) "Using %d sges, %d cmds, %s mode"
697megasas_msix_raise(int vector) "vector %d"
698megasas_msi_raise(int vector) "vector %d"
699megasas_irq_lower(void) "INTx"
700megasas_irq_raise(void) "INTx"
701megasas_intr_enabled(void) "Interrupts enabled"
702megasas_intr_disabled(void) "Interrupts disabled"
703megasas_msix_enabled(int vector) "vector %d"
704megasas_msi_enabled(int vector) "vector %d"
705megasas_mmio_readl(unsigned long addr, uint32_t val) "addr 0x%lx: 0x%x"
706megasas_mmio_invalid_readl(unsigned long addr) "addr 0x%lx"
707megasas_mmio_writel(uint32_t addr, uint32_t val) "addr 0x%x: 0x%x"
708megasas_mmio_invalid_writel(uint32_t addr, uint32_t val) "addr 0x%x: 0x%x"
709
710# hw/audio/milkymist-ac97.c
711milkymist_ac97_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
712milkymist_ac97_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
713milkymist_ac97_pulse_irq_crrequest(void) "Pulse IRQ CR request"
714milkymist_ac97_pulse_irq_crreply(void) "Pulse IRQ CR reply"
715milkymist_ac97_pulse_irq_dmaw(void) "Pulse IRQ DMA write"
716milkymist_ac97_pulse_irq_dmar(void) "Pulse IRQ DMA read"
717milkymist_ac97_in_cb(int avail, uint32_t remaining) "avail %d remaining %u"
718milkymist_ac97_in_cb_transferred(int transferred) "transferred %d"
719milkymist_ac97_out_cb(int free, uint32_t remaining) "free %d remaining %u"
720milkymist_ac97_out_cb_transferred(int transferred) "transferred %d"
721
722# hw/misc/milkymist-hpdmc.c
723milkymist_hpdmc_memory_read(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
724milkymist_hpdmc_memory_write(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
725
726# hw/sd/milkymist-memcard.c
727milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
728milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
729
730# hw/net/milkymist-minimac2.c
731milkymist_minimac2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
732milkymist_minimac2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
733milkymist_minimac2_mdio_write(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
734milkymist_minimac2_mdio_read(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
735milkymist_minimac2_tx_frame(uint32_t length) "length %u"
736milkymist_minimac2_rx_frame(const void *buf, uint32_t length) "buf %p length %u"
737milkymist_minimac2_drop_rx_frame(const void *buf) "buf %p"
738milkymist_minimac2_rx_transfer(const void *buf, uint32_t length) "buf %p length %d"
739milkymist_minimac2_raise_irq_rx(void) "Raise IRQ RX"
740milkymist_minimac2_lower_irq_rx(void) "Lower IRQ RX"
741milkymist_minimac2_pulse_irq_tx(void) "Pulse IRQ TX"
742
743# hw/misc/milkymist-pfpu.c
744milkymist_pfpu_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
745milkymist_pfpu_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
746milkymist_pfpu_vectout(uint32_t a, uint32_t b, uint32_t dma_ptr) "a %08x b %08x dma_ptr %08x"
747milkymist_pfpu_pulse_irq(void) "Pulse IRQ"
748
749# hw/input/milkymist-softusb.c
750milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
751milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
752milkymist_softusb_mevt(uint8_t m) "m %d"
753milkymist_softusb_kevt(uint8_t m) "m %d"
754milkymist_softusb_pulse_irq(void) "Pulse IRQ"
755
756# hw/timer/milkymist-sysctl.c
757milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
758milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
759milkymist_sysctl_icap_write(uint32_t value) "value %08x"
760milkymist_sysctl_start_timer0(void) "Start timer0"
761milkymist_sysctl_stop_timer0(void) "Stop timer0"
762milkymist_sysctl_start_timer1(void) "Start timer1"
763milkymist_sysctl_stop_timer1(void) "Stop timer1"
764milkymist_sysctl_pulse_irq_timer0(void) "Pulse IRQ Timer0"
765milkymist_sysctl_pulse_irq_timer1(void) "Pulse IRQ Timer1"
766
767# hw/display/milkymist-tmu2.c
768milkymist_tmu2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
769milkymist_tmu2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
770milkymist_tmu2_start(void) "Start TMU"
771milkymist_tmu2_pulse_irq(void) "Pulse IRQ"
772
773# hw/char/milkymist-uart.c
774milkymist_uart_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
775milkymist_uart_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
776milkymist_uart_raise_irq(void) "Raise IRQ"
777milkymist_uart_lower_irq(void) "Lower IRQ"
778
779# hw/display/milkymist-vgafb.c
780milkymist_vgafb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
781milkymist_vgafb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
782
783# hw/net/mipsnet.c
784mipsnet_send(uint32_t size) "sending len=%u"
785mipsnet_receive(uint32_t size) "receiving len=%u"
786mipsnet_read(uint64_t addr, uint32_t val) "read addr=0x%" PRIx64 " val=0x%x"
787mipsnet_write(uint64_t addr, uint64_t val) "write addr=0x%" PRIx64 " val=0x%" PRIx64 ""
788mipsnet_irq(uint32_t isr, uint32_t intctl) "set irq to %d (%02x)"
789
790# hw/isa/pc87312.c
791pc87312_io_read(uint32_t addr, uint32_t val) "read addr=%x val=%x"
792pc87312_io_write(uint32_t addr, uint32_t val) "write addr=%x val=%x"
793pc87312_info_floppy(uint32_t base) "base 0x%x"
794pc87312_info_ide(uint32_t base) "base 0x%x"
795pc87312_info_parallel(uint32_t base, uint32_t irq) "base 0x%x, irq %u"
796pc87312_info_serial(int n, uint32_t base, uint32_t irq) "id=%d, base 0x%x, irq %u"
797
798# hw/scsi/vmw_pvscsi.c
799pvscsi_ring_init_data(uint32_t txr_len_log2, uint32_t rxr_len_log2) "TX/RX rings logarithms set to %d/%d"
800pvscsi_ring_init_msg(uint32_t len_log2) "MSG ring logarithm set to %d"
801pvscsi_ring_flush_cmp(uint64_t filled_cmp_ptr) "new production counter of completion ring is 0x%"PRIx64""
802pvscsi_ring_flush_msg(uint64_t filled_cmp_ptr) "new production counter of message ring is 0x%"PRIx64""
803pvscsi_update_irq_level(bool raise, uint64_t mask, uint64_t status) "interrupt level set to %d (MASK: 0x%"PRIx64", STATUS: 0x%"PRIx64")"
804pvscsi_update_irq_msi(void) "sending MSI notification"
805pvscsi_cmp_ring_put(unsigned long addr) "got completion descriptor 0x%lx"
806pvscsi_msg_ring_put(unsigned long addr) "got message descriptor 0x%lx"
807pvscsi_complete_request(uint64_t context, uint64_t len, uint8_t sense_key) "completion: ctx: 0x%"PRIx64", len: 0x%"PRIx64", sense key: %u"
808pvscsi_get_sg_list(int nsg, size_t size) "get SG list: depth: %u, size: %zu"
809pvscsi_get_next_sg_elem(uint32_t flags) "unknown flags in SG element (val: 0x%x)"
810pvscsi_command_complete_not_found(uint32_t tag) "can't find request for tag 0x%x"
811pvscsi_command_complete_data_run(void) "not all data required for command transferred"
812pvscsi_command_complete_sense_len(int len) "sense information length is %d bytes"
813pvscsi_convert_sglist(uint64_t context, unsigned long addr, uint32_t resid) "element: ctx: 0x%"PRIx64" addr: 0x%lx, len: %ul"
814pvscsi_process_req_descr(uint8_t cmd, uint64_t ctx) "SCSI cmd 0x%x, ctx: 0x%"PRIx64""
815pvscsi_process_req_descr_unknown_device(void) "command directed to unknown device rejected"
816pvscsi_process_req_descr_invalid_dir(void) "command with invalid transfer direction rejected"
817pvscsi_process_io(unsigned long addr) "got descriptor 0x%lx"
818pvscsi_on_cmd_noimpl(const char* cmd) "unimplemented command %s ignored"
819pvscsi_on_cmd_reset_dev(uint32_t tgt, int lun, void* dev) "PVSCSI_CMD_RESET_DEVICE[target %u lun %d (dev 0x%p)]"
820pvscsi_on_cmd_arrived(const char* cmd) "command %s arrived"
821pvscsi_on_cmd_abort(uint64_t ctx, uint32_t tgt) "command PVSCSI_CMD_ABORT_CMD for ctx 0x%"PRIx64", target %u"
822pvscsi_on_cmd_unknown(uint64_t cmd_id) "unknown command %"PRIx64""
823pvscsi_on_cmd_unknown_data(uint32_t data) "data for unknown command 0x:%x"
824pvscsi_io_write(const char* cmd, uint64_t val) "%s write: %"PRIx64""
825pvscsi_io_write_unknown(unsigned long addr, unsigned sz, uint64_t val) "unknown write address: 0x%lx size: %u bytes value: 0x%"PRIx64""
826pvscsi_io_read(const char* cmd, uint64_t status) "%s read: 0x%"PRIx64""
827pvscsi_io_read_unknown(unsigned long addr, unsigned sz) "unknown read address: 0x%lx size: %u bytes"
828pvscsi_init_msi_fail(int res) "failed to initialize MSI, error %d"
829pvscsi_state(const char* state) "starting %s ..."
830pvscsi_tx_rings_ppn(const char* label, uint64_t ppn) "%s page: %"PRIx64""
831pvscsi_tx_rings_num_pages(const char* label, uint32_t num) "Number of %s pages: %u"
832
833# xen-all.c
834xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: %#lx, size %#lx"
835xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "%#"PRIx64" size %#lx, log_dirty %i"
836
837# xen-mapcache.c
838xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
839xen_remap_bucket(uint64_t index) "index %#"PRIx64
840xen_map_cache_return(void* ptr) "%p"
841
842# hw/xen/xen_platform.c
843xen_platform_log(char *s) "xen platform: %s"
844
845# qemu-coroutine.c
846qemu_coroutine_enter(void *from, void *to, void *opaque) "from %p to %p opaque %p"
847qemu_coroutine_yield(void *from, void *to) "from %p to %p"
848qemu_coroutine_terminate(void *co) "self %p"
849
850# qemu-coroutine-lock.c
851qemu_co_queue_run_restart(void *co) "co %p"
852qemu_co_queue_next(void *nxt) "next %p"
853qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
854qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
855qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
856qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
857
858# hw/char/escc.c
859escc_put_queue(char channel, int b) "channel %c put: 0x%02x"
860escc_get_queue(char channel, int val) "channel %c get 0x%02x"
861escc_update_irq(int irq) "IRQ = %d"
862escc_update_parameters(char channel, int speed, int parity, int data_bits, int stop_bits) "channel %c: speed=%d parity=%c data=%d stop=%d"
863escc_mem_writeb_ctrl(char channel, uint32_t reg, uint32_t val) "Write channel %c, reg[%d] = %2.2x"
864escc_mem_writeb_data(char channel, uint32_t val) "Write channel %c, ch %d"
865escc_mem_readb_ctrl(char channel, uint32_t reg, uint8_t val) "Read channel %c, reg[%d] = %2.2x"
866escc_mem_readb_data(char channel, uint32_t ret) "Read channel %c, ch %d"
867escc_serial_receive_byte(char channel, int ch) "channel %c put ch %d"
868escc_sunkbd_event_in(int ch, const char *name, int down) "QKeyCode 0x%2.2x [%s], down %d"
869escc_sunkbd_event_out(int ch) "Translated keycode 0x%2.2x"
870escc_kbd_command(int val) "Command %d"
871escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=%01x"
872
873# block/iscsi.c
874iscsi_aio_write16_cb(void *iscsi, int status, void *acb, int canceled) "iscsi %p status %d acb %p canceled %d"
875iscsi_aio_writev(void *iscsi, int64_t sector_num, int nb_sectors, void *opaque, void *acb) "iscsi %p sector_num %"PRId64" nb_sectors %d opaque %p acb %p"
876iscsi_aio_read16_cb(void *iscsi, int status, void *acb, int canceled) "iscsi %p status %d acb %p canceled %d"
877iscsi_aio_readv(void *iscsi, int64_t sector_num, int nb_sectors, void *opaque, void *acb) "iscsi %p sector_num %"PRId64" nb_sectors %d opaque %p acb %p"
878
879# hw/scsi/esp.c
880esp_error_fifo_overrun(void) "FIFO overrun"
881esp_error_unhandled_command(uint32_t val) "unhandled command (%2.2x)"
882esp_error_invalid_write(uint32_t val, uint32_t addr) "invalid write of 0x%02x at [0x%x]"
883esp_raise_irq(void) "Raise IRQ"
884esp_lower_irq(void) "Lower IRQ"
885esp_dma_enable(void) "Raise enable"
886esp_dma_disable(void) "Lower enable"
887esp_get_cmd(uint32_t dmalen, int target) "len %d target %d"
888esp_do_busid_cmd(uint8_t busid) "busid 0x%x"
889esp_handle_satn_stop(uint32_t cmdlen) "cmdlen %d"
890esp_write_response(uint32_t status) "Transfer status (status=%d)"
891esp_do_dma(uint32_t cmdlen, uint32_t len) "command len %d + %d"
892esp_command_complete(void) "SCSI Command complete"
893esp_command_complete_unexpected(void) "SCSI command completed unexpectedly"
894esp_command_complete_fail(void) "Command failed"
895esp_transfer_data(uint32_t dma_left, int32_t ti_size) "transfer %d/%d"
896esp_handle_ti(uint32_t minlen) "Transfer Information len %d"
897esp_handle_ti_cmd(uint32_t cmdlen) "command len %d"
898esp_mem_readb(uint32_t saddr, uint8_t reg) "reg[%d]: 0x%2.2x"
899esp_mem_writeb(uint32_t saddr, uint8_t reg, uint32_t val) "reg[%d]: 0x%2.2x -> 0x%2.2x"
900esp_mem_writeb_cmd_nop(uint32_t val) "NOP (%2.2x)"
901esp_mem_writeb_cmd_flush(uint32_t val) "Flush FIFO (%2.2x)"
902esp_mem_writeb_cmd_reset(uint32_t val) "Chip reset (%2.2x)"
903esp_mem_writeb_cmd_bus_reset(uint32_t val) "Bus reset (%2.2x)"
904esp_mem_writeb_cmd_iccs(uint32_t val) "Initiator Command Complete Sequence (%2.2x)"
905esp_mem_writeb_cmd_msgacc(uint32_t val) "Message Accepted (%2.2x)"
906esp_mem_writeb_cmd_pad(uint32_t val) "Transfer padding (%2.2x)"
907esp_mem_writeb_cmd_satn(uint32_t val) "Set ATN (%2.2x)"
908esp_mem_writeb_cmd_rstatn(uint32_t val) "Reset ATN (%2.2x)"
909esp_mem_writeb_cmd_sel(uint32_t val) "Select without ATN (%2.2x)"
910esp_mem_writeb_cmd_selatn(uint32_t val) "Select with ATN (%2.2x)"
911esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (%2.2x)"
912esp_mem_writeb_cmd_ensel(uint32_t val) "Enable selection (%2.2x)"
913esp_mem_writeb_cmd_dissel(uint32_t val) "Disable selection (%2.2x)"
914
915# hw/scsi/esp-pci.c
916esp_pci_error_invalid_dma_direction(void) "invalid DMA transfer direction"
917esp_pci_error_invalid_read(uint32_t reg) "read access outside bounds (reg 0x%x)"
918esp_pci_error_invalid_write(uint32_t reg) "write access outside bounds (reg 0x%x)"
919esp_pci_error_invalid_write_dma(uint32_t val, uint32_t addr) "invalid write of 0x%02x at [0x%x]"
920esp_pci_dma_read(uint32_t saddr, uint32_t reg) "reg[%d]: 0x%8.8x"
921esp_pci_dma_write(uint32_t saddr, uint32_t reg, uint32_t val) "reg[%d]: 0x%8.8x -> 0x%8.8x"
922esp_pci_dma_idle(uint32_t val) "IDLE (%.8x)"
923esp_pci_dma_blast(uint32_t val) "BLAST (%.8x)"
924esp_pci_dma_abort(uint32_t val) "ABORT (%.8x)"
925esp_pci_dma_start(uint32_t val) "START (%.8x)"
926esp_pci_sbac_read(uint32_t reg) "sbac: 0x%8.8x"
927esp_pci_sbac_write(uint32_t reg, uint32_t val) "sbac: 0x%8.8x -> 0x%8.8x"
928
929# monitor.c
930handle_qmp_command(void *mon, const char *cmd_name) "mon %p cmd_name \"%s\""
931monitor_protocol_emitter(void *mon) "mon %p"
932monitor_protocol_event(uint32_t event, const char *evname, void *data) "event=%d name \"%s\" data %p"
933monitor_protocol_event_handler(uint32_t event, void *data, uint64_t last, uint64_t now) "event=%d data=%p last=%" PRId64 " now=%" PRId64
934monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
935monitor_protocol_event_queue(uint32_t event, void *data, uint64_t rate, uint64_t last, uint64_t now) "event=%d data=%p rate=%" PRId64 " last=%" PRId64 " now=%" PRId64
936monitor_protocol_event_throttle(uint32_t event, uint64_t rate) "event=%d rate=%" PRId64
937
938# hw/net/opencores_eth.c
939open_eth_mii_write(unsigned idx, uint16_t v) "MII[%02x] <- %04x"
940open_eth_mii_read(unsigned idx, uint16_t v) "MII[%02x] -> %04x"
941open_eth_update_irq(uint32_t v) "IRQ <- %x"
942open_eth_receive(unsigned len) "RX: len: %u"
943open_eth_receive_mcast(unsigned idx, uint32_t h0, uint32_t h1) "MCAST: idx = %u, hash: %08x:%08x"
944open_eth_receive_reject(void) "RX: rejected"
945open_eth_receive_desc(uint32_t addr, uint32_t len_flags) "RX: %08x, len_flags: %08x"
946open_eth_start_xmit(uint32_t addr, unsigned len, unsigned tx_len) "TX: %08x, len: %u, tx_len: %u"
947open_eth_reg_read(uint32_t addr, uint32_t v) "MAC[%02x] -> %08x"
948open_eth_reg_write(uint32_t addr, uint32_t v) "MAC[%02x] <- %08x"
949open_eth_desc_read(uint32_t addr, uint32_t v) "DESC[%04x] -> %08x"
950open_eth_desc_write(uint32_t addr, uint32_t v) "DESC[%04x] <- %08x"
951
952# hw/9pfs/virtio-9p.c
953v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
954v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
955v9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
956v9fs_attach(uint16_t tag, uint8_t id, int32_t fid, int32_t afid, char* uname, char* aname) "tag %u id %u fid %d afid %d uname %s aname %s"
957v9fs_attach_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path) "tag %d id %d type %d version %d path %"PRId64""
958v9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
959v9fs_stat_return(uint16_t tag, uint8_t id, int32_t mode, int32_t atime, int32_t mtime, int64_t length) "tag %d id %d stat={mode %d atime %d mtime %d length %"PRId64"}"
960v9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d request_mask %"PRIu64""
961v9fs_getattr_return(uint16_t tag, uint8_t id, uint64_t result_mask, uint32_t mode, uint32_t uid, uint32_t gid) "tag %d id %d getattr={result_mask %"PRId64" mode %u uid %u gid %u}"
962v9fs_walk(uint16_t tag, uint8_t id, int32_t fid, int32_t newfid, uint16_t nwnames) "tag %d id %d fid %d newfid %d nwnames %d"
963v9fs_walk_return(uint16_t tag, uint8_t id, uint16_t nwnames, void* qids) "tag %d id %d nwnames %d qids %p"
964v9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode) "tag %d id %d fid %d mode %d"
965v9fs_open_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path, int iounit) "tag %d id %d qid={type %d version %d path %"PRId64"} iounit %d"
966v9fs_lcreate(uint16_t tag, uint8_t id, int32_t dfid, int32_t flags, int32_t mode, uint32_t gid) "tag %d id %d dfid %d flags %d mode %d gid %u"
967v9fs_lcreate_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path, int32_t iounit) "tag %d id %d qid={type %d version %d path %"PRId64"} iounit %d"
968v9fs_fsync(uint16_t tag, uint8_t id, int32_t fid, int datasync) "tag %d id %d fid %d datasync %d"
969v9fs_clunk(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
970v9fs_read(uint16_t tag, uint8_t id, int32_t fid, uint64_t off, uint32_t max_count) "tag %d id %d fid %d off %"PRIu64" max_count %u"
971v9fs_read_return(uint16_t tag, uint8_t id, int32_t count, ssize_t err) "tag %d id %d count %d err %zd"
972v9fs_readdir(uint16_t tag, uint8_t id, int32_t fid, uint64_t offset, uint32_t max_count) "tag %d id %d fid %d offset %"PRIu64" max_count %u"
973v9fs_readdir_return(uint16_t tag, uint8_t id, uint32_t count, ssize_t retval) "tag %d id %d count %u retval %zd"
974v9fs_write(uint16_t tag, uint8_t id, int32_t fid, uint64_t off, uint32_t count, int cnt) "tag %d id %d fid %d off %"PRIu64" count %u cnt %d"
975v9fs_write_return(uint16_t tag, uint8_t id, int32_t total, ssize_t err) "tag %d id %d total %d err %zd"
976v9fs_create(uint16_t tag, uint8_t id, int32_t fid, char* name, int32_t perm, int8_t mode) "tag %d id %d fid %d name %s perm %d mode %d"
977v9fs_create_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path, int iounit) "tag %d id %d qid={type %d version %d path %"PRId64"} iounit %d"
978v9fs_symlink(uint16_t tag, uint8_t id, int32_t fid,  char* name, char* symname, uint32_t gid) "tag %d id %d fid %d name %s symname %s gid %u"
979v9fs_symlink_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path) "tag %d id %d qid={type %d version %d path %"PRId64"}"
980v9fs_flush(uint16_t tag, uint8_t id, int16_t flush_tag) "tag %d id %d flush_tag %d"
981v9fs_link(uint16_t tag, uint8_t id, int32_t dfid, int32_t oldfid, char* name) "tag %d id %d dfid %d oldfid %d name %s"
982v9fs_remove(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
983v9fs_wstat(uint16_t tag, uint8_t id, int32_t fid, int32_t mode, int32_t atime, int32_t mtime) "tag %u id %u fid %d stat={mode %d atime %d mtime %d}"
984v9fs_mknod(uint16_t tag, uint8_t id, int32_t fid, int mode, int major, int minor) "tag %d id %d fid %d mode %d major %d minor %d"
985v9fs_mknod_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path) "tag %d id %d qid={type %d version %d path %"PRId64"}"
986v9fs_lock(uint16_t tag, uint8_t id, int32_t fid, uint8_t type, uint64_t start, uint64_t length) "tag %d id %d fid %d type %d start %"PRIu64" length %"PRIu64""
987v9fs_lock_return(uint16_t tag, uint8_t id, int8_t status) "tag %d id %d status %d"
988v9fs_getlock(uint16_t tag, uint8_t id, int32_t fid, uint8_t type, uint64_t start, uint64_t length)"tag %d id %d fid %d type %d start %"PRIu64" length %"PRIu64""
989v9fs_getlock_return(uint16_t tag, uint8_t id, uint8_t type, uint64_t start, uint64_t length, uint32_t proc_id) "tag %d id %d type %d start %"PRIu64" length %"PRIu64" proc_id %u"
990v9fs_mkdir(uint16_t tag, uint8_t id, int32_t fid, char* name, int mode, uint32_t gid) "tag %u id %u fid %d name %s mode %d gid %u"
991v9fs_mkdir_return(uint16_t tag, uint8_t id, int8_t type, int32_t version, int64_t path, int err) "tag %u id %u qid={type %d version %d path %"PRId64"} err %d"
992v9fs_xattrwalk(uint16_t tag, uint8_t id, int32_t fid, int32_t newfid, char* name) "tag %d id %d fid %d newfid %d name %s"
993v9fs_xattrwalk_return(uint16_t tag, uint8_t id, int64_t size) "tag %d id %d size %"PRId64""
994v9fs_xattrcreate(uint16_t tag, uint8_t id, int32_t fid, char* name, int64_t size, int flags) "tag %d id %d fid %d name %s size %"PRId64" flags %d"
995v9fs_readlink(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
996v9fs_readlink_return(uint16_t tag, uint8_t id, char* target) "tag %d id %d name %s"
997
998# target-sparc/mmu_helper.c
999mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
1000mmu_helper_dprot(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
1001mmu_helper_dmiss(uint64_t address, uint64_t context) "DMISS at %"PRIx64" context %"PRIx64""
1002mmu_helper_tfault(uint64_t address, uint64_t context) "TFAULT at %"PRIx64" context %"PRIx64""
1003mmu_helper_tmiss(uint64_t address, uint64_t context) "TMISS at %"PRIx64" context %"PRIx64""
1004mmu_helper_get_phys_addr_code(uint32_t tl, int mmu_idx, uint64_t prim_context, uint64_t sec_context, uint64_t address) "tl=%d mmu_idx=%d primary context=%"PRIx64" secondary context=%"PRIx64" address=%"PRIx64""
1005mmu_helper_get_phys_addr_data(uint32_t tl, int mmu_idx, uint64_t prim_context, uint64_t sec_context, uint64_t address) "tl=%d mmu_idx=%d primary context=%"PRIx64" secondary context=%"PRIx64" address=%"PRIx64""
1006mmu_helper_mmu_fault(uint64_t address, uint64_t paddr, int mmu_idx, uint32_t tl, uint64_t prim_context, uint64_t sec_context) "Translate at %"PRIx64" -> %"PRIx64", mmu_idx=%d tl=%d primary context=%"PRIx64" secondary context=%"PRIx64""
1007
1008# target-sparc/int64_helper.c
1009int_helper_set_softint(uint32_t softint) "new %08x"
1010int_helper_clear_softint(uint32_t softint) "new %08x"
1011int_helper_write_softint(uint32_t softint) "new %08x"
1012
1013# target-sparc/int32_helper.c
1014int_helper_icache_freeze(void) "Instruction cache: freeze"
1015int_helper_dcache_freeze(void) "Data cache: freeze"
1016
1017# target-sparc/win_helper.c
1018win_helper_gregset_error(uint32_t pstate) "ERROR in get_gregset: active pstate bits=%x"
1019win_helper_switch_pstate(uint32_t pstate_regs, uint32_t new_pstate_regs) "change_pstate: switching regs old=%x new=%x"
1020win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=%x (unchanged)"
1021win_helper_wrpil(uint32_t psrpil, uint32_t new_pil) "old=%x new=%x"
1022win_helper_done(uint32_t tl) "tl=%d"
1023win_helper_retry(uint32_t tl) "tl=%d"
1024
1025# dma-helpers.c
1026dma_bdrv_io(void *dbs, void *bs, int64_t sector_num, bool to_dev) "dbs=%p bs=%p sector_num=%" PRId64 " to_dev=%d"
1027dma_aio_cancel(void *dbs) "dbs=%p"
1028dma_complete(void *dbs, int ret, void *cb) "dbs=%p ret=%d cb=%p"
1029dma_bdrv_cb(void *dbs, int ret) "dbs=%p ret=%d"
1030dma_map_wait(void *dbs) "dbs=%p"
1031
1032# ui/console.c
1033console_gfx_new(void) ""
1034console_putchar_csi(int esc_param0, int esc_param1, int ch, int nb_esc_params) "escape sequence CSI%d;%d%c, %d parameters"
1035console_putchar_unhandled(int ch) "unhandled escape character '%c'"
1036console_txt_new(int w, int h) "%dx%d"
1037console_select(int nr) "%d"
1038console_refresh(int interval) "interval %d ms"
1039displaysurface_create(void *display_surface, int w, int h) "surface=%p, %dx%d"
1040displaysurface_create_from(void *display_surface, int w, int h, int bpp, int swap) "surface=%p, %dx%d, bpp %d, bswap %d"
1041displaysurface_free(void *display_surface) "surface=%p"
1042displaychangelistener_register(void *dcl, const char *name) "%p [ %s ]"
1043displaychangelistener_unregister(void *dcl, const char *name) "%p [ %s ]"
1044ppm_save(const char *filename, void *display_surface) "%s surface=%p"
1045
1046# ui/gtk.c
1047gd_switch(const char *tab, int width, int height) "tab=%s, width=%d, height=%d"
1048gd_update(const char *tab, int x, int y, int w, int h) "tab=%s, x=%d, y=%d, w=%d, h=%d"
1049gd_key_event(const char *tab, int gdk_keycode, int qemu_keycode, const char *action) "tab=%s, translated GDK keycode %d to QEMU keycode %d (%s)"
1050gd_grab(const char *tab, const char *device, bool on) "tab=%s, %s %d"
1051
1052# ui/vnc.c
1053vnc_key_guest_leds(bool caps, bool num, bool scroll) "caps %d, num %d, scroll %d"
1054vnc_key_map_init(const char *layout) "%s"
1055vnc_key_event_ext(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x, keycode 0x%x [%s]"
1056vnc_key_event_map(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x -> keycode 0x%x [%s]"
1057vnc_key_sync_numlock(bool on) "%d"
1058vnc_key_sync_capslock(bool on) "%d"
1059
1060# ui/input.c
1061input_event_key_number(int conidx, int number, const char *qcode, bool down) "con %d, key number 0x%x [%s], down %d"
1062input_event_key_qcode(int conidx, const char *qcode, bool down) "con %d, key qcode %s, down %d"
1063input_event_btn(int conidx, const char *btn, bool down) "con %d, button %s, down %d"
1064input_event_rel(int conidx, const char *axis, int value) "con %d, axis %s, value %d"
1065input_event_abs(int conidx, const char *axis, int value) "con %d, axis %s, value 0x%x"
1066input_event_sync(void) ""
1067input_mouse_mode(int absolute) "absolute %d"
1068
1069# hw/display/vmware_vga.c
1070vmware_value_read(uint32_t index, uint32_t value) "index %d, value 0x%x"
1071vmware_value_write(uint32_t index, uint32_t value) "index %d, value 0x%x"
1072vmware_palette_read(uint32_t index, uint32_t value) "index %d, value 0x%x"
1073vmware_palette_write(uint32_t index, uint32_t value) "index %d, value 0x%x"
1074vmware_scratch_read(uint32_t index, uint32_t value) "index %d, value 0x%x"
1075vmware_scratch_write(uint32_t index, uint32_t value) "index %d, value 0x%x"
1076vmware_setmode(uint32_t w, uint32_t h, uint32_t bpp) "%dx%d @ %d bpp"
1077
1078# savevm.c
1079savevm_section_start(const char *id, unsigned int section_id) "%s, section_id %u"
1080savevm_section_end(const char *id, unsigned int section_id) "%s, section_id %u"
1081savevm_state_begin(void) ""
1082savevm_state_iterate(void) ""
1083savevm_state_complete(void) ""
1084savevm_state_cancel(void) ""
1085vmstate_save(const char *idstr, const char *vmsd_name) "%s, %s"
1086vmstate_load(const char *idstr, const char *vmsd_name) "%s, %s"
1087vmstate_load_field_error(const char *field, int ret) "field \"%s\" load failed, ret = %d"
1088qemu_announce_self_iter(const char *mac) "%s"
1089
1090# qemu-file.c
1091qemu_file_fclose(void) ""
1092
1093# arch_init.c
1094migration_bitmap_sync_start(void) ""
1095migration_bitmap_sync_end(uint64_t dirty_pages) "dirty_pages %" PRIu64""
1096migration_throttle(void) ""
1097
1098# hw/display/qxl.c
1099disable qxl_interface_set_mm_time(int qid, uint32_t mm_time) "%d %d"
1100disable qxl_io_write_vga(int qid, const char *mode, uint32_t addr, uint32_t val) "%d %s addr=%u val=%u"
1101qxl_create_guest_primary(int qid, uint32_t width, uint32_t height, uint64_t mem, uint32_t format, uint32_t position) "%d %ux%u mem=%" PRIx64 " %u,%u"
1102qxl_create_guest_primary_rest(int qid, int32_t stride, uint32_t type, uint32_t flags) "%d %d,%d,%d"
1103qxl_destroy_primary(int qid) "%d"
1104qxl_enter_vga_mode(int qid) "%d"
1105qxl_exit_vga_mode(int qid) "%d"
1106qxl_hard_reset(int qid, int64_t loadvm) "%d loadvm=%"PRId64""
1107qxl_interface_async_complete_io(int qid, uint32_t current_async, void *cookie) "%d current=%d cookie=%p"
1108qxl_interface_attach_worker(int qid) "%d"
1109qxl_interface_get_init_info(int qid) "%d"
1110qxl_interface_set_compression_level(int qid, int64_t level) "%d %"PRId64
1111qxl_interface_update_area_complete(int qid, uint32_t surface_id, uint32_t dirty_left, uint32_t dirty_right, uint32_t dirty_top, uint32_t dirty_bottom) "%d surface=%d [%d,%d,%d,%d]"
1112qxl_interface_update_area_complete_rest(int qid, uint32_t num_updated_rects) "%d #=%d"
1113qxl_interface_update_area_complete_overflow(int qid, int max) "%d max=%d"
1114qxl_interface_update_area_complete_schedule_bh(int qid, uint32_t num_dirty) "%d #dirty=%d"
1115qxl_io_destroy_primary_ignored(int qid, const char *mode) "%d %s"
1116qxl_io_log(int qid, const uint8_t *log_buf) "%d %s"
1117qxl_io_read_unexpected(int qid) "%d"
1118qxl_io_unexpected_vga_mode(int qid, uint64_t addr, uint64_t val, const char *desc) "%d 0x%"PRIx64"=%"PRIu64" (%s)"
1119qxl_io_write(int qid, const char *mode, uint64_t addr, const char *aname, uint64_t val, unsigned size, int async) "%d %s addr=%"PRIu64 " (%s) val=%"PRIu64" size=%u async=%d"
1120qxl_memslot_add_guest(int qid, uint32_t slot_id, uint64_t guest_start, uint64_t guest_end) "%d %u: guest phys 0x%"PRIx64 " - 0x%" PRIx64
1121qxl_post_load(int qid, const char *mode) "%d %s"
1122qxl_pre_load(int qid) "%d"
1123qxl_pre_save(int qid) "%d"
1124qxl_reset_surfaces(int qid) "%d"
1125qxl_ring_command_check(int qid, const char *mode) "%d %s"
1126qxl_ring_command_get(int qid, const char *mode) "%d %s"
1127qxl_ring_command_req_notification(int qid) "%d"
1128qxl_ring_cursor_check(int qid, const char *mode) "%d %s"
1129qxl_ring_cursor_get(int qid, const char *mode) "%d %s"
1130qxl_ring_cursor_req_notification(int qid) "%d"
1131qxl_ring_res_push(int qid, const char *mode, uint32_t surface_count, uint32_t free_res, void *last_release, const char *notify) "%d %s s#=%d res#=%d last=%p notify=%s"
1132qxl_ring_res_push_rest(int qid, uint32_t ring_has, uint32_t ring_size, uint32_t prod, uint32_t cons) "%d ring %d/%d [%d,%d]"
1133qxl_ring_res_put(int qid, uint32_t free_res) "%d #res=%d"
1134qxl_set_mode(int qid, int modenr, uint32_t x_res, uint32_t y_res, uint32_t bits, uint64_t devmem) "%d mode=%d [ x=%d y=%d @ bpp=%d devmem=0x%" PRIx64 " ]"
1135qxl_soft_reset(int qid) "%d"
1136qxl_spice_destroy_surfaces_complete(int qid) "%d"
1137qxl_spice_destroy_surfaces(int qid, int async) "%d async=%d"
1138qxl_spice_destroy_surface_wait_complete(int qid, uint32_t id) "%d sid=%d"
1139qxl_spice_destroy_surface_wait(int qid, uint32_t id, int async) "%d sid=%d async=%d"
1140qxl_spice_flush_surfaces_async(int qid, uint32_t surface_count, uint32_t num_free_res) "%d s#=%d, res#=%d"
1141qxl_spice_monitors_config(int qid) "%d"
1142qxl_spice_loadvm_commands(int qid, void *ext, uint32_t count) "%d ext=%p count=%d"
1143qxl_spice_oom(int qid) "%d"
1144qxl_spice_reset_cursor(int qid) "%d"
1145qxl_spice_reset_image_cache(int qid) "%d"
1146qxl_spice_reset_memslots(int qid) "%d"
1147qxl_spice_update_area(int qid, uint32_t surface_id, uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "%d sid=%d [%d,%d,%d,%d]"
1148qxl_spice_update_area_rest(int qid, uint32_t num_dirty_rects, uint32_t clear_dirty_region) "%d #d=%d clear=%d"
1149qxl_surfaces_dirty(int qid, int surface, int offset, int size) "%d surface=%d offset=%d size=%d"
1150qxl_send_events(int qid, uint32_t events) "%d %d"
1151qxl_send_events_vm_stopped(int qid, uint32_t events) "%d %d"
1152qxl_set_guest_bug(int qid) "%d"
1153qxl_interrupt_client_monitors_config(int qid, int num_heads, void *heads) "%d %d %p"
1154qxl_client_monitors_config_unsupported_by_guest(int qid, uint32_t int_mask, void *client_monitors_config) "%d %X %p"
1155qxl_client_monitors_config_unsupported_by_device(int qid, int revision) "%d revision=%d"
1156qxl_client_monitors_config_capped(int qid, int requested, int limit) "%d %d %d"
1157qxl_client_monitors_config_crc(int qid, unsigned size, uint32_t crc32) "%d %u %u"
1158qxl_set_client_capabilities_unsupported_by_revision(int qid, int revision) "%d revision=%d"
1159
1160# ui/spice-display.c
1161qemu_spice_add_memslot(int qid, uint32_t slot_id, unsigned long virt_start, unsigned long virt_end, int async) "%d %u: host virt 0x%lx - 0x%lx async=%d"
1162qemu_spice_del_memslot(int qid, uint32_t gid, uint32_t slot_id) "%d gid=%u sid=%u"
1163qemu_spice_create_primary_surface(int qid, uint32_t sid, void *surface, int async) "%d sid=%u surface=%p async=%d"
1164qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async) "%d sid=%u async=%d"
1165qemu_spice_wakeup(uint32_t qid) "%d"
1166qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "lr %d -> %d,  tb -> %d -> %d"
1167
1168# hw/display/qxl-render.c
1169qxl_render_blit(int32_t stride, int32_t left, int32_t right, int32_t top, int32_t bottom) "stride=%d [%d, %d, %d, %d]"
1170qxl_render_guest_primary_resized(int32_t width, int32_t height, int32_t stride, int32_t bytes_pp, int32_t bits_pp) "%dx%d, stride %d, bpp %d, depth %d"
1171qxl_render_update_area_done(void *cookie) "%p"
1172
1173# hw/ppc/spapr_pci.c
1174spapr_pci_msi(const char *msg, uint32_t ca) "%s (cfg=%x)"
1175spapr_pci_msi_setup(const char *name, unsigned vector, uint64_t addr) "dev\"%s\" vector %u, addr=%"PRIx64
1176spapr_pci_rtas_ibm_change_msi(unsigned cfg, unsigned func, unsigned req, unsigned first) "cfgaddr %x func %u, requested %u, first irq %u"
1177spapr_pci_rtas_ibm_query_interrupt_source_number(unsigned ioa, unsigned intr) "queries for #%u, IRQ%u"
1178spapr_pci_msi_write(uint64_t addr, uint64_t data, uint32_t dt_irq) "@%"PRIx64"<=%"PRIx64" IRQ %u"
1179spapr_pci_lsi_set(const char *busname, int pin, uint32_t irq) "%s PIN%d IRQ %u"
1180spapr_pci_msi_retry(unsigned config_addr, unsigned req_num, unsigned max_irqs) "Guest device at %x asked %u, have only %u"
1181
1182# hw/intc/xics.c
1183xics_icp_check_ipi(int server, uint8_t mfrr) "CPU %d can take IPI mfrr=%#x"
1184xics_icp_accept(uint32_t old_xirr, uint32_t new_xirr) "icp_accept: XIRR %#"PRIx32"->%#"PRIx32
1185xics_icp_eoi(int server, uint32_t xirr, uint32_t new_xirr) "icp_eoi: server %d given XIRR %#"PRIx32" new XIRR %#"PRIx32
1186xics_icp_irq(int server, int nr, uint8_t priority) "cpu %d trying to deliver irq %#"PRIx32" priority %#x"
1187xics_icp_raise(uint32_t xirr, uint8_t pending_priority) "raising IRQ new XIRR=%#x new pending priority=%#x"
1188xics_set_irq_msi(int srcno, int nr) "set_irq_msi: srcno %d [irq %#x]"
1189xics_masked_pending(void) "set_irq_msi: masked pending"
1190xics_set_irq_lsi(int srcno, int nr) "set_irq_lsi: srcno %d [irq %#x]"
1191xics_ics_write_xive(int nr, int srcno, int server, uint8_t priority) "ics_write_xive: irq %#x [src %d] server %#x prio %#x"
1192xics_ics_reject(int nr, int srcno) "reject irq %#x [src %d]"
1193xics_ics_eoi(int nr) "ics_eoi: irq %#x"
1194xics_alloc(int src, int irq) "source#%d, irq %d"
1195xics_alloc_failed_hint(int src, int irq) "source#%d, irq %d is already in use"
1196xics_alloc_failed_no_left(int src) "source#%d, no irq left"
1197xics_alloc_block(int src, int first, int num, bool lsi, int align) "source#%d, first irq %d, %d irqs, lsi=%d, alignnum %d"
1198xics_ics_free(int src, int irq, int num) "Source#%d, first irq %d, %d irqs"
1199xics_ics_free_warn(int src, int irq) "Source#%d, irq %d is already free"
1200
1201# hw/ppc/spapr.c
1202spapr_cas_failed(unsigned long n) "DT diff buffer is too small: %ld bytes"
1203spapr_cas_continue(unsigned long n) "Copy changes to the guest: %ld bytes"
1204
1205# hw/ppc/spapr_hcall.c
1206spapr_cas_pvr_try(uint32_t pvr) "%x"
1207spapr_cas_pvr(uint32_t cur_pvr, bool cpu_match, uint32_t new_pvr, uint64_t pcr) "current=%x, cpu_match=%u, new=%x, compat flags=%"PRIx64
1208
1209# hw/ppc/spapr_iommu.c
1210spapr_iommu_put(uint64_t liobn, uint64_t ioba, uint64_t tce, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tce=0x%"PRIx64" ret=%"PRId64
1211spapr_iommu_get(uint64_t liobn, uint64_t ioba, uint64_t ret, uint64_t tce) "liobn=%"PRIx64" ioba=0x%"PRIx64" ret=%"PRId64" tce=0x%"PRIx64
1212spapr_iommu_indirect(uint64_t liobn, uint64_t ioba, uint64_t tce, uint64_t iobaN, uint64_t tceN, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tcelist=0x%"PRIx64" iobaN=0x%"PRIx64" tceN=0x%"PRIx64" ret=%"PRId64
1213spapr_iommu_stuff(uint64_t liobn, uint64_t ioba, uint64_t tce_value, uint64_t npages, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tcevalue=0x%"PRIx64" npages=%"PRId64" ret=%"PRId64
1214spapr_iommu_xlate(uint64_t liobn, uint64_t ioba, uint64_t tce, unsigned perm, unsigned pgsize) "liobn=%"PRIx64" 0x%"PRIx64" -> 0x%"PRIx64" perm=%u mask=%x"
1215spapr_iommu_new_table(uint64_t liobn, void *tcet, void *table, int fd) "liobn=%"PRIx64" tcet=%p table=%p fd=%d"
1216
1217# hw/ppc/ppc.c
1218ppc_tb_adjust(uint64_t offs1, uint64_t offs2, int64_t diff, int64_t seconds) "adjusted from 0x%"PRIx64" to 0x%"PRIx64", diff %"PRId64" (%"PRId64"s)"
1219
1220# util/hbitmap.c
1221hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
1222hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
1223hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
1224
1225# target-s390x/ioinst.c
1226ioinst(const char *insn) "IOINST: %s"
1227ioinst_sch_id(const char *insn, int cssid, int ssid, int schid) "IOINST: %s (%x.%x.%04x)"
1228ioinst_chp_id(const char *insn, int cssid, int chpid) "IOINST: %s (%x.%02x)"
1229ioinst_chsc_cmd(uint16_t cmd, uint16_t len) "IOINST: chsc command %04x, len %04x"
1230
1231# hw/s390x/css.c
1232css_enable_facility(const char *facility) "CSS: enable %s"
1233css_crw(uint8_t rsc, uint8_t erc, uint16_t rsid, const char *chained) "CSS: queueing crw: rsc=%x, erc=%x, rsid=%x %s"
1234css_chpid_add(uint8_t cssid, uint8_t chpid, uint8_t type) "CSS: add chpid %x.%02x (type %02x)"
1235css_new_image(uint8_t cssid, const char *default_cssid) "CSS: add css image %02x %s"
1236css_assign_subch(const char *do_assign, uint8_t cssid, uint8_t ssid, uint16_t schid, uint16_t devno) "CSS: %s %x.%x.%04x (devno %04x)"
1237css_io_interrupt(int cssid, int ssid, int schid, uint32_t intparm, uint8_t isc, const char *conditional) "CSS: I/O interrupt on sch %x.%x.%04x (intparm %08x, isc %x) %s"
1238css_adapter_interrupt(uint8_t isc) "CSS: adapter I/O interrupt (isc %x)"
1239
1240# hw/s390x/virtio-ccw.c
1241virtio_ccw_interpret_ccw(int cssid, int ssid, int schid, int cmd_code) "VIRTIO-CCW: %x.%x.%04x: interpret command %x"
1242virtio_ccw_new_device(int cssid, int ssid, int schid, int devno, const char *devno_mode) "VIRTIO-CCW: add subchannel %x.%x.%04x, devno %04x (%s)"
1243
1244# hw/intc/s390_flic.c
1245flic_create_device(int err) "flic: create device failed %d"
1246flic_no_device_api(int err) "flic: no Device Contral API support %d"
1247flic_reset_failed(int err) "flic: reset failed %d"
1248
1249# migration.c
1250migrate_set_state(int new_state) "new state %d"
1251migrate_fd_cleanup(void) ""
1252migrate_fd_error(void) ""
1253migrate_fd_cancel(void) ""
1254migrate_pending(uint64_t size, uint64_t max) "pending size %" PRIu64 " max %" PRIu64
1255migrate_transferred(uint64_t tranferred, uint64_t time_spent, double bandwidth, uint64_t size) "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %g max_size %" PRId64
1256
1257# kvm-all.c
1258kvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
1259kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
1260kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
1261kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
1262kvm_device_ioctl(int fd, int type, void *arg) "dev fd %d, type 0x%x, arg %p"
1263kvm_failed_spr_set(int str, const char *msg) "Warning: Unable to set SPR %d to KVM: %s"
1264kvm_failed_spr_get(int str, const char *msg) "Warning: Unable to retrieve SPR %d from KVM: %s"
1265kvm_failed_reg_get(uint64_t id, const char *msg) "Warning: Unable to retrieve ONEREG %" PRIu64 " from KVM: %s"
1266kvm_failed_reg_set(uint64_t id, const char *msg) "Warning: Unable to set ONEREG %" PRIu64 " to KVM: %s"
1267
1268# memory.c
1269memory_region_ops_read(void *mr, uint64_t addr, uint64_t value, unsigned size) "mr %p addr %#"PRIx64" value %#"PRIx64" size %u"
1270memory_region_ops_write(void *mr, uint64_t addr, uint64_t value, unsigned size) "mr %p addr %#"PRIx64" value %#"PRIx64" size %u"
1271
1272# qom/object.c
1273object_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"
1274object_class_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"
1275
1276# hw/xen/xen_pvdevice.c
1277xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen PV Device MMIO space (address %"PRIx64")"
1278xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO space (address %"PRIx64")"
1279
1280# hw/pci/pci_host.c
1281pci_cfg_read(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x -> 0x%x"
1282pci_cfg_write(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x <- 0x%x"
1283
1284#hw/acpi/memory_hotplug.c
1285mhp_acpi_invalid_slot_selected(uint32_t slot) "0x%"PRIx32
1286mhp_acpi_read_addr_lo(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr lo: 0x%"PRIx32
1287mhp_acpi_read_addr_hi(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr hi: 0x%"PRIx32
1288mhp_acpi_read_size_lo(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size lo: 0x%"PRIx32
1289mhp_acpi_read_size_hi(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size hi: 0x%"PRIx32
1290mhp_acpi_read_pxm(uint32_t slot, uint32_t pxm) "slot[0x%"PRIx32"] proximity: 0x%"PRIx32
1291mhp_acpi_read_flags(uint32_t slot, uint32_t flags) "slot[0x%"PRIx32"] flags: 0x%"PRIx32
1292mhp_acpi_write_slot(uint32_t slot) "set active slot: 0x%"PRIx32
1293mhp_acpi_write_ost_ev(uint32_t slot, uint32_t ev) "slot[0x%"PRIx32"] OST EVENT: 0x%"PRIx32
1294mhp_acpi_write_ost_status(uint32_t slot, uint32_t st) "slot[0x%"PRIx32"] OST STATUS: 0x%"PRIx32
1295mhp_acpi_clear_insert_evt(uint32_t slot) "slot[0x%"PRIx32"] clear insert event"
1296
1297#hw/i386/pc.c
1298mhp_pc_dimm_assigned_slot(int slot) "0x%d"
1299mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64
1300
1301# target-s390x/kvm.c
1302kvm_enable_cmma(int rc) "CMMA: enabling with result code %d"
1303kvm_clear_cmma(int rc) "CMMA: clearing with result code %d"
1304