]> git.proxmox.com Git - mirror_qemu.git/blame - trace-events
qmp: add NBD server commands
[mirror_qemu.git] / trace-events
CommitLineData
94a420b1
SH
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#
1e2cf2bc 15# [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>"
94a420b1 16#
a74cd8cc 17# Example: g_malloc(size_t size) "size %zu"
94a420b1 18#
1e2cf2bc 19# The "disable" keyword will build without the trace event.
1e2cf2bc 20#
94a420b1
SH
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.
cd245a19
SH
27
28# qemu-malloc.c
a74cd8cc
FZ
29g_malloc(size_t size, void *ptr) "size %zu ptr %p"
30g_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p"
31g_free(void *ptr) "ptr %p"
cd245a19
SH
32
33# osdep.c
47f08d7a
LV
34qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
35qemu_vmalloc(size_t size, void *ptr) "size %zu ptr %p"
36qemu_vfree(void *ptr) "ptr %p"
6d519a5f 37
64979a4d 38# hw/virtio.c
47f08d7a
LV
39virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u"
40virtqueue_flush(void *vq, unsigned int count) "vq %p count %u"
41virtqueue_pop(void *vq, void *elem, unsigned int in_num, unsigned int out_num) "vq %p elem %p in_num %u out_num %u"
42virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p"
43virtio_irq(void *vq) "vq %p"
44virtio_notify(void *vdev, void *vq) "vdev %p vq %p"
4e1837f8 45virtio_set_status(void *vdev, uint8_t val) "vdev %p val %u"
64979a4d 46
49e3fdd7 47# hw/virtio-serial-bus.c
47f08d7a
LV
48virtio_serial_send_control_event(unsigned int port, uint16_t event, uint16_t value) "port %u, event %u, value %u"
49virtio_serial_throttle_port(unsigned int port, bool throttle) "port %u, throttle %d"
50virtio_serial_handle_control_message(uint16_t event, uint16_t value) "event %u, value %u"
51virtio_serial_handle_control_message_port(unsigned int port) "port %u"
49e3fdd7 52
d02e4fa4 53# hw/virtio-console.c
47f08d7a
LV
54virtio_console_flush_buf(unsigned int port, size_t len, ssize_t ret) "port %u, in_len %zu, out_len %zd"
55virtio_console_chr_read(unsigned int port, int size) "port %u, size %d"
56virtio_console_chr_event(unsigned int port, int event) "port %u, event %d"
d02e4fa4 57
6d519a5f 58# block.c
28dcee10 59bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filename \"%s\" flags %#x format_name \"%s\""
47f08d7a
LV
60multiwrite_cb(void *mcb, int ret) "mcb %p ret %d"
61bdrv_aio_multiwrite(void *mcb, int num_callbacks, int num_reqs) "mcb %p num_callbacks %d num_reqs %d"
4265d620 62bdrv_aio_discard(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
47f08d7a
LV
63bdrv_aio_flush(void *bs, void *opaque) "bs %p opaque %p"
64bdrv_aio_readv(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
65bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
025e849a 66bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
47f08d7a 67bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
470c0504 68bdrv_co_copy_on_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
47f08d7a 69bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
f08f2dda 70bdrv_co_write_zeroes(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
59370aaa 71bdrv_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"
470c0504 72bdrv_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"
6d519a5f 73
4f1043b4
SH
74# block/stream.c
75stream_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"
76stream_start(void *bs, void *base, void *s, void *co, void *opaque) "bs %p base %p s %p co %p opaque %p"
747ff602
JC
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"
4f1043b4 79
12bd451f 80# blockdev.c
370521a1 81qmp_block_job_cancel(void *job) "job %p"
6e37fb81
PB
82qmp_block_job_pause(void *job) "job %p"
83qmp_block_job_resume(void *job) "job %p"
9abf2dba 84block_job_cb(void *bs, void *job, int ret) "bs %p job %p ret %d"
12bd451f
SH
85qmp_block_stream(void *bs, void *job) "bs %p job %p"
86
6d519a5f 87# hw/virtio-blk.c
47f08d7a
LV
88virtio_blk_req_complete(void *req, int status) "req %p status %d"
89virtio_blk_rw_complete(void *req, int ret) "req %p ret %d"
90virtio_blk_handle_write(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
81b6b9fa 91virtio_blk_handle_read(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
6d519a5f
SH
92
93# posix-aio-compat.c
47f08d7a
LV
94paio_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"
95paio_complete(void *acb, void *opaque, int ret) "acb %p opaque %p ret %d"
96paio_cancel(void *acb, void *opaque) "acb %p opaque %p"
bd3c9aa5
PS
97
98# ioport.c
47f08d7a
LV
99cpu_in(unsigned int addr, unsigned int val) "addr %#x value %u"
100cpu_out(unsigned int addr, unsigned int val) "addr %#x value %u"
62dd89de
PS
101
102# balloon.c
103# Since requests are raised via monitor, not many tracepoints are needed.
47f08d7a 104balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
d8023f31
BS
105
106# hw/apic.c
47f08d7a
LV
107apic_local_deliver(int vector, uint32_t lvt) "vector %d delivery mode %d"
108apic_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"
689d7e2f
SH
109cpu_set_apic_base(uint64_t val) "%016"PRIx64
110cpu_get_apic_base(uint64_t val) "%016"PRIx64
47f08d7a
LV
111apic_mem_readl(uint64_t addr, uint32_t val) "%"PRIx64" = %08x"
112apic_mem_writel(uint64_t addr, uint32_t val) "%"PRIx64" = %08x"
d8023f31 113# coalescing
343270ea 114apic_report_irq_delivered(int apic_irq_delivered) "coalescing %d"
47f08d7a
LV
115apic_reset_irq_delivered(int apic_irq_delivered) "old coalescing %d"
116apic_get_irq_delivered(int apic_irq_delivered) "returning coalescing %d"
97bf4851
BS
117
118# hw/cs4231.c
47f08d7a
LV
119cs4231_mem_readl_dreg(uint32_t reg, uint32_t ret) "read dreg %d: 0x%02x"
120cs4231_mem_readl_reg(uint32_t reg, uint32_t ret) "read reg %d: 0x%08x"
121cs4231_mem_writel_reg(uint32_t reg, uint32_t old, uint32_t val) "write reg %d: 0x%08x -> 0x%08x"
122cs4231_mem_writel_dreg(uint32_t reg, uint32_t old, uint32_t val) "write dreg %d: 0x%02x -> 0x%02x"
97bf4851 123
d43ed9ec 124# hw/ds1225y.c
47f08d7a
LV
125nvram_read(uint32_t addr, uint32_t ret) "read addr %d: 0x%02x"
126nvram_write(uint32_t addr, uint32_t old, uint32_t val) "write addr %d: 0x%02x -> 0x%02x"
d43ed9ec 127
97bf4851 128# hw/eccmemctl.c
47f08d7a
LV
129ecc_mem_writel_mer(uint32_t val) "Write memory enable %08x"
130ecc_mem_writel_mdr(uint32_t val) "Write memory delay %08x"
131ecc_mem_writel_mfsr(uint32_t val) "Write memory fault status %08x"
132ecc_mem_writel_vcr(uint32_t val) "Write slot configuration %08x"
133ecc_mem_writel_dr(uint32_t val) "Write diagnostic %08x"
134ecc_mem_writel_ecr0(uint32_t val) "Write event count 1 %08x"
135ecc_mem_writel_ecr1(uint32_t val) "Write event count 2 %08x"
136ecc_mem_readl_mer(uint32_t ret) "Read memory enable %08x"
137ecc_mem_readl_mdr(uint32_t ret) "Read memory delay %08x"
138ecc_mem_readl_mfsr(uint32_t ret) "Read memory fault status %08x"
139ecc_mem_readl_vcr(uint32_t ret) "Read slot configuration %08x"
140ecc_mem_readl_mfar0(uint32_t ret) "Read memory fault address 0 %08x"
141ecc_mem_readl_mfar1(uint32_t ret) "Read memory fault address 1 %08x"
142ecc_mem_readl_dr(uint32_t ret) "Read diagnostic %08x"
143ecc_mem_readl_ecr0(uint32_t ret) "Read event count 1 %08x"
144ecc_mem_readl_ecr1(uint32_t ret) "Read event count 2 %08x"
145ecc_diag_mem_writeb(uint64_t addr, uint32_t val) "Write diagnostic %"PRId64" = %02x"
146ecc_diag_mem_readb(uint64_t addr, uint32_t ret) "Read diagnostic %"PRId64"= %02x"
97bf4851 147
31f7eedf
MA
148# hw/hd-geometry.c
149hd_geometry_lchs_guess(void *bs, int cyls, int heads, int secs) "bs %p LCHS %d %d %d"
1f24d7b4 150hd_geometry_guess(void *bs, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "bs %p CHS %u %u %u trans %d"
31f7eedf 151
63b9932d
HP
152# hw/jazz-led.c
153jazz_led_read(uint64_t addr, uint8_t val) "read addr=0x%"PRIx64": 0x%x"
154jazz_led_write(uint64_t addr, uint8_t new) "write addr=0x%"PRIx64": 0x%x"
155
97bf4851 156# hw/lance.c
47f08d7a
LV
157lance_mem_readw(uint64_t addr, uint32_t ret) "addr=%"PRIx64"val=0x%04x"
158lance_mem_writew(uint64_t addr, uint32_t val) "addr=%"PRIx64"val=0x%04x"
97bf4851
BS
159
160# hw/slavio_intctl.c
47f08d7a
LV
161slavio_intctl_mem_readl(uint32_t cpu, uint64_t addr, uint32_t ret) "read cpu %d reg 0x%"PRIx64" = %x"
162slavio_intctl_mem_writel(uint32_t cpu, uint64_t addr, uint32_t val) "write cpu %d reg 0x%"PRIx64" = %x"
163slavio_intctl_mem_writel_clear(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Cleared cpu %d irq mask %x, curmask %x"
164slavio_intctl_mem_writel_set(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Set cpu %d irq mask %x, curmask %x"
165slavio_intctlm_mem_readl(uint64_t addr, uint32_t ret) "read system reg 0x%"PRIx64" = %x"
166slavio_intctlm_mem_writel(uint64_t addr, uint32_t val) "write system reg 0x%"PRIx64" = %x"
167slavio_intctlm_mem_writel_enable(uint32_t val, uint32_t intregm_disabled) "Enabled master irq mask %x, curmask %x"
168slavio_intctlm_mem_writel_disable(uint32_t val, uint32_t intregm_disabled) "Disabled master irq mask %x, curmask %x"
169slavio_intctlm_mem_writel_target(uint32_t cpu) "Set master irq cpu %d"
170slavio_check_interrupts(uint32_t pending, uint32_t intregm_disabled) "pending %x disabled %x"
171slavio_set_irq(uint32_t target_cpu, int irq, uint32_t pil, int level) "Set cpu %d irq %d -> pil %d level %d"
172slavio_set_timer_irq_cpu(int cpu, int level) "Set cpu %d local timer level %d"
97bf4851
BS
173
174# hw/slavio_misc.c
47f08d7a
LV
175slavio_misc_update_irq_raise(void) "Raise IRQ"
176slavio_misc_update_irq_lower(void) "Lower IRQ"
177slavio_set_power_fail(int power_failing, uint8_t config) "Power fail: %d, config: %d"
178slavio_cfg_mem_writeb(uint32_t val) "Write config %02x"
179slavio_cfg_mem_readb(uint32_t ret) "Read config %02x"
180slavio_diag_mem_writeb(uint32_t val) "Write diag %02x"
181slavio_diag_mem_readb(uint32_t ret) "Read diag %02x"
182slavio_mdm_mem_writeb(uint32_t val) "Write modem control %02x"
183slavio_mdm_mem_readb(uint32_t ret) "Read modem control %02x"
184slavio_aux1_mem_writeb(uint32_t val) "Write aux1 %02x"
185slavio_aux1_mem_readb(uint32_t ret) "Read aux1 %02x"
186slavio_aux2_mem_writeb(uint32_t val) "Write aux2 %02x"
187slavio_aux2_mem_readb(uint32_t ret) "Read aux2 %02x"
188apc_mem_writeb(uint32_t val) "Write power management %02x"
189apc_mem_readb(uint32_t ret) "Read power management %02x"
190slavio_sysctrl_mem_writel(uint32_t val) "Write system control %08x"
191slavio_sysctrl_mem_readl(uint32_t ret) "Read system control %08x"
192slavio_led_mem_writew(uint32_t val) "Write diagnostic LED %04x"
193slavio_led_mem_readw(uint32_t ret) "Read diagnostic LED %04x"
97bf4851
BS
194
195# hw/slavio_timer.c
47f08d7a
LV
196slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x"
197slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count %x%08x"
689d7e2f 198slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address %"PRIx64
47f08d7a
LV
199slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read %"PRIx64" = %08x"
200slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write %"PRIx64" = %08x"
689d7e2f 201slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to %016"PRIx64
47f08d7a
LV
202slavio_timer_mem_writel_counter_invalid(void) "not user timer"
203slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started"
204slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped"
205slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to user timer"
206slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user timer to counter"
207slavio_timer_mem_writel_mode_invalid(void) "not system timer"
689d7e2f 208slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address %"PRIx64
97bf4851
BS
209
210# hw/sparc32_dma.c
689d7e2f
SH
211ledma_memory_read(uint64_t addr) "DMA read addr 0x%"PRIx64
212ledma_memory_write(uint64_t addr) "DMA write addr 0x%"PRIx64
47f08d7a
LV
213sparc32_dma_set_irq_raise(void) "Raise IRQ"
214sparc32_dma_set_irq_lower(void) "Lower IRQ"
215espdma_memory_read(uint32_t addr) "DMA read addr 0x%08x"
216espdma_memory_write(uint32_t addr) "DMA write addr 0x%08x"
217sparc32_dma_mem_readl(uint64_t addr, uint32_t ret) "read dmareg %"PRIx64": 0x%08x"
218sparc32_dma_mem_writel(uint64_t addr, uint32_t old, uint32_t val) "write dmareg %"PRIx64": 0x%08x -> 0x%08x"
219sparc32_dma_enable_raise(void) "Raise DMA enable"
220sparc32_dma_enable_lower(void) "Lower DMA enable"
97bf4851
BS
221
222# hw/sun4m.c
47f08d7a
LV
223sun4m_cpu_interrupt(unsigned int level) "Set CPU IRQ %d"
224sun4m_cpu_reset_interrupt(unsigned int level) "Reset CPU IRQ %d"
225sun4m_cpu_set_irq_raise(int level) "Raise CPU IRQ %d"
226sun4m_cpu_set_irq_lower(int level) "Lower CPU IRQ %d"
97bf4851
BS
227
228# hw/sun4m_iommu.c
47f08d7a
LV
229sun4m_iommu_mem_readl(uint64_t addr, uint32_t ret) "read reg[%"PRIx64"] = %x"
230sun4m_iommu_mem_writel(uint64_t addr, uint32_t val) "write reg[%"PRIx64"] = %x"
689d7e2f 231sun4m_iommu_mem_writel_ctrl(uint64_t iostart) "iostart = %"PRIx64
47f08d7a
LV
232sun4m_iommu_mem_writel_tlbflush(uint32_t val) "tlb flush %x"
233sun4m_iommu_mem_writel_pgflush(uint32_t val) "page flush %x"
234sun4m_iommu_page_get_flags(uint64_t pa, uint64_t iopte, uint32_t ret) "get flags addr %"PRIx64" => pte %"PRIx64", *pte = %x"
235sun4m_iommu_translate_pa(uint64_t addr, uint64_t pa, uint32_t iopte) "xlate dva %"PRIx64" => pa %"PRIx64" iopte = %x"
689d7e2f 236sun4m_iommu_bad_addr(uint64_t addr) "bad addr %"PRIx64
94b0b5ff 237
f1ae32a1 238# hw/usb/core.c
808aeb98 239usb_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"
5ac2731c 240usb_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"
808aeb98 241
f1ae32a1 242# hw/usb/bus.c
891fb2cd
GH
243usb_port_claim(int bus, const char *port) "bus %d, port %s"
244usb_port_attach(int bus, const char *port) "bus %d, port %s"
245usb_port_detach(int bus, const char *port) "bus %d, port %s"
246usb_port_release(int bus, const char *port) "bus %d, port %s"
247
f1ae32a1 248# hw/usb/hcd-ehci.c
47f08d7a 249usb_ehci_reset(void) "=== RESET ==="
3e4f910c
GH
250usb_ehci_opreg_read(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
251usb_ehci_opreg_write(uint32_t addr, const char *str, uint32_t val) "wr mmio %04x [%s] = %x"
252usb_ehci_opreg_change(uint32_t addr, const char *str, uint32_t new, uint32_t old) "ch mmio %04x [%s] = %x (old: %x)"
253usb_ehci_portsc_read(uint32_t addr, uint32_t port, uint32_t val) "rd mmio %04x [port %d] = %x"
254usb_ehci_portsc_write(uint32_t addr, uint32_t port, uint32_t val) "wr mmio %04x [port %d] = %x"
255usb_ehci_portsc_change(uint32_t addr, uint32_t port, uint32_t new, uint32_t old) "ch mmio %04x [port %d] = %x (old: %x)"
47f08d7a
LV
256usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
257usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"
258usb_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"
259usb_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"
260usb_ehci_qh_bits(uint32_t addr, int c, int h, int dtc, int i) "QH @ %08x - c %d, h %d, dtc %d, i %d"
261usb_ehci_qtd_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t altnext) "q %p - QTD @ %08x: next %08x altnext %08x"
262usb_ehci_qtd_fields(uint32_t addr, int tbytes, int cpage, int cerr, int pid) "QTD @ %08x - tbytes %d, cpage %d, cerr %d, pid %d"
263usb_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"
264usb_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"
2fe80192 265usb_ehci_sitd(uint32_t addr, uint32_t nxt, uint32_t active) "ITD @ %08x: next %08x - active %d"
30e9d412
GH
266usb_ehci_port_attach(uint32_t port, const char *owner, const char *device) "attach port #%d, owner %s, device %s"
267usb_ehci_port_detach(uint32_t port, const char *owner) "detach port #%d, owner %s"
47f08d7a
LV
268usb_ehci_port_reset(uint32_t port, int enable) "reset port #%d - %d"
269usb_ehci_data(int rw, uint32_t cpage, uint32_t offset, uint32_t addr, uint32_t len, uint32_t bufpos) "write %d, cpage %d, offset 0x%03x, addr 0x%08x, len %d, bufpos %d"
270usb_ehci_queue_action(void *q, const char *action) "q %p: %s"
eb36a88e 271usb_ehci_packet_action(void *q, void *p, const char *action) "q %p p %p: %s"
7efc17af 272usb_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"
5c514681 273usb_ehci_guest_bug(const char *reason) "%s"
1defcbd1
GH
274usb_ehci_doorbell_ring(void) ""
275usb_ehci_doorbell_ack(void) ""
439a97cc 276
50dcc0f8
GH
277# hw/usb/hcd-uhci.c
278usb_uhci_reset(void) "=== RESET ==="
279usb_uhci_schedule_start(void) ""
280usb_uhci_schedule_stop(void) ""
281usb_uhci_frame_start(uint32_t num) "nr %d"
4aed20e2 282usb_uhci_frame_stop_bandwidth(void) ""
50dcc0f8 283usb_uhci_frame_loop_stop_idle(void) ""
50dcc0f8 284usb_uhci_frame_loop_continue(void) ""
7dd0dfd7
GH
285usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr 0x%04x, ret 0x%04x"
286usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr 0x%04x, val 0x%04x"
287usb_uhci_mmio_readl(uint32_t addr, uint32_t val) "addr 0x%04x, ret 0x%08x"
288usb_uhci_mmio_writel(uint32_t addr, uint32_t val) "addr 0x%04x, val 0x%08x"
50dcc0f8
GH
289usb_uhci_queue_add(uint32_t token) "token 0x%x"
290usb_uhci_queue_del(uint32_t token) "token 0x%x"
291usb_uhci_packet_add(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
292usb_uhci_packet_link_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
293usb_uhci_packet_unlink_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
294usb_uhci_packet_cancel(uint32_t token, uint32_t addr, int done) "token 0x%x, td 0x%x, done %d"
295usb_uhci_packet_complete_success(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
296usb_uhci_packet_complete_shortxfer(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
297usb_uhci_packet_complete_stall(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
298usb_uhci_packet_complete_babble(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
299usb_uhci_packet_complete_error(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
300usb_uhci_packet_del(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
301usb_uhci_qh_load(uint32_t qh) "qh 0x%x"
302usb_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"
303usb_uhci_td_queue(uint32_t td, uint32_t ctrl, uint32_t token) "td 0x%x, ctrl 0x%x, token 0x%x"
304usb_uhci_td_nextqh(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
305usb_uhci_td_async(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
306usb_uhci_td_complete(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
307
2d754a10
GH
308# hw/usb/hcd-xhci.c
309usb_xhci_reset(void) "=== RESET ==="
fc0ddaca
GH
310usb_xhci_run(void) ""
311usb_xhci_stop(void) ""
2d754a10
GH
312usb_xhci_cap_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
313usb_xhci_oper_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
314usb_xhci_port_read(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, ret 0x%08x"
315usb_xhci_runtime_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
316usb_xhci_doorbell_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
317usb_xhci_oper_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
318usb_xhci_port_write(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, val 0x%08x"
319usb_xhci_runtime_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
320usb_xhci_doorbell_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
7acd279f
GH
321usb_xhci_irq_intx(uint32_t level) "level %d"
322usb_xhci_irq_msi(uint32_t nr) "nr %d"
4c47f800
GH
323usb_xhci_irq_msix(uint32_t nr) "nr %d"
324usb_xhci_irq_msix_use(uint32_t nr) "nr %d"
325usb_xhci_irq_msix_unuse(uint32_t nr) "nr %d"
962d11e1 326usb_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"
0703a4a7 327usb_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"
348f1037
GH
328usb_xhci_slot_enable(uint32_t slotid) "slotid %d"
329usb_xhci_slot_disable(uint32_t slotid) "slotid %d"
330usb_xhci_slot_address(uint32_t slotid) "slotid %d"
331usb_xhci_slot_configure(uint32_t slotid) "slotid %d"
332usb_xhci_slot_evaluate(uint32_t slotid) "slotid %d"
333usb_xhci_slot_reset(uint32_t slotid) "slotid %d"
c1f6b493
GH
334usb_xhci_ep_enable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
335usb_xhci_ep_disable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
d829fde9 336usb_xhci_ep_set_dequeue(uint32_t slotid, uint32_t epid, uint64_t param) "slotid %d, epid %d, ptr %016" PRIx64
c1f6b493
GH
337usb_xhci_ep_kick(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
338usb_xhci_ep_stop(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
339usb_xhci_ep_reset(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
d5a15814 340usb_xhci_xfer_start(void *xfer, uint32_t slotid, uint32_t epid) "%p: slotid %d, epid %d"
97df650b
GH
341usb_xhci_xfer_async(void *xfer) "%p"
342usb_xhci_xfer_nak(void *xfer) "%p"
343usb_xhci_xfer_retry(void *xfer) "%p"
344usb_xhci_xfer_success(void *xfer, uint32_t bytes) "%p: len %d"
345usb_xhci_xfer_error(void *xfer, uint32_t ret) "%p: ret %d"
2d754a10 346
529f8f9f 347# hw/usb/desc.c
47f08d7a
LV
348usb_desc_device(int addr, int len, int ret) "dev %d query device, len %d, ret %d"
349usb_desc_device_qualifier(int addr, int len, int ret) "dev %d query device qualifier, len %d, ret %d"
350usb_desc_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
351usb_desc_other_speed_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
352usb_desc_string(int addr, int index, int len, int ret) "dev %d query string %d, len %d, ret %d"
2077469b 353usb_desc_bos(int addr, int len, int ret) "dev %d bos, len %d, ret %d"
47f08d7a
LV
354usb_set_addr(int addr) "dev %d"
355usb_set_config(int addr, int config, int ret) "dev %d, config %d, ret %d"
1de14d43 356usb_set_interface(int addr, int iface, int alt, int ret) "dev %d, interface %d, altsetting %d, ret %d"
47f08d7a
LV
357usb_clear_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
358usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
37fb59d3 359
529f8f9f
GH
360# hw/usb/dev-hub.c
361usb_hub_reset(int addr) "dev %d"
362usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, langth %d"
363usb_hub_get_port_status(int addr, int nr, int status, int changed) "dev %d, port %d, status 0x%x, changed 0x%x"
364usb_hub_set_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
365usb_hub_clear_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
366usb_hub_attach(int addr, int nr) "dev %d, port %d"
367usb_hub_detach(int addr, int nr) "dev %d, port %d"
368
0f58f68b
GH
369# hw/usb/dev-uas.c
370usb_uas_reset(int addr) "dev %d"
371usb_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"
372usb_uas_response(int addr, uint16_t tag, uint8_t code) "dev %d, tag 0x%x, code 0x%x"
373usb_uas_sense(int addr, uint16_t tag, uint8_t status) "dev %d, tag 0x%x, status 0x%x"
374usb_uas_read_ready(int addr, uint16_t tag) "dev %d, tag 0x%x"
375usb_uas_write_ready(int addr, uint16_t tag) "dev %d, tag 0x%x"
376usb_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"
377usb_uas_scsi_data(int addr, uint16_t tag, uint32_t bytes) "dev %d, tag 0x%x, bytes %d"
378usb_uas_scsi_complete(int addr, uint16_t tag, uint32_t status, uint32_t resid) "dev %d, tag 0x%x, status 0x%x, residue %d"
379usb_uas_tmf_abort_task(int addr, uint16_t tag, uint16_t task_tag) "dev %d, tag 0x%x, task-tag 0x%x"
380usb_uas_tmf_logical_unit_reset(int addr, uint16_t tag, int lun) "dev %d, tag 0x%x, lun %d"
381usb_uas_tmf_unsupported(int addr, uint16_t tag, uint32_t function) "dev %d, tag 0x%x, function 0x%x"
382
f1ae32a1 383# hw/usb/host-linux.c
e6a2f500
GH
384usb_host_open_started(int bus, int addr) "dev %d:%d"
385usb_host_open_success(int bus, int addr) "dev %d:%d"
386usb_host_open_failure(int bus, int addr) "dev %d:%d"
387usb_host_disconnect(int bus, int addr) "dev %d:%d"
388usb_host_close(int bus, int addr) "dev %d:%d"
389usb_host_set_address(int bus, int addr, int config) "dev %d:%d, address %d"
390usb_host_set_config(int bus, int addr, int config) "dev %d:%d, config %d"
391usb_host_set_interface(int bus, int addr, int interface, int alt) "dev %d:%d, interface %d, alt %d"
392usb_host_claim_interfaces(int bus, int addr, int config, int nif) "dev %d:%d, config %d, nif %d"
393usb_host_release_interfaces(int bus, int addr) "dev %d:%d"
19b89252
GH
394usb_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"
395usb_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"
396usb_host_req_complete(int bus, int addr, void *p, int status) "dev %d:%d, packet %p, status %d"
397usb_host_req_emulated(int bus, int addr, void *p, int status) "dev %d:%d, packet %p, status %d"
398usb_host_req_canceled(int bus, int addr, void *p) "dev %d:%d, packet %p"
e6a2f500
GH
399usb_host_urb_submit(int bus, int addr, void *aurb, int length, int more) "dev %d:%d, aurb %p, length %d, more %d"
400usb_host_urb_complete(int bus, int addr, void *aurb, int status, int length, int more) "dev %d:%d, aurb %p, status %d, length %d, more %d"
6aebe407 401usb_host_urb_canceled(int bus, int addr, void *aurb) "dev %d:%d, aurb %p"
e6a2f500
GH
402usb_host_ep_set_halt(int bus, int addr, int ep) "dev %d:%d, ep %d"
403usb_host_ep_clear_halt(int bus, int addr, int ep) "dev %d:%d, ep %d"
c32da151
GH
404usb_host_iso_start(int bus, int addr, int ep) "dev %d:%d, ep %d"
405usb_host_iso_stop(int bus, int addr, int ep) "dev %d:%d, ep %d"
406usb_host_iso_out_of_bufs(int bus, int addr, int ep) "dev %d:%d, ep %d"
407usb_host_iso_many_urbs(int bus, int addr, int count) "dev %d:%d, count %d"
e6a2f500
GH
408usb_host_reset(int bus, int addr) "dev %d:%d"
409usb_host_auto_scan_enabled(void)
410usb_host_auto_scan_disabled(void)
9516bb47 411usb_host_claim_port(int bus, int hub, int port) "bus %d, hub addr %d, port %d"
96dd9aac
GH
412usb_host_parse_device(int bus, int addr, int vendor, int product) "dev %d:%d, id %04x:%04x"
413usb_host_parse_config(int bus, int addr, int value, int active) "dev %d:%d, value %d, active %d"
414usb_host_parse_interface(int bus, int addr, int num, int alt, int active) "dev %d:%d, num %d, alt %d, active %d"
415usb_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"
416usb_host_parse_unknown(int bus, int addr, int len, int type) "dev %d:%d, len %d, type %d"
417usb_host_parse_error(int bus, int addr, const char *errmsg) "dev %d:%d, msg %s"
e6a2f500 418
5138efec 419# hw/scsi-bus.c
47f08d7a 420scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"
814589c4 421scsi_req_cancel(int target, int lun, int tag) "target %d lun %d tag %d"
47f08d7a 422scsi_req_data(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
e88c591d 423scsi_req_data_canceled(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
47f08d7a
LV
424scsi_req_dequeue(int target, int lun, int tag) "target %d lun %d tag %d"
425scsi_req_continue(int target, int lun, int tag) "target %d lun %d tag %d"
426scsi_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"
689d7e2f 427scsi_req_parsed_lba(int target, int lun, int tag, int cmd, uint64_t lba) "target %d lun %d tag %d command %d lba %"PRIu64
47f08d7a
LV
428scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d"
429scsi_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"
e48e84ea 430scsi_device_set_ua(int target, int lun, int key, int asc, int ascq) "target %d lun %d key %#02x asc %#02x ascq %#02x"
47f08d7a
LV
431scsi_report_luns(int target, int lun, int tag) "target %d lun %d tag %d"
432scsi_inquiry(int target, int lun, int tag, int cdb1, int cdb2) "target %d lun %d tag %d page %#02x/%#02x"
433scsi_test_unit_ready(int target, int lun, int tag) "target %d lun %d tag %d"
434scsi_request_sense(int target, int lun, int tag) "target %d lun %d tag %d"
5138efec 435
94b0b5ff 436# vl.c
47f08d7a 437vm_state_notify(int running, int reason) "running %d reason %d"
298800ca 438
3cce16f4
KW
439# block/qcow2.c
440qcow2_writev_start_req(void *co, int64_t sector, int nb_sectors) "co %p sector %" PRIx64 " nb_sectors %d"
441qcow2_writev_done_req(void *co, int ret) "co %p ret %d"
442qcow2_writev_start_part(void *co) "co %p"
443qcow2_writev_done_part(void *co, int cur_nr_sectors) "co %p cur_nr_sectors %d"
444qcow2_writev_data(void *co, uint64_t offset) "co %p offset %" PRIx64
445
446qcow2_alloc_clusters_offset(void *co, uint64_t offset, int n_start, int n_end) "co %p offet %" PRIx64 " n_start %d n_end %d"
250196f1 447qcow2_do_alloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t host_offset, int nb_clusters) "co %p guest_offet %" PRIx64 " host_offset %" PRIx64 " nb_clusters %d"
3cce16f4
KW
448qcow2_cluster_alloc_phys(void *co) "co %p"
449qcow2_cluster_link_l2(void *co, int nb_clusters) "co %p nb_clusters %d"
450
451qcow2_l2_allocate(void *bs, int l1_index) "bs %p l1_index %d"
452qcow2_l2_allocate_get_empty(void *bs, int l1_index) "bs %p l1_index %d"
453qcow2_l2_allocate_write_l2(void *bs, int l1_index) "bs %p l1_index %d"
454qcow2_l2_allocate_write_l1(void *bs, int l1_index) "bs %p l1_index %d"
455qcow2_l2_allocate_done(void *bs, int l1_index, int ret) "bs %p l1_index %d ret %d"
456
457qcow2_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"
458qcow2_cache_get_replace_entry(void *co, int c, int i) "co %p is_l2_cache %d index %d"
459qcow2_cache_get_read(void *co, int c, int i) "co %p is_l2_cache %d index %d"
460qcow2_cache_get_done(void *co, int c, int i) "co %p is_l2_cache %d index %d"
461qcow2_cache_flush(void *co, int c) "co %p is_l2_cache %d"
462qcow2_cache_entry_flush(void *co, int c, int i) "co %p is_l2_cache %d index %d"
463
298800ca 464# block/qed-l2-cache.c
47f08d7a
LV
465qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p"
466qed_unref_l2_cache_entry(void *entry, int ref) "entry %p ref %d"
467qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %p offset %"PRIu64" ref %d"
298800ca
SH
468
469# block/qed-table.c
47f08d7a
LV
470qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p"
471qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d"
472qed_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"
473qed_write_table_cb(void *s, void *table, int flush, int ret) "s %p table %p flush %d ret %d"
eabba580
SH
474
475# block/qed.c
47f08d7a
LV
476qed_need_check_timer_cb(void *s) "s %p"
477qed_start_need_check_timer(void *s) "s %p"
478qed_cancel_need_check_timer(void *s) "s %p"
479qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d"
6e4f59bd 480qed_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"
689d7e2f 481qed_aio_next_io(void *s, void *acb, int ret, uint64_t cur_pos) "s %p acb %p ret %d cur_pos %"PRIu64
47f08d7a
LV
482qed_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"
483qed_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"
689d7e2f
SH
484qed_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
485qed_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
47f08d7a 486qed_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"
0f3a4a01 487
b213b370 488# hw/g364fb.c
47f08d7a
LV
489g364fb_read(uint64_t addr, uint32_t val) "read addr=0x%"PRIx64": 0x%x"
490g364fb_write(uint64_t addr, uint32_t new) "write addr=0x%"PRIx64": 0x%x"
b213b370 491
0f3a4a01 492# hw/grlib_gptimer.c
47f08d7a
LV
493grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
494grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
495grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
496grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
497grlib_gptimer_hit(int id) "timer:%d HIT"
498grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
499grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
3f10bcbb
FC
500
501# hw/grlib_irqmp.c
2f4a725b 502grlib_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"
47f08d7a
LV
503grlib_irqmp_ack(int intno) "interrupt:%d"
504grlib_irqmp_set_irq(int irq) "Raise CPU IRQ %d"
689d7e2f 505grlib_irqmp_readl_unknown(uint64_t addr) "addr 0x%"PRIx64
47f08d7a 506grlib_irqmp_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
8b1e1320
FC
507
508# hw/grlib_apbuart.c
47f08d7a
LV
509grlib_apbuart_event(int event) "event:%d"
510grlib_apbuart_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
0c685d28 511grlib_apbuart_readl_unknown(uint64_t addr) "addr 0x%"PRIx64""
b04d9890
FC
512
513# hw/leon3.c
47f08d7a
LV
514leon3_set_irq(int intno) "Set CPU IRQ %d"
515leon3_reset_irq(int intno) "Reset CPU IRQ %d"
9363ee31 516
cbcc6336 517# spice-qemu-char.c
47f08d7a
LV
518spice_vmc_write(ssize_t out, int len) "spice wrottn %zd of requested %d"
519spice_vmc_read(int bytes, int len) "spice read %d of requested %d"
520spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
521spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
4ef66fa7
MW
522
523# hw/lm32_pic.c
47f08d7a
LV
524lm32_pic_raise_irq(void) "Raise CPU interrupt"
525lm32_pic_lower_irq(void) "Lower CPU interrupt"
526lm32_pic_interrupt(int irq, int level) "Set IRQ%d %d"
527lm32_pic_set_im(uint32_t im) "im 0x%08x"
528lm32_pic_set_ip(uint32_t ip) "ip 0x%08x"
529lm32_pic_get_im(uint32_t im) "im 0x%08x"
530lm32_pic_get_ip(uint32_t ip) "ip 0x%08x"
15d7dc4f
MW
531
532# hw/lm32_juart.c
47f08d7a
LV
533lm32_juart_get_jtx(uint32_t value) "jtx 0x%08x"
534lm32_juart_set_jtx(uint32_t value) "jtx 0x%08x"
535lm32_juart_get_jrx(uint32_t value) "jrx 0x%08x"
536lm32_juart_set_jrx(uint32_t value) "jrx 0x%08x"
ea7924dc
MW
537
538# hw/lm32_timer.c
47f08d7a
LV
539lm32_timer_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
540lm32_timer_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
541lm32_timer_hit(void) "timer hit"
542lm32_timer_irq_state(int level) "irq state %d"
770ae571
MW
543
544# hw/lm32_uart.c
47f08d7a
LV
545lm32_uart_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
546lm32_uart_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
547lm32_uart_irq_state(int level) "irq state %d"
f19410ca
MW
548
549# hw/lm32_sys.c
47f08d7a 550lm32_sys_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
25a8bb96 551
e8f943c3
HR
552# hw/megasas.c
553megasas_init_firmware(uint64_t pa) "pa %" PRIx64 " "
554megasas_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"
555megasas_initq_map_failed(int frame) "scmd %d: failed to map queue"
556megasas_initq_mismatch(int queue_len, int fw_cmds) "queue size %d max fw cmds %d"
557megasas_qf_found(unsigned int index, uint64_t pa) "found mapped frame %x pa %" PRIx64 ""
558megasas_qf_new(unsigned int index, void *cmd) "return new frame %x cmd %p"
559megasas_qf_failed(unsigned long pa) "all frames busy for frame %lx"
560megasas_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"
561megasas_qf_update(unsigned int head, unsigned int busy) "update reply queue head %x busy %d"
562megasas_qf_dequeue(unsigned int index) "dequeue frame %x"
563megasas_qf_map_failed(int cmd, unsigned long frame) "scmd %d: frame %lu"
564megasas_qf_complete_noirq(uint64_t context) "context %" PRIx64 " "
565megasas_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"
566megasas_handle_frame(const char *cmd, uint64_t addr, uint64_t context, uint32_t count) "MFI cmd %s addr %" PRIx64 " context %" PRIx64 " count %d"
567megasas_frame_busy(uint64_t addr) "frame %" PRIx64 " busy"
568megasas_unhandled_frame_cmd(int cmd, uint8_t frame_cmd) "scmd %d: Unhandled MFI cmd %x"
569megasas_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"
570megasas_scsi_target_not_present(const char *frame, int bus, int dev, int lun) "%s dev %x/%x/%x target not present"
571megasas_scsi_invalid_cdb_len(const char *frame, int bus, int dev, int lun, int len) "%s dev %x/%x/%x invalid cdb len %d"
572megasas_iov_read_overflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
573megasas_iov_write_overflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
574megasas_iov_read_underflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
575megasas_iov_write_underflow(int cmd, int bytes, int len) "scmd %d: %d/%d bytes"
576megasas_scsi_req_alloc_failed(const char *frame, int dev, int lun) "%s dev %x/%x req allocation failed"
577megasas_scsi_read_start(int cmd, int len) "scmd %d: transfer %d bytes of data"
578megasas_scsi_write_start(int cmd, int len) "scmd %d: transfer %d bytes of data"
579megasas_scsi_nodata(int cmd) "scmd %d: no data to be transferred"
580megasas_scsi_complete(int cmd, uint32_t status, int len, int xfer) "scmd %d: finished with status %x, len %u/%u"
581megasas_command_complete(int cmd, uint32_t status, uint32_t resid) "scmd %d: command completed, status %x, residual %d"
582megasas_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"
583megasas_io_target_not_present(int cmd, const char *frame, int dev, int lun) "scmd %d: %s dev 1/%x/%x LUN not present"
584megasas_io_read_start(int cmd, unsigned long lba, unsigned long count, unsigned long len) "scmd %d: start LBA %lx %lu blocks (%lu bytes)"
585megasas_io_write_start(int cmd, unsigned long lba, unsigned long count, unsigned long len) "scmd %d: start LBA %lx %lu blocks (%lu bytes)"
586megasas_io_complete(int cmd, uint32_t len) "scmd %d: %d bytes completed"
587megasas_io_read(int cmd, int bytes, int len, unsigned long offset) "scmd %d: %d/%d bytes, iov offset %lu"
588megasas_io_write(int cmd, int bytes, int len, unsigned long offset) "scmd %d: %d/%d bytes, iov offset %lu"
589megasas_io_continue(int cmd, int bytes) "scmd %d: %d bytes left"
590megasas_iovec_map_failed(int cmd, int index, unsigned long iov_size) "scmd %d: iovec %d size %lu"
591megasas_iovec_sgl_overflow(int cmd, int index, int limit) "scmd %d: iovec count %d limit %d"
592megasas_iovec_sgl_underflow(int cmd, int index) "scmd %d: iovec count %d"
593megasas_iovec_sgl_invalid(int cmd, int index, uint64_t pa, uint32_t len) "scmd %d: element %d pa %" PRIx64 " len %u"
594megasas_iovec_overflow(int cmd, int len, int limit) "scmd %d: len %d limit %d"
595megasas_iovec_underflow(int cmd, int len, int limit) "scmd %d: len %d limit %d"
596megasas_handle_dcmd(int cmd, int opcode) "scmd %d: MFI DCMD opcode %x"
597megasas_finish_dcmd(int cmd, int size) "scmd %d: MFI DCMD wrote %d bytes"
598megasas_dcmd_req_alloc_failed(int cmd, const char *desc) "scmd %d: %s alloc failed"
599megasas_dcmd_internal_submit(int cmd, const char *desc, int dev) "scmd %d: %s to dev %d"
600megasas_dcmd_internal_finish(int cmd, int opcode, int lun) "scmd %d: DCMD finish internal cmd %x lun %d"
601megasas_dcmd_internal_invalid(int cmd, int opcode) "scmd %d: Invalid internal DCMD %x"
602megasas_dcmd_unhandled(int cmd, int opcode, int len) "scmd %d: opcode %x, len %d"
603megasas_dcmd_zero_sge(int cmd) "scmd %d: zero DCMD sge count"
604megasas_dcmd_invalid_sge(int cmd, int count) "scmd %d: invalid DCMD sge count %d"
605megasas_dcmd_map_failed(int cmd) "scmd %d: Failed to map DCMD buffer"
606megasas_dcmd_invalid_xfer_len(int cmd, unsigned long size, unsigned long max) "scmd %d: invalid xfer len %ld, max %ld"
607megasas_dcmd_enter(int cmd, const char *dcmd, int len) "scmd %d: DCMD %s len %d"
608megasas_dcmd_dummy(int cmd, unsigned long size) "scmd %d: DCMD dummy xfer len %ld"
609megasas_dcmd_set_fw_time(int cmd, unsigned long time) "scmd %d: Set FW time %lx"
610megasas_dcmd_pd_get_list(int cmd, int num, int max, int offset) "scmd %d: DCMD PD get list: %d / %d PDs, size %d"
611megasas_dcmd_ld_get_list(int cmd, int num, int max) "scmd %d: DCMD LD get list: found %d / %d LDs"
612megasas_dcmd_ld_get_info(int cmd, int ld_id) "scmd %d: DCMD LD get info for dev %d"
613megasas_dcmd_pd_get_info(int cmd, int pd_id) "scmd %d: DCMD PD get info for dev %d"
614megasas_dcmd_pd_list_query(int cmd, int flags) "scmd %d: DCMD PD list query flags %x"
10d6530c 615megasas_dcmd_unsupported(int cmd, unsigned long size) "scmd %d: set properties len %ld"
e8f943c3
HR
616megasas_abort_frame(int cmd, int abort_cmd) "scmd %d: aborting frame %x"
617megasas_abort_no_cmd(int cmd, uint64_t context) "scmd %d: no active command for frame context %" PRIx64 ""
618megasas_abort_invalid_context(int cmd, uint64_t context, int abort_cmd) "scmd %d: invalid frame context %" PRIx64 " for abort frame %x"
619megasas_reset(void) "Reset"
620megasas_init(int sges, int cmds, const char *intr, const char *mode) "Using %d sges, %d cmds, %s, %s mode"
621megasas_msix_raise(int vector) "vector %d"
622megasas_irq_lower(void) "INTx"
623megasas_irq_raise(void) "INTx"
624megasas_intr_enabled(void) "Interrupts enabled"
625megasas_intr_disabled(void) "Interrupts disabled"
626megasas_mmio_readl(unsigned long addr, uint32_t val) "addr 0x%lx: 0x%x"
627megasas_mmio_invalid_readl(unsigned long addr) "addr 0x%lx"
628megasas_mmio_writel(uint32_t addr, uint32_t val) "addr 0x%x: 0x%x"
629megasas_mmio_invalid_writel(uint32_t addr, uint32_t val) "addr 0x%x: 0x%x"
630
25a8bb96 631# hw/milkymist-ac97.c
47f08d7a
LV
632milkymist_ac97_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
633milkymist_ac97_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
634milkymist_ac97_pulse_irq_crrequest(void) "Pulse IRQ CR request"
635milkymist_ac97_pulse_irq_crreply(void) "Pulse IRQ CR reply"
636milkymist_ac97_pulse_irq_dmaw(void) "Pulse IRQ DMA write"
637milkymist_ac97_pulse_irq_dmar(void) "Pulse IRQ DMA read"
638milkymist_ac97_in_cb(int avail, uint32_t remaining) "avail %d remaining %u"
639milkymist_ac97_in_cb_transferred(int transferred) "transferred %d"
640milkymist_ac97_out_cb(int free, uint32_t remaining) "free %d remaining %u"
641milkymist_ac97_out_cb_transferred(int transferred) "transferred %d"
e4dc6d2c
MW
642
643# hw/milkymist-hpdmc.c
47f08d7a
LV
644milkymist_hpdmc_memory_read(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
645milkymist_hpdmc_memory_write(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
b4e37d98
MW
646
647# hw/milkymist-memcard.c
47f08d7a
LV
648milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
649milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
07424544 650
57aa265d 651# hw/milkymist-minimac2.c
47f08d7a
LV
652milkymist_minimac2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
653milkymist_minimac2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
654milkymist_minimac2_mdio_write(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
655milkymist_minimac2_mdio_read(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
656milkymist_minimac2_tx_frame(uint32_t length) "length %u"
657milkymist_minimac2_rx_frame(const void *buf, uint32_t length) "buf %p length %u"
658milkymist_minimac2_drop_rx_frame(const void *buf) "buf %p"
659milkymist_minimac2_rx_transfer(const void *buf, uint32_t length) "buf %p length %d"
660milkymist_minimac2_raise_irq_rx(void) "Raise IRQ RX"
661milkymist_minimac2_lower_irq_rx(void) "Lower IRQ RX"
662milkymist_minimac2_pulse_irq_tx(void) "Pulse IRQ TX"
5ee18b9c
MW
663
664# hw/milkymist-pfpu.c
47f08d7a
LV
665milkymist_pfpu_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
666milkymist_pfpu_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
667milkymist_pfpu_vectout(uint32_t a, uint32_t b, uint32_t dma_ptr) "a %08x b %08x dma_ptr %08x"
668milkymist_pfpu_pulse_irq(void) "Pulse IRQ"
87a381ec
MW
669
670# hw/milkymist-softusb.c
47f08d7a
LV
671milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
672milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
673milkymist_softusb_mevt(uint8_t m) "m %d"
674milkymist_softusb_kevt(uint8_t m) "m %d"
675milkymist_softusb_mouse_event(int dx, int dy, int dz, int bs) "dx %d dy %d dz %d bs %02x"
676milkymist_softusb_pulse_irq(void) "Pulse IRQ"
96832424
MW
677
678# hw/milkymist-sysctl.c
47f08d7a
LV
679milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
680milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
681milkymist_sysctl_icap_write(uint32_t value) "value %08x"
682milkymist_sysctl_start_timer0(void) "Start timer0"
683milkymist_sysctl_stop_timer0(void) "Stop timer0"
684milkymist_sysctl_start_timer1(void) "Start timer1"
685milkymist_sysctl_stop_timer1(void) "Stop timer1"
686milkymist_sysctl_pulse_irq_timer0(void) "Pulse IRQ Timer0"
687milkymist_sysctl_pulse_irq_timer1(void) "Pulse IRQ Timer1"
0670dadd
MW
688
689# hw/milkymist-tmu2.c
47f08d7a
LV
690milkymist_tmu2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
691milkymist_tmu2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
692milkymist_tmu2_start(void) "Start TMU"
693milkymist_tmu2_pulse_irq(void) "Pulse IRQ"
883de16b
MW
694
695# hw/milkymist-uart.c
47f08d7a
LV
696milkymist_uart_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
697milkymist_uart_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
fcfa3397
MW
698milkymist_uart_raise_irq(void) "Raise IRQ"
699milkymist_uart_lower_irq(void) "Lower IRQ"
d23948b1
MW
700
701# hw/milkymist-vgafb.c
47f08d7a
LV
702milkymist_vgafb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
703milkymist_vgafb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
432d268c 704
83818f7c
HP
705# hw/mipsnet.c
706mipsnet_send(uint32_t size) "sending len=%u"
707mipsnet_receive(uint32_t size) "receiving len=%u"
708mipsnet_read(uint64_t addr, uint32_t val) "read addr=0x%" PRIx64 " val=0x%x"
903ec8ea 709mipsnet_write(uint64_t addr, uint64_t val) "write addr=0x%" PRIx64 " val=0x%" PRIx64 ""
83818f7c
HP
710mipsnet_irq(uint32_t isr, uint32_t intctl) "set irq to %d (%02x)"
711
432d268c 712# xen-all.c
47f08d7a 713xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: %#lx, size %#lx"
20581d20 714xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "%#"PRIx64" size %#lx, log_dirty %i"
432d268c
JN
715
716# xen-mapcache.c
689d7e2f
SH
717xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
718xen_remap_bucket(uint64_t index) "index %#"PRIx64
47f08d7a 719xen_map_cache_return(void* ptr) "%p"
689d7e2f 720xen_map_block(uint64_t phys_addr, uint64_t size) "%#"PRIx64", size %#"PRIx64
47f08d7a 721xen_unmap_block(void* addr, unsigned long size) "%p, size %#lx"
050a0ddf
AP
722
723# exec.c
47f08d7a 724qemu_put_ram_ptr(void* addr) "%p"
01195b73
SS
725
726# hw/xen_platform.c
47f08d7a 727xen_platform_log(char *s) "xen platform: %s"
00dccaf1
KW
728
729# qemu-coroutine.c
47f08d7a
LV
730qemu_coroutine_enter(void *from, void *to, void *opaque) "from %p to %p opaque %p"
731qemu_coroutine_yield(void *from, void *to) "from %p to %p"
732qemu_coroutine_terminate(void *co) "self %p"
b96e9247
KW
733
734# qemu-coroutine-lock.c
47f08d7a 735qemu_co_queue_next_bh(void) ""
bfe24e1a 736qemu_co_queue_next(void *nxt) "next %p"
47f08d7a
LV
737qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
738qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
739qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
740qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
30c2f238
BS
741
742# hw/escc.c
47f08d7a
LV
743escc_put_queue(char channel, int b) "channel %c put: 0x%02x"
744escc_get_queue(char channel, int val) "channel %c get 0x%02x"
745escc_update_irq(int irq) "IRQ = %d"
746escc_update_parameters(char channel, int speed, int parity, int data_bits, int stop_bits) "channel %c: speed=%d parity=%c data=%d stop=%d"
747escc_mem_writeb_ctrl(char channel, uint32_t reg, uint32_t val) "Write channel %c, reg[%d] = %2.2x"
748escc_mem_writeb_data(char channel, uint32_t val) "Write channel %c, ch %d"
749escc_mem_readb_ctrl(char channel, uint32_t reg, uint8_t val) "Read channel %c, reg[%d] = %2.2x"
750escc_mem_readb_data(char channel, uint32_t ret) "Read channel %c, ch %d"
751escc_serial_receive_byte(char channel, int ch) "channel %c put ch %d"
752escc_sunkbd_event_in(int ch) "Untranslated keycode %2.2x"
753escc_sunkbd_event_out(int ch) "Translated keycode %2.2x"
754escc_kbd_command(int val) "Command %d"
755escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=%01x"
bf4b9889 756
c589b249 757# block/iscsi.c
f4dfa67f 758iscsi_aio_write16_cb(void *iscsi, int status, void *acb, int canceled) "iscsi %p status %d acb %p canceled %d"
c589b249 759iscsi_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"
f4dfa67f 760iscsi_aio_read16_cb(void *iscsi, int status, void *acb, int canceled) "iscsi %p status %d acb %p canceled %d"
c589b249
RS
761iscsi_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"
762
bf4b9889 763# hw/esp.c
3af4e9aa
HP
764esp_error_fifo_overrun(void) "FIFO overrun"
765esp_error_unhandled_command(uint32_t val) "unhandled command (%2.2x)"
766esp_error_invalid_write(uint32_t val, uint32_t addr) "invalid write of 0x%02x at [0x%x]"
bf4b9889
BS
767esp_raise_irq(void) "Raise IRQ"
768esp_lower_irq(void) "Lower IRQ"
769esp_dma_enable(void) "Raise enable"
770esp_dma_disable(void) "Lower enable"
771esp_get_cmd(uint32_t dmalen, int target) "len %d target %d"
772esp_do_busid_cmd(uint8_t busid) "busid 0x%x"
773esp_handle_satn_stop(uint32_t cmdlen) "cmdlen %d"
774esp_write_response(uint32_t status) "Transfer status (status=%d)"
775esp_do_dma(uint32_t cmdlen, uint32_t len) "command len %d + %d"
776esp_command_complete(void) "SCSI Command complete"
777esp_command_complete_unexpected(void) "SCSI command completed unexpectedly"
778esp_command_complete_fail(void) "Command failed"
779esp_transfer_data(uint32_t dma_left, int32_t ti_size) "transfer %d/%d"
780esp_handle_ti(uint32_t minlen) "Transfer Information len %d"
781esp_handle_ti_cmd(uint32_t cmdlen) "command len %d"
782esp_mem_readb(uint32_t saddr, uint8_t reg) "reg[%d]: 0x%2.2x"
783esp_mem_writeb(uint32_t saddr, uint8_t reg, uint32_t val) "reg[%d]: 0x%2.2x -> 0x%2.2x"
784esp_mem_writeb_cmd_nop(uint32_t val) "NOP (%2.2x)"
785esp_mem_writeb_cmd_flush(uint32_t val) "Flush FIFO (%2.2x)"
786esp_mem_writeb_cmd_reset(uint32_t val) "Chip reset (%2.2x)"
787esp_mem_writeb_cmd_bus_reset(uint32_t val) "Bus reset (%2.2x)"
788esp_mem_writeb_cmd_iccs(uint32_t val) "Initiator Command Complete Sequence (%2.2x)"
789esp_mem_writeb_cmd_msgacc(uint32_t val) "Message Accepted (%2.2x)"
790esp_mem_writeb_cmd_pad(uint32_t val) "Transfer padding (%2.2x)"
791esp_mem_writeb_cmd_satn(uint32_t val) "Set ATN (%2.2x)"
6915bff1 792esp_mem_writeb_cmd_rstatn(uint32_t val) "Reset ATN (%2.2x)"
bf4b9889
BS
793esp_mem_writeb_cmd_sel(uint32_t val) "Select without ATN (%2.2x)"
794esp_mem_writeb_cmd_selatn(uint32_t val) "Select with ATN (%2.2x)"
795esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (%2.2x)"
796esp_mem_writeb_cmd_ensel(uint32_t val) "Enable selection (%2.2x)"
6fe84c18 797esp_mem_writeb_cmd_dissel(uint32_t val) "Disable selection (%2.2x)"
fabaaf1d
HP
798esp_pci_error_invalid_dma_direction(void) "invalid DMA transfer direction"
799esp_pci_error_invalid_read(uint32_t reg) "read access outside bounds (reg 0x%x)"
800esp_pci_error_invalid_write(uint32_t reg) "write access outside bounds (reg 0x%x)"
801esp_pci_error_invalid_write_dma(uint32_t val, uint32_t addr) "invalid write of 0x%02x at [0x%x]"
802esp_pci_dma_read(uint32_t saddr, uint32_t reg) "reg[%d]: 0x%8.8x"
803esp_pci_dma_write(uint32_t saddr, uint32_t reg, uint32_t val) "reg[%d]: 0x%8.8x -> 0x%8.8x"
804esp_pci_dma_idle(uint32_t val) "IDLE (%.8x)"
805esp_pci_dma_blast(uint32_t val) "BLAST (%.8x)"
806esp_pci_dma_abort(uint32_t val) "ABORT (%.8x)"
807esp_pci_dma_start(uint32_t val) "START (%.8x)"
808esp_pci_sbac_read(uint32_t reg) "sbac: 0x%8.8x"
809esp_pci_sbac_write(uint32_t reg, uint32_t val) "sbac: 0x%8.8x -> 0x%8.8x"
89bd820a
SH
810
811# monitor.c
812handle_qmp_command(void *mon, const char *cmd_name) "mon %p cmd_name \"%s\""
813monitor_protocol_emitter(void *mon) "mon %p"
afeecec2
DB
814monitor_protocol_event(uint32_t event, const char *evname, void *data) "event=%d name \"%s\" data %p"
815monitor_protocol_event_handler(uint32_t event, void *data, uint64_t last, uint64_t now) "event=%d data=%p last=%" PRId64 " now=%" PRId64
816monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
817monitor_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
818monitor_protocol_event_throttle(uint32_t event, uint64_t rate) "event=%d rate=%" PRId64
342407fd
MF
819
820# hw/opencores_eth.c
821open_eth_mii_write(unsigned idx, uint16_t v) "MII[%02x] <- %04x"
822open_eth_mii_read(unsigned idx, uint16_t v) "MII[%02x] -> %04x"
823open_eth_update_irq(uint32_t v) "IRQ <- %x"
824open_eth_receive(unsigned len) "RX: len: %u"
825open_eth_receive_mcast(unsigned idx, uint32_t h0, uint32_t h1) "MCAST: idx = %u, hash: %08x:%08x"
826open_eth_receive_reject(void) "RX: rejected"
827open_eth_receive_desc(uint32_t addr, uint32_t len_flags) "RX: %08x, len_flags: %08x"
828open_eth_start_xmit(uint32_t addr, unsigned len, unsigned tx_len) "TX: %08x, len: %u, tx_len: %u"
829open_eth_reg_read(uint32_t addr, uint32_t v) "MAC[%02x] -> %08x"
830open_eth_reg_write(uint32_t addr, uint32_t v) "MAC[%02x] <- %08x"
831open_eth_desc_read(uint32_t addr, uint32_t v) "DESC[%04x] -> %08x"
832open_eth_desc_write(uint32_t addr, uint32_t v) "DESC[%04x] <- %08x"
1f99b949 833
c572f23a 834# hw/9pfs/virtio-9p.c
7999f7e1 835v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
c572f23a
HPB
836v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
837v9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
c76eaf13 838v9fs_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"
c572f23a
HPB
839v9fs_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""
840v9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
841v9fs_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"}"
842v9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d request_mask %"PRIu64""
843v9fs_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}"
844v9fs_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"
845v9fs_walk_return(uint16_t tag, uint8_t id, uint16_t nwnames, void* qids) "tag %d id %d nwnames %d qids %p"
846v9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode) "tag %d id %d fid %d mode %d"
847v9fs_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"
848v9fs_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"
849v9fs_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"
850v9fs_fsync(uint16_t tag, uint8_t id, int32_t fid, int datasync) "tag %d id %d fid %d datasync %d"
851v9fs_clunk(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
2f008a8c 852v9fs_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"
c572f23a 853v9fs_read_return(uint16_t tag, uint8_t id, int32_t count, ssize_t err) "tag %d id %d count %d err %zd"
2f008a8c
AK
854v9fs_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"
855v9fs_readdir_return(uint16_t tag, uint8_t id, uint32_t count, ssize_t retval) "tag %d id %d count %u retval %zd"
856v9fs_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"
c572f23a
HPB
857v9fs_write_return(uint16_t tag, uint8_t id, int32_t total, ssize_t err) "tag %d id %d total %d err %zd"
858v9fs_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"
859v9fs_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"
860v9fs_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"
861v9fs_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"}"
862v9fs_flush(uint16_t tag, uint8_t id, int16_t flush_tag) "tag %d id %d flush_tag %d"
863v9fs_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"
864v9fs_remove(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
c76eaf13 865v9fs_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}"
c572f23a
HPB
866v9fs_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"
867v9fs_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"}"
868v9fs_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""
869v9fs_lock_return(uint16_t tag, uint8_t id, int8_t status) "tag %d id %d status %d"
870v9fs_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""
871v9fs_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"
c76eaf13
SW
872v9fs_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"
873v9fs_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"
c572f23a
HPB
874v9fs_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"
875v9fs_xattrwalk_return(uint16_t tag, uint8_t id, int64_t size) "tag %d id %d size %"PRId64""
876v9fs_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"
877v9fs_readlink(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
878v9fs_readlink_return(uint16_t tag, uint8_t id, char* target) "tag %d id %d name %s"
ec0ceb17
BS
879
880# target-sparc/mmu_helper.c
881mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
882mmu_helper_dprot(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
883mmu_helper_dmiss(uint64_t address, uint64_t context) "DMISS at %"PRIx64" context %"PRIx64""
884mmu_helper_tfault(uint64_t address, uint64_t context) "TFAULT at %"PRIx64" context %"PRIx64""
885mmu_helper_tmiss(uint64_t address, uint64_t context) "TMISS at %"PRIx64" context %"PRIx64""
886mmu_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""
887mmu_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""
888mmu_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""
11e66bca
BS
889
890# target-sparc/int_helper.c
891int_helper_set_softint(uint32_t softint) "new %08x"
892int_helper_clear_softint(uint32_t softint) "new %08x"
893int_helper_write_softint(uint32_t softint) "new %08x"
894int_helper_icache_freeze(void) "Instruction cache: freeze"
895int_helper_dcache_freeze(void) "Data cache: freeze"
870be6ad
BS
896
897# target-sparc/win_helper.c
898win_helper_gregset_error(uint32_t pstate) "ERROR in get_gregset: active pstate bits=%x"
899win_helper_switch_pstate(uint32_t pstate_regs, uint32_t new_pstate_regs) "change_pstate: switching regs old=%x new=%x"
900win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=%x (unchanged)"
901win_helper_wrpil(uint32_t psrpil, uint32_t new_pil) "old=%x new=%x"
902win_helper_done(uint32_t tl) "tl=%d"
903win_helper_retry(uint32_t tl) "tl=%d"
c57c4658
KW
904
905# dma-helpers.c
906dma_bdrv_io(void *dbs, void *bs, int64_t sector_num, bool to_dev) "dbs=%p bs=%p sector_num=%" PRId64 " to_dev=%d"
907dma_aio_cancel(void *dbs) "dbs=%p"
908dma_complete(void *dbs, int ret, void *cb) "dbs=%p ret=%d cb=%p"
909dma_bdrv_cb(void *dbs, int ret) "dbs=%p ret=%d"
910dma_map_wait(void *dbs) "dbs=%p"
cdbc19dd
AL
911
912# console.h
913displaysurface_free(void *display_state, void *display_surface) "state=%p surface=%p"
914displaysurface_resize(void *display_state, void *display_surface, int width, int height) "state=%p surface=%p %dx%d"
72750018
AL
915
916# vga.c
917ppm_save(const char *filename, void *display_surface) "%s surface=%p"
c480bb7d 918
517a13c9
JQ
919# savevm.c
920
921savevm_section_start(void) ""
922savevm_section_end(unsigned int section_id) "section_id %u"
923
3c12193d
JQ
924# arch_init.c
925migration_bitmap_sync_start(void) ""
926migration_bitmap_sync_end(uint64_t dirty_pages) "dirty_pages %" PRIu64""
927
c480bb7d
AL
928# hw/qxl.c
929disable qxl_interface_set_mm_time(int qid, uint32_t mm_time) "%d %d"
930disable qxl_io_write_vga(int qid, const char *mode, uint32_t addr, uint32_t val) "%d %s addr=%u val=%u"
95b752bc 931qxl_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"
c480bb7d
AL
932qxl_create_guest_primary_rest(int qid, int32_t stride, uint32_t type, uint32_t flags) "%d %d,%d,%d"
933qxl_destroy_primary(int qid) "%d"
934qxl_enter_vga_mode(int qid) "%d"
935qxl_exit_vga_mode(int qid) "%d"
936qxl_hard_reset(int qid, int64_t loadvm) "%d loadvm=%"PRId64""
937qxl_interface_async_complete_io(int qid, uint32_t current_async, void *cookie) "%d current=%d cookie=%p"
938qxl_interface_attach_worker(int qid) "%d"
939qxl_interface_get_init_info(int qid) "%d"
940qxl_interface_set_compression_level(int qid, int64_t level) "%d %"PRId64
941qxl_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]"
942qxl_interface_update_area_complete_rest(int qid, uint32_t num_updated_rects) "%d #=%d"
943qxl_interface_update_area_complete_overflow(int qid, int max) "%d max=%d"
944qxl_interface_update_area_complete_schedule_bh(int qid, uint32_t num_dirty) "%d #dirty=%d"
945qxl_io_destroy_primary_ignored(int qid, const char *mode) "%d %s"
a639ab04 946qxl_io_log(int qid, const uint8_t *log_buf) "%d %s"
c480bb7d 947qxl_io_read_unexpected(int qid) "%d"
917ae08c 948qxl_io_unexpected_vga_mode(int qid, uint64_t addr, uint64_t val, const char *desc) "%d 0x%"PRIx64"=%"PRIu64" (%s)"
c480bb7d
AL
949qxl_io_write(int qid, const char *mode, uint64_t addr, uint64_t val, unsigned size, int async) "%d %s addr=%"PRIu64 " val=%"PRIu64" size=%u async=%d"
950qxl_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
951qxl_post_load(int qid, const char *mode) "%d %s"
952qxl_pre_load(int qid) "%d"
953qxl_pre_save(int qid) "%d"
954qxl_reset_surfaces(int qid) "%d"
955qxl_ring_command_check(int qid, const char *mode) "%d %s"
956qxl_ring_command_get(int qid, const char *mode) "%d %s"
957qxl_ring_command_req_notification(int qid) "%d"
958qxl_ring_cursor_check(int qid, const char *mode) "%d %s"
959qxl_ring_cursor_get(int qid, const char *mode) "%d %s"
960qxl_ring_cursor_req_notification(int qid) "%d"
961qxl_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"
962qxl_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]"
963qxl_ring_res_put(int qid, uint32_t free_res) "%d #res=%d"
964qxl_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 " ]"
965qxl_soft_reset(int qid) "%d"
966qemu_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"
967qemu_spice_del_memslot(int qid, uint32_t gid, uint32_t slot_id) "%d gid=%u sid=%u"
968qemu_spice_create_primary_surface(int qid, uint32_t sid, void *surface, int async) "%d sid=%u surface=%p async=%d"
969qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async) "%d sid=%u async=%d"
970qemu_spice_wakeup(uint32_t qid) "%d"
971qemu_spice_start(uint32_t qid) "%d"
972qemu_spice_stop(uint32_t qid) "%d"
973qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "lr %d -> %d, tb -> %d -> %d"
974qxl_spice_destroy_surfaces_complete(int qid) "%d"
975qxl_spice_destroy_surfaces(int qid, int async) "%d async=%d"
976qxl_spice_destroy_surface_wait_complete(int qid, uint32_t id) "%d sid=%d"
977qxl_spice_destroy_surface_wait(int qid, uint32_t id, int async) "%d sid=%d async=%d"
978qxl_spice_flush_surfaces_async(int qid, uint32_t surface_count, uint32_t num_free_res) "%d s#=%d, res#=%d"
917ae08c 979qxl_spice_monitors_config(int qid) "%d"
c480bb7d
AL
980qxl_spice_loadvm_commands(int qid, void *ext, uint32_t count) "%d ext=%p count=%d"
981qxl_spice_oom(int qid) "%d"
982qxl_spice_reset_cursor(int qid) "%d"
983qxl_spice_reset_image_cache(int qid) "%d"
984qxl_spice_reset_memslots(int qid) "%d"
985qxl_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]"
986qxl_spice_update_area_rest(int qid, uint32_t num_dirty_rects, uint32_t clear_dirty_region) "%d #d=%d clear=%d"
987qxl_surfaces_dirty(int qid, int surface, int offset, int size) "%d surface=%d offset=%d size=%d"
917ae08c
AL
988qxl_send_events(int qid, uint32_t events) "%d %d"
989qxl_set_guest_bug(int qid) "%d"
a639ab04
AL
990qxl_interrupt_client_monitors_config(int qid, int num_heads, void *heads) "%d %d %p"
991qxl_client_monitors_config_unsupported_by_guest(int qid, uint32_t int_mask, void *client_monitors_config) "%d %X %p"
992qxl_client_monitors_config_capped(int qid, int requested, int limit) "%d %d %d"
993qxl_client_monitors_config_crc(int qid, unsigned size, uint32_t crc32) "%d %u %u"
d53291cf
AL
994
995# hw/qxl-render.c
996qxl_render_blit_guest_primary_initialized(void) ""
997qxl_render_blit(int32_t stride, int32_t left, int32_t right, int32_t top, int32_t bottom) "stride=%d [%d, %d, %d, %d]"
998qxl_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"
999qxl_render_update_area_done(void *cookie) "%p"
a2950fb6
AK
1000
1001# hw/spapr_pci.c
0ee2c058
AK
1002spapr_pci_msi(const char *msg, uint32_t n, uint32_t ca) "%s (device#%d, cfg=%x)"
1003spapr_pci_msi_setup(const char *name, unsigned vector, uint64_t addr) "dev\"%s\" vector %u, addr=%"PRIx64
1004spapr_pci_rtas_ibm_change_msi(unsigned func, unsigned req) "func %u, requested %u"
1005spapr_pci_rtas_ibm_query_interrupt_source_number(unsigned ioa, unsigned intr) "queries for #%u, IRQ%u"
1006spapr_pci_msi_write(uint64_t addr, uint64_t data, uint32_t dt_irq) "@%"PRIx64"<=%"PRIx64" IRQ %u"
a2950fb6 1007spapr_pci_lsi_set(const char *busname, int pin, uint32_t irq) "%s PIN%d IRQ %u"