1 # Trace events for debugging and performance instrumentation
3 # This file is processed by the tracetool script during the build.
5 # To add a new trace event:
7 # 1. Choose a name for the trace event. Declare its arguments and format
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".
13 # Format of a trace event:
15 # [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>"
17 # Example: g_malloc(size_t size) "size %zu"
19 # The "disable" keyword will build without the trace event.
21 # The <name> must be a valid as a C function name.
23 # Types should be standard C types. Use void * for pointers because the trace
24 # system may not have the necessary headers included.
26 # The <format-string> should be a sprintf()-compatible format string.
29 g_malloc(size_t size, void *ptr) "size %zu ptr %p"
30 g_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p"
31 g_free(void *ptr) "ptr %p"
34 qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
35 qemu_vmalloc(size_t size, void *ptr) "size %zu ptr %p"
36 qemu_vfree(void *ptr) "ptr %p"
39 virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u"
40 virtqueue_flush(void *vq, unsigned int count) "vq %p count %u"
41 virtqueue_pop(void *vq, void *elem, unsigned int in_num, unsigned int out_num) "vq %p elem %p in_num %u out_num %u"
42 virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p"
43 virtio_irq(void *vq) "vq %p"
44 virtio_notify(void *vdev, void *vq) "vdev %p vq %p"
45 virtio_set_status(void *vdev, uint8_t val) "vdev %p val %u"
47 # hw/virtio-serial-bus.c
48 virtio_serial_send_control_event(unsigned int port, uint16_t event, uint16_t value) "port %u, event %u, value %u"
49 virtio_serial_throttle_port(unsigned int port, bool throttle) "port %u, throttle %d"
50 virtio_serial_handle_control_message(uint16_t event, uint16_t value) "event %u, value %u"
51 virtio_serial_handle_control_message_port(unsigned int port) "port %u"
54 virtio_console_flush_buf(unsigned int port, size_t len, ssize_t ret) "port %u, in_len %zu, out_len %zd"
55 virtio_console_chr_read(unsigned int port, int size) "port %u, size %d"
56 virtio_console_chr_event(unsigned int port, int event) "port %u, event %d"
59 bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filename \"%s\" flags %#x format_name \"%s\""
60 multiwrite_cb(void *mcb, int ret) "mcb %p ret %d"
61 bdrv_aio_multiwrite(void *mcb, int num_callbacks, int num_reqs) "mcb %p num_callbacks %d num_reqs %d"
62 bdrv_aio_discard(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
63 bdrv_aio_flush(void *bs, void *opaque) "bs %p opaque %p"
64 bdrv_aio_readv(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
65 bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
66 bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
67 bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
68 bdrv_co_copy_on_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
69 bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
70 bdrv_co_write_zeroes(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
71 bdrv_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"
72 bdrv_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"
75 stream_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"
76 stream_start(void *bs, void *base, void *s, void *co, void *opaque) "bs %p base %p s %p co %p opaque %p"
79 qmp_block_job_cancel(void *job) "job %p"
80 block_stream_cb(void *bs, void *job, int ret) "bs %p job %p ret %d"
81 qmp_block_stream(void *bs, void *job) "bs %p job %p"
84 virtio_blk_req_complete(void *req, int status) "req %p status %d"
85 virtio_blk_rw_complete(void *req, int ret) "req %p ret %d"
86 virtio_blk_handle_write(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
87 virtio_blk_handle_read(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
90 paio_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"
91 paio_complete(void *acb, void *opaque, int ret) "acb %p opaque %p ret %d"
92 paio_cancel(void *acb, void *opaque) "acb %p opaque %p"
95 cpu_in(unsigned int addr, unsigned int val) "addr %#x value %u"
96 cpu_out(unsigned int addr, unsigned int val) "addr %#x value %u"
99 # Since requests are raised via monitor, not many tracepoints are needed.
100 balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
103 apic_local_deliver(int vector, uint32_t lvt) "vector %d delivery mode %d"
104 apic_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"
105 cpu_set_apic_base(uint64_t val) "%016"PRIx64
106 cpu_get_apic_base(uint64_t val) "%016"PRIx64
107 apic_mem_readl(uint64_t addr, uint32_t val) "%"PRIx64" = %08x"
108 apic_mem_writel(uint64_t addr, uint32_t val) "%"PRIx64" = %08x"
110 apic_report_irq_delivered(int apic_irq_delivered) "coalescing %d"
111 apic_reset_irq_delivered(int apic_irq_delivered) "old coalescing %d"
112 apic_get_irq_delivered(int apic_irq_delivered) "returning coalescing %d"
115 cs4231_mem_readl_dreg(uint32_t reg, uint32_t ret) "read dreg %d: 0x%02x"
116 cs4231_mem_readl_reg(uint32_t reg, uint32_t ret) "read reg %d: 0x%08x"
117 cs4231_mem_writel_reg(uint32_t reg, uint32_t old, uint32_t val) "write reg %d: 0x%08x -> 0x%08x"
118 cs4231_mem_writel_dreg(uint32_t reg, uint32_t old, uint32_t val) "write dreg %d: 0x%02x -> 0x%02x"
121 nvram_read(uint32_t addr, uint32_t ret) "read addr %d: 0x%02x"
122 nvram_write(uint32_t addr, uint32_t old, uint32_t val) "write addr %d: 0x%02x -> 0x%02x"
125 ecc_mem_writel_mer(uint32_t val) "Write memory enable %08x"
126 ecc_mem_writel_mdr(uint32_t val) "Write memory delay %08x"
127 ecc_mem_writel_mfsr(uint32_t val) "Write memory fault status %08x"
128 ecc_mem_writel_vcr(uint32_t val) "Write slot configuration %08x"
129 ecc_mem_writel_dr(uint32_t val) "Write diagnostic %08x"
130 ecc_mem_writel_ecr0(uint32_t val) "Write event count 1 %08x"
131 ecc_mem_writel_ecr1(uint32_t val) "Write event count 2 %08x"
132 ecc_mem_readl_mer(uint32_t ret) "Read memory enable %08x"
133 ecc_mem_readl_mdr(uint32_t ret) "Read memory delay %08x"
134 ecc_mem_readl_mfsr(uint32_t ret) "Read memory fault status %08x"
135 ecc_mem_readl_vcr(uint32_t ret) "Read slot configuration %08x"
136 ecc_mem_readl_mfar0(uint32_t ret) "Read memory fault address 0 %08x"
137 ecc_mem_readl_mfar1(uint32_t ret) "Read memory fault address 1 %08x"
138 ecc_mem_readl_dr(uint32_t ret) "Read diagnostic %08x"
139 ecc_mem_readl_ecr0(uint32_t ret) "Read event count 1 %08x"
140 ecc_mem_readl_ecr1(uint32_t ret) "Read event count 2 %08x"
141 ecc_diag_mem_writeb(uint64_t addr, uint32_t val) "Write diagnostic %"PRId64" = %02x"
142 ecc_diag_mem_readb(uint64_t addr, uint32_t ret) "Read diagnostic %"PRId64"= %02x"
145 jazz_led_read(uint64_t addr, uint8_t val) "read addr=0x%"PRIx64": 0x%x"
146 jazz_led_write(uint64_t addr, uint8_t new) "write addr=0x%"PRIx64": 0x%x"
149 lance_mem_readw(uint64_t addr, uint32_t ret) "addr=%"PRIx64"val=0x%04x"
150 lance_mem_writew(uint64_t addr, uint32_t val) "addr=%"PRIx64"val=0x%04x"
153 slavio_intctl_mem_readl(uint32_t cpu, uint64_t addr, uint32_t ret) "read cpu %d reg 0x%"PRIx64" = %x"
154 slavio_intctl_mem_writel(uint32_t cpu, uint64_t addr, uint32_t val) "write cpu %d reg 0x%"PRIx64" = %x"
155 slavio_intctl_mem_writel_clear(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Cleared cpu %d irq mask %x, curmask %x"
156 slavio_intctl_mem_writel_set(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Set cpu %d irq mask %x, curmask %x"
157 slavio_intctlm_mem_readl(uint64_t addr, uint32_t ret) "read system reg 0x%"PRIx64" = %x"
158 slavio_intctlm_mem_writel(uint64_t addr, uint32_t val) "write system reg 0x%"PRIx64" = %x"
159 slavio_intctlm_mem_writel_enable(uint32_t val, uint32_t intregm_disabled) "Enabled master irq mask %x, curmask %x"
160 slavio_intctlm_mem_writel_disable(uint32_t val, uint32_t intregm_disabled) "Disabled master irq mask %x, curmask %x"
161 slavio_intctlm_mem_writel_target(uint32_t cpu) "Set master irq cpu %d"
162 slavio_check_interrupts(uint32_t pending, uint32_t intregm_disabled) "pending %x disabled %x"
163 slavio_set_irq(uint32_t target_cpu, int irq, uint32_t pil, int level) "Set cpu %d irq %d -> pil %d level %d"
164 slavio_set_timer_irq_cpu(int cpu, int level) "Set cpu %d local timer level %d"
167 slavio_misc_update_irq_raise(void) "Raise IRQ"
168 slavio_misc_update_irq_lower(void) "Lower IRQ"
169 slavio_set_power_fail(int power_failing, uint8_t config) "Power fail: %d, config: %d"
170 slavio_cfg_mem_writeb(uint32_t val) "Write config %02x"
171 slavio_cfg_mem_readb(uint32_t ret) "Read config %02x"
172 slavio_diag_mem_writeb(uint32_t val) "Write diag %02x"
173 slavio_diag_mem_readb(uint32_t ret) "Read diag %02x"
174 slavio_mdm_mem_writeb(uint32_t val) "Write modem control %02x"
175 slavio_mdm_mem_readb(uint32_t ret) "Read modem control %02x"
176 slavio_aux1_mem_writeb(uint32_t val) "Write aux1 %02x"
177 slavio_aux1_mem_readb(uint32_t ret) "Read aux1 %02x"
178 slavio_aux2_mem_writeb(uint32_t val) "Write aux2 %02x"
179 slavio_aux2_mem_readb(uint32_t ret) "Read aux2 %02x"
180 apc_mem_writeb(uint32_t val) "Write power management %02x"
181 apc_mem_readb(uint32_t ret) "Read power management %02x"
182 slavio_sysctrl_mem_writel(uint32_t val) "Write system control %08x"
183 slavio_sysctrl_mem_readl(uint32_t ret) "Read system control %08x"
184 slavio_led_mem_writew(uint32_t val) "Write diagnostic LED %04x"
185 slavio_led_mem_readw(uint32_t ret) "Read diagnostic LED %04x"
188 slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x"
189 slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count %x%08x"
190 slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address %"PRIx64
191 slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read %"PRIx64" = %08x"
192 slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write %"PRIx64" = %08x"
193 slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to %016"PRIx64
194 slavio_timer_mem_writel_counter_invalid(void) "not user timer"
195 slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started"
196 slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped"
197 slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to user timer"
198 slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user timer to counter"
199 slavio_timer_mem_writel_mode_invalid(void) "not system timer"
200 slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address %"PRIx64
203 ledma_memory_read(uint64_t addr) "DMA read addr 0x%"PRIx64
204 ledma_memory_write(uint64_t addr) "DMA write addr 0x%"PRIx64
205 sparc32_dma_set_irq_raise(void) "Raise IRQ"
206 sparc32_dma_set_irq_lower(void) "Lower IRQ"
207 espdma_memory_read(uint32_t addr) "DMA read addr 0x%08x"
208 espdma_memory_write(uint32_t addr) "DMA write addr 0x%08x"
209 sparc32_dma_mem_readl(uint64_t addr, uint32_t ret) "read dmareg %"PRIx64": 0x%08x"
210 sparc32_dma_mem_writel(uint64_t addr, uint32_t old, uint32_t val) "write dmareg %"PRIx64": 0x%08x -> 0x%08x"
211 sparc32_dma_enable_raise(void) "Raise DMA enable"
212 sparc32_dma_enable_lower(void) "Lower DMA enable"
215 sun4m_cpu_interrupt(unsigned int level) "Set CPU IRQ %d"
216 sun4m_cpu_reset_interrupt(unsigned int level) "Reset CPU IRQ %d"
217 sun4m_cpu_set_irq_raise(int level) "Raise CPU IRQ %d"
218 sun4m_cpu_set_irq_lower(int level) "Lower CPU IRQ %d"
221 sun4m_iommu_mem_readl(uint64_t addr, uint32_t ret) "read reg[%"PRIx64"] = %x"
222 sun4m_iommu_mem_writel(uint64_t addr, uint32_t val) "write reg[%"PRIx64"] = %x"
223 sun4m_iommu_mem_writel_ctrl(uint64_t iostart) "iostart = %"PRIx64
224 sun4m_iommu_mem_writel_tlbflush(uint32_t val) "tlb flush %x"
225 sun4m_iommu_mem_writel_pgflush(uint32_t val) "page flush %x"
226 sun4m_iommu_page_get_flags(uint64_t pa, uint64_t iopte, uint32_t ret) "get flags addr %"PRIx64" => pte %"PRIx64", *pte = %x"
227 sun4m_iommu_translate_pa(uint64_t addr, uint64_t pa, uint32_t iopte) "xlate dva %"PRIx64" => pa %"PRIx64" iopte = %x"
228 sun4m_iommu_bad_addr(uint64_t addr) "bad addr %"PRIx64
231 usb_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"
232 usb_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"
235 usb_port_claim(int bus, const char *port) "bus %d, port %s"
236 usb_port_attach(int bus, const char *port) "bus %d, port %s"
237 usb_port_detach(int bus, const char *port) "bus %d, port %s"
238 usb_port_release(int bus, const char *port) "bus %d, port %s"
241 usb_ehci_reset(void) "=== RESET ==="
242 usb_ehci_mmio_readl(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
243 usb_ehci_mmio_writel(uint32_t addr, const char *str, uint32_t val) "wr mmio %04x [%s] = %x"
244 usb_ehci_mmio_change(uint32_t addr, const char *str, uint32_t new, uint32_t old) "ch mmio %04x [%s] = %x (old: %x)"
245 usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
246 usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"
247 usb_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"
248 usb_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"
249 usb_ehci_qh_bits(uint32_t addr, int c, int h, int dtc, int i) "QH @ %08x - c %d, h %d, dtc %d, i %d"
250 usb_ehci_qtd_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t altnext) "q %p - QTD @ %08x: next %08x altnext %08x"
251 usb_ehci_qtd_fields(uint32_t addr, int tbytes, int cpage, int cerr, int pid) "QTD @ %08x - tbytes %d, cpage %d, cerr %d, pid %d"
252 usb_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"
253 usb_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"
254 usb_ehci_sitd(uint32_t addr, uint32_t nxt, uint32_t active) "ITD @ %08x: next %08x - active %d"
255 usb_ehci_port_attach(uint32_t port, const char *device) "attach port #%d - %s"
256 usb_ehci_port_detach(uint32_t port) "detach port #%d"
257 usb_ehci_port_reset(uint32_t port, int enable) "reset port #%d - %d"
258 usb_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"
259 usb_ehci_queue_action(void *q, const char *action) "q %p: %s"
262 usb_uhci_reset(void) "=== RESET ==="
263 usb_uhci_schedule_start(void) ""
264 usb_uhci_schedule_stop(void) ""
265 usb_uhci_frame_start(uint32_t num) "nr %d"
266 usb_uhci_frame_loop_stop_idle(void) ""
267 usb_uhci_frame_loop_stop_bandwidth(void) ""
268 usb_uhci_frame_loop_continue(void) ""
269 usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr %04x, ret 0x04%x"
270 usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr %04x, val 0x04%x"
271 usb_uhci_mmio_readl(uint32_t addr, uint32_t val) "addr %04x, ret 0x08%x"
272 usb_uhci_mmio_writel(uint32_t addr, uint32_t val) "addr %04x, val 0x08%x"
273 usb_uhci_queue_add(uint32_t token) "token 0x%x"
274 usb_uhci_queue_del(uint32_t token) "token 0x%x"
275 usb_uhci_packet_add(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
276 usb_uhci_packet_link_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
277 usb_uhci_packet_unlink_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
278 usb_uhci_packet_cancel(uint32_t token, uint32_t addr, int done) "token 0x%x, td 0x%x, done %d"
279 usb_uhci_packet_complete_success(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
280 usb_uhci_packet_complete_shortxfer(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
281 usb_uhci_packet_complete_stall(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
282 usb_uhci_packet_complete_babble(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
283 usb_uhci_packet_complete_error(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
284 usb_uhci_packet_del(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
285 usb_uhci_qh_load(uint32_t qh) "qh 0x%x"
286 usb_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"
287 usb_uhci_td_queue(uint32_t td, uint32_t ctrl, uint32_t token) "td 0x%x, ctrl 0x%x, token 0x%x"
288 usb_uhci_td_nextqh(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
289 usb_uhci_td_async(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
290 usb_uhci_td_complete(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
293 usb_desc_device(int addr, int len, int ret) "dev %d query device, len %d, ret %d"
294 usb_desc_device_qualifier(int addr, int len, int ret) "dev %d query device qualifier, len %d, ret %d"
295 usb_desc_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
296 usb_desc_other_speed_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
297 usb_desc_string(int addr, int index, int len, int ret) "dev %d query string %d, len %d, ret %d"
298 usb_set_addr(int addr) "dev %d"
299 usb_set_config(int addr, int config, int ret) "dev %d, config %d, ret %d"
300 usb_set_interface(int addr, int iface, int alt, int ret) "dev %d, interface %d, altsetting %d, ret %d"
301 usb_clear_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
302 usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
304 # hw/usb/host-linux.c
305 usb_host_open_started(int bus, int addr) "dev %d:%d"
306 usb_host_open_success(int bus, int addr) "dev %d:%d"
307 usb_host_open_failure(int bus, int addr) "dev %d:%d"
308 usb_host_disconnect(int bus, int addr) "dev %d:%d"
309 usb_host_close(int bus, int addr) "dev %d:%d"
310 usb_host_set_address(int bus, int addr, int config) "dev %d:%d, address %d"
311 usb_host_set_config(int bus, int addr, int config) "dev %d:%d, config %d"
312 usb_host_set_interface(int bus, int addr, int interface, int alt) "dev %d:%d, interface %d, alt %d"
313 usb_host_claim_interfaces(int bus, int addr, int config, int nif) "dev %d:%d, config %d, nif %d"
314 usb_host_release_interfaces(int bus, int addr) "dev %d:%d"
315 usb_host_req_control(int bus, int addr, int req, int value, int index) "dev %d:%d, req 0x%x, value %d, index %d"
316 usb_host_req_data(int bus, int addr, int in, int ep, int size) "dev %d:%d, in %d, ep %d, size %d"
317 usb_host_req_complete(int bus, int addr, int status) "dev %d:%d, status %d"
318 usb_host_urb_submit(int bus, int addr, void *aurb, int length, int more) "dev %d:%d, aurb %p, length %d, more %d"
319 usb_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"
320 usb_host_ep_set_halt(int bus, int addr, int ep) "dev %d:%d, ep %d"
321 usb_host_ep_clear_halt(int bus, int addr, int ep) "dev %d:%d, ep %d"
322 usb_host_ep_start_iso(int bus, int addr, int ep) "dev %d:%d, ep %d"
323 usb_host_ep_stop_iso(int bus, int addr, int ep) "dev %d:%d, ep %d"
324 usb_host_reset(int bus, int addr) "dev %d:%d"
325 usb_host_auto_scan_enabled(void)
326 usb_host_auto_scan_disabled(void)
327 usb_host_claim_port(int bus, int hub, int port) "bus %d, hub addr %d, port %d"
330 scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"
331 scsi_req_data(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
332 scsi_req_data_canceled(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
333 scsi_req_dequeue(int target, int lun, int tag) "target %d lun %d tag %d"
334 scsi_req_continue(int target, int lun, int tag) "target %d lun %d tag %d"
335 scsi_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"
336 scsi_req_parsed_lba(int target, int lun, int tag, int cmd, uint64_t lba) "target %d lun %d tag %d command %d lba %"PRIu64
337 scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d"
338 scsi_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"
339 scsi_report_luns(int target, int lun, int tag) "target %d lun %d tag %d"
340 scsi_inquiry(int target, int lun, int tag, int cdb1, int cdb2) "target %d lun %d tag %d page %#02x/%#02x"
341 scsi_test_unit_ready(int target, int lun, int tag) "target %d lun %d tag %d"
342 scsi_request_sense(int target, int lun, int tag) "target %d lun %d tag %d"
345 vm_state_notify(int running, int reason) "running %d reason %d"
348 qcow2_writev_start_req(void *co, int64_t sector, int nb_sectors) "co %p sector %" PRIx64 " nb_sectors %d"
349 qcow2_writev_done_req(void *co, int ret) "co %p ret %d"
350 qcow2_writev_start_part(void *co) "co %p"
351 qcow2_writev_done_part(void *co, int cur_nr_sectors) "co %p cur_nr_sectors %d"
352 qcow2_writev_data(void *co, uint64_t offset) "co %p offset %" PRIx64
354 qcow2_alloc_clusters_offset(void *co, uint64_t offset, int n_start, int n_end) "co %p offet %" PRIx64 " n_start %d n_end %d"
355 qcow2_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"
356 qcow2_cluster_alloc_phys(void *co) "co %p"
357 qcow2_cluster_link_l2(void *co, int nb_clusters) "co %p nb_clusters %d"
359 qcow2_l2_allocate(void *bs, int l1_index) "bs %p l1_index %d"
360 qcow2_l2_allocate_get_empty(void *bs, int l1_index) "bs %p l1_index %d"
361 qcow2_l2_allocate_write_l2(void *bs, int l1_index) "bs %p l1_index %d"
362 qcow2_l2_allocate_write_l1(void *bs, int l1_index) "bs %p l1_index %d"
363 qcow2_l2_allocate_done(void *bs, int l1_index, int ret) "bs %p l1_index %d ret %d"
365 qcow2_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"
366 qcow2_cache_get_replace_entry(void *co, int c, int i) "co %p is_l2_cache %d index %d"
367 qcow2_cache_get_read(void *co, int c, int i) "co %p is_l2_cache %d index %d"
368 qcow2_cache_get_done(void *co, int c, int i) "co %p is_l2_cache %d index %d"
369 qcow2_cache_flush(void *co, int c) "co %p is_l2_cache %d"
370 qcow2_cache_entry_flush(void *co, int c, int i) "co %p is_l2_cache %d index %d"
372 # block/qed-l2-cache.c
373 qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p"
374 qed_unref_l2_cache_entry(void *entry, int ref) "entry %p ref %d"
375 qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %p offset %"PRIu64" ref %d"
378 qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p"
379 qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d"
380 qed_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"
381 qed_write_table_cb(void *s, void *table, int flush, int ret) "s %p table %p flush %d ret %d"
384 qed_need_check_timer_cb(void *s) "s %p"
385 qed_start_need_check_timer(void *s) "s %p"
386 qed_cancel_need_check_timer(void *s) "s %p"
387 qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d"
388 qed_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"
389 qed_aio_next_io(void *s, void *acb, int ret, uint64_t cur_pos) "s %p acb %p ret %d cur_pos %"PRIu64
390 qed_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"
391 qed_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"
392 qed_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
393 qed_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
394 qed_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"
397 g364fb_read(uint64_t addr, uint32_t val) "read addr=0x%"PRIx64": 0x%x"
398 g364fb_write(uint64_t addr, uint32_t new) "write addr=0x%"PRIx64": 0x%x"
401 grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
402 grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
403 grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
404 grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
405 grlib_gptimer_hit(int id) "timer:%d HIT"
406 grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
407 grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
410 grlib_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"
411 grlib_irqmp_ack(int intno) "interrupt:%d"
412 grlib_irqmp_set_irq(int irq) "Raise CPU IRQ %d"
413 grlib_irqmp_readl_unknown(uint64_t addr) "addr 0x%"PRIx64
414 grlib_irqmp_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
417 grlib_apbuart_event(int event) "event:%d"
418 grlib_apbuart_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
419 grlib_apbuart_readl_unknown(uint64_t addr) "addr 0x%"PRIx64""
422 leon3_set_irq(int intno) "Set CPU IRQ %d"
423 leon3_reset_irq(int intno) "Reset CPU IRQ %d"
426 spice_vmc_write(ssize_t out, int len) "spice wrottn %zd of requested %d"
427 spice_vmc_read(int bytes, int len) "spice read %d of requested %d"
428 spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
429 spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
432 lm32_pic_raise_irq(void) "Raise CPU interrupt"
433 lm32_pic_lower_irq(void) "Lower CPU interrupt"
434 lm32_pic_interrupt(int irq, int level) "Set IRQ%d %d"
435 lm32_pic_set_im(uint32_t im) "im 0x%08x"
436 lm32_pic_set_ip(uint32_t ip) "ip 0x%08x"
437 lm32_pic_get_im(uint32_t im) "im 0x%08x"
438 lm32_pic_get_ip(uint32_t ip) "ip 0x%08x"
441 lm32_juart_get_jtx(uint32_t value) "jtx 0x%08x"
442 lm32_juart_set_jtx(uint32_t value) "jtx 0x%08x"
443 lm32_juart_get_jrx(uint32_t value) "jrx 0x%08x"
444 lm32_juart_set_jrx(uint32_t value) "jrx 0x%08x"
447 lm32_timer_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
448 lm32_timer_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
449 lm32_timer_hit(void) "timer hit"
450 lm32_timer_irq_state(int level) "irq state %d"
453 lm32_uart_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
454 lm32_uart_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
455 lm32_uart_irq_state(int level) "irq state %d"
458 lm32_sys_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
460 # hw/milkymist-ac97.c
461 milkymist_ac97_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
462 milkymist_ac97_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
463 milkymist_ac97_pulse_irq_crrequest(void) "Pulse IRQ CR request"
464 milkymist_ac97_pulse_irq_crreply(void) "Pulse IRQ CR reply"
465 milkymist_ac97_pulse_irq_dmaw(void) "Pulse IRQ DMA write"
466 milkymist_ac97_pulse_irq_dmar(void) "Pulse IRQ DMA read"
467 milkymist_ac97_in_cb(int avail, uint32_t remaining) "avail %d remaining %u"
468 milkymist_ac97_in_cb_transferred(int transferred) "transferred %d"
469 milkymist_ac97_out_cb(int free, uint32_t remaining) "free %d remaining %u"
470 milkymist_ac97_out_cb_transferred(int transferred) "transferred %d"
472 # hw/milkymist-hpdmc.c
473 milkymist_hpdmc_memory_read(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
474 milkymist_hpdmc_memory_write(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
476 # hw/milkymist-memcard.c
477 milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
478 milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
480 # hw/milkymist-minimac2.c
481 milkymist_minimac2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
482 milkymist_minimac2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
483 milkymist_minimac2_mdio_write(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
484 milkymist_minimac2_mdio_read(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
485 milkymist_minimac2_tx_frame(uint32_t length) "length %u"
486 milkymist_minimac2_rx_frame(const void *buf, uint32_t length) "buf %p length %u"
487 milkymist_minimac2_drop_rx_frame(const void *buf) "buf %p"
488 milkymist_minimac2_rx_transfer(const void *buf, uint32_t length) "buf %p length %d"
489 milkymist_minimac2_raise_irq_rx(void) "Raise IRQ RX"
490 milkymist_minimac2_lower_irq_rx(void) "Lower IRQ RX"
491 milkymist_minimac2_pulse_irq_tx(void) "Pulse IRQ TX"
493 # hw/milkymist-pfpu.c
494 milkymist_pfpu_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
495 milkymist_pfpu_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
496 milkymist_pfpu_vectout(uint32_t a, uint32_t b, uint32_t dma_ptr) "a %08x b %08x dma_ptr %08x"
497 milkymist_pfpu_pulse_irq(void) "Pulse IRQ"
499 # hw/milkymist-softusb.c
500 milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
501 milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
502 milkymist_softusb_mevt(uint8_t m) "m %d"
503 milkymist_softusb_kevt(uint8_t m) "m %d"
504 milkymist_softusb_mouse_event(int dx, int dy, int dz, int bs) "dx %d dy %d dz %d bs %02x"
505 milkymist_softusb_pulse_irq(void) "Pulse IRQ"
507 # hw/milkymist-sysctl.c
508 milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
509 milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
510 milkymist_sysctl_icap_write(uint32_t value) "value %08x"
511 milkymist_sysctl_start_timer0(void) "Start timer0"
512 milkymist_sysctl_stop_timer0(void) "Stop timer0"
513 milkymist_sysctl_start_timer1(void) "Start timer1"
514 milkymist_sysctl_stop_timer1(void) "Stop timer1"
515 milkymist_sysctl_pulse_irq_timer0(void) "Pulse IRQ Timer0"
516 milkymist_sysctl_pulse_irq_timer1(void) "Pulse IRQ Timer1"
518 # hw/milkymist-tmu2.c
519 milkymist_tmu2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
520 milkymist_tmu2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
521 milkymist_tmu2_start(void) "Start TMU"
522 milkymist_tmu2_pulse_irq(void) "Pulse IRQ"
524 # hw/milkymist-uart.c
525 milkymist_uart_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
526 milkymist_uart_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
527 milkymist_uart_raise_irq(void) "Raise IRQ"
528 milkymist_uart_lower_irq(void) "Lower IRQ"
530 # hw/milkymist-vgafb.c
531 milkymist_vgafb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
532 milkymist_vgafb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
535 mipsnet_send(uint32_t size) "sending len=%u"
536 mipsnet_receive(uint32_t size) "receiving len=%u"
537 mipsnet_read(uint64_t addr, uint32_t val) "read addr=0x%" PRIx64 " val=0x%x"
538 mipsnet_write(uint64_t addr, uint64_t val) "write addr=0x%" PRIx64 " val=0x%" PRIx64 ""
539 mipsnet_irq(uint32_t isr, uint32_t intctl) "set irq to %d (%02x)"
542 xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: %#lx, size %#lx"
543 xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "%#"PRIx64" size %#lx, log_dirty %i"
546 xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
547 xen_remap_bucket(uint64_t index) "index %#"PRIx64
548 xen_map_cache_return(void* ptr) "%p"
549 xen_map_block(uint64_t phys_addr, uint64_t size) "%#"PRIx64", size %#"PRIx64
550 xen_unmap_block(void* addr, unsigned long size) "%p, size %#lx"
553 qemu_put_ram_ptr(void* addr) "%p"
556 xen_platform_log(char *s) "xen platform: %s"
559 qemu_coroutine_enter(void *from, void *to, void *opaque) "from %p to %p opaque %p"
560 qemu_coroutine_yield(void *from, void *to) "from %p to %p"
561 qemu_coroutine_terminate(void *co) "self %p"
563 # qemu-coroutine-lock.c
564 qemu_co_queue_next_bh(void) ""
565 qemu_co_queue_next(void *nxt) "next %p"
566 qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
567 qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
568 qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
569 qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
572 escc_put_queue(char channel, int b) "channel %c put: 0x%02x"
573 escc_get_queue(char channel, int val) "channel %c get 0x%02x"
574 escc_update_irq(int irq) "IRQ = %d"
575 escc_update_parameters(char channel, int speed, int parity, int data_bits, int stop_bits) "channel %c: speed=%d parity=%c data=%d stop=%d"
576 escc_mem_writeb_ctrl(char channel, uint32_t reg, uint32_t val) "Write channel %c, reg[%d] = %2.2x"
577 escc_mem_writeb_data(char channel, uint32_t val) "Write channel %c, ch %d"
578 escc_mem_readb_ctrl(char channel, uint32_t reg, uint8_t val) "Read channel %c, reg[%d] = %2.2x"
579 escc_mem_readb_data(char channel, uint32_t ret) "Read channel %c, ch %d"
580 escc_serial_receive_byte(char channel, int ch) "channel %c put ch %d"
581 escc_sunkbd_event_in(int ch) "Untranslated keycode %2.2x"
582 escc_sunkbd_event_out(int ch) "Translated keycode %2.2x"
583 escc_kbd_command(int val) "Command %d"
584 escc_sunmouse_event(int dx, int dy, int buttons_state) "dx=%d dy=%d buttons=%01x"
587 iscsi_aio_write10_cb(void *iscsi, int status, void *acb, int canceled) "iscsi %p status %d acb %p canceled %d"
588 iscsi_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"
589 iscsi_aio_read10_cb(void *iscsi, int status, void *acb, int canceled) "iscsi %p status %d acb %p canceled %d"
590 iscsi_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"
593 esp_raise_irq(void) "Raise IRQ"
594 esp_lower_irq(void) "Lower IRQ"
595 esp_dma_enable(void) "Raise enable"
596 esp_dma_disable(void) "Lower enable"
597 esp_get_cmd(uint32_t dmalen, int target) "len %d target %d"
598 esp_do_busid_cmd(uint8_t busid) "busid 0x%x"
599 esp_handle_satn_stop(uint32_t cmdlen) "cmdlen %d"
600 esp_write_response(uint32_t status) "Transfer status (status=%d)"
601 esp_do_dma(uint32_t cmdlen, uint32_t len) "command len %d + %d"
602 esp_command_complete(void) "SCSI Command complete"
603 esp_command_complete_unexpected(void) "SCSI command completed unexpectedly"
604 esp_command_complete_fail(void) "Command failed"
605 esp_transfer_data(uint32_t dma_left, int32_t ti_size) "transfer %d/%d"
606 esp_handle_ti(uint32_t minlen) "Transfer Information len %d"
607 esp_handle_ti_cmd(uint32_t cmdlen) "command len %d"
608 esp_mem_readb(uint32_t saddr, uint8_t reg) "reg[%d]: 0x%2.2x"
609 esp_mem_writeb(uint32_t saddr, uint8_t reg, uint32_t val) "reg[%d]: 0x%2.2x -> 0x%2.2x"
610 esp_mem_writeb_cmd_nop(uint32_t val) "NOP (%2.2x)"
611 esp_mem_writeb_cmd_flush(uint32_t val) "Flush FIFO (%2.2x)"
612 esp_mem_writeb_cmd_reset(uint32_t val) "Chip reset (%2.2x)"
613 esp_mem_writeb_cmd_bus_reset(uint32_t val) "Bus reset (%2.2x)"
614 esp_mem_writeb_cmd_iccs(uint32_t val) "Initiator Command Complete Sequence (%2.2x)"
615 esp_mem_writeb_cmd_msgacc(uint32_t val) "Message Accepted (%2.2x)"
616 esp_mem_writeb_cmd_pad(uint32_t val) "Transfer padding (%2.2x)"
617 esp_mem_writeb_cmd_satn(uint32_t val) "Set ATN (%2.2x)"
618 esp_mem_writeb_cmd_sel(uint32_t val) "Select without ATN (%2.2x)"
619 esp_mem_writeb_cmd_selatn(uint32_t val) "Select with ATN (%2.2x)"
620 esp_mem_writeb_cmd_selatns(uint32_t val) "Select with ATN & stop (%2.2x)"
621 esp_mem_writeb_cmd_ensel(uint32_t val) "Enable selection (%2.2x)"
624 handle_qmp_command(void *mon, const char *cmd_name) "mon %p cmd_name \"%s\""
625 monitor_protocol_emitter(void *mon) "mon %p"
628 open_eth_mii_write(unsigned idx, uint16_t v) "MII[%02x] <- %04x"
629 open_eth_mii_read(unsigned idx, uint16_t v) "MII[%02x] -> %04x"
630 open_eth_update_irq(uint32_t v) "IRQ <- %x"
631 open_eth_receive(unsigned len) "RX: len: %u"
632 open_eth_receive_mcast(unsigned idx, uint32_t h0, uint32_t h1) "MCAST: idx = %u, hash: %08x:%08x"
633 open_eth_receive_reject(void) "RX: rejected"
634 open_eth_receive_desc(uint32_t addr, uint32_t len_flags) "RX: %08x, len_flags: %08x"
635 open_eth_start_xmit(uint32_t addr, unsigned len, unsigned tx_len) "TX: %08x, len: %u, tx_len: %u"
636 open_eth_reg_read(uint32_t addr, uint32_t v) "MAC[%02x] -> %08x"
637 open_eth_reg_write(uint32_t addr, uint32_t v) "MAC[%02x] <- %08x"
638 open_eth_desc_read(uint32_t addr, uint32_t v) "DESC[%04x] -> %08x"
639 open_eth_desc_write(uint32_t addr, uint32_t v) "DESC[%04x] <- %08x"
641 # hw/9pfs/virtio-9p.c
642 v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
643 v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
644 v9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
645 v9fs_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"
646 v9fs_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""
647 v9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
648 v9fs_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"}"
649 v9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d request_mask %"PRIu64""
650 v9fs_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}"
651 v9fs_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"
652 v9fs_walk_return(uint16_t tag, uint8_t id, uint16_t nwnames, void* qids) "tag %d id %d nwnames %d qids %p"
653 v9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode) "tag %d id %d fid %d mode %d"
654 v9fs_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"
655 v9fs_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"
656 v9fs_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"
657 v9fs_fsync(uint16_t tag, uint8_t id, int32_t fid, int datasync) "tag %d id %d fid %d datasync %d"
658 v9fs_clunk(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
659 v9fs_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"
660 v9fs_read_return(uint16_t tag, uint8_t id, int32_t count, ssize_t err) "tag %d id %d count %d err %zd"
661 v9fs_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"
662 v9fs_readdir_return(uint16_t tag, uint8_t id, uint32_t count, ssize_t retval) "tag %d id %d count %u retval %zd"
663 v9fs_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"
664 v9fs_write_return(uint16_t tag, uint8_t id, int32_t total, ssize_t err) "tag %d id %d total %d err %zd"
665 v9fs_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"
666 v9fs_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"
667 v9fs_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"
668 v9fs_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"}"
669 v9fs_flush(uint16_t tag, uint8_t id, int16_t flush_tag) "tag %d id %d flush_tag %d"
670 v9fs_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"
671 v9fs_remove(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
672 v9fs_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}"
673 v9fs_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"
674 v9fs_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"}"
675 v9fs_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""
676 v9fs_lock_return(uint16_t tag, uint8_t id, int8_t status) "tag %d id %d status %d"
677 v9fs_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""
678 v9fs_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"
679 v9fs_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"
680 v9fs_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"
681 v9fs_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"
682 v9fs_xattrwalk_return(uint16_t tag, uint8_t id, int64_t size) "tag %d id %d size %"PRId64""
683 v9fs_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"
684 v9fs_readlink(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
685 v9fs_readlink_return(uint16_t tag, uint8_t id, char* target) "tag %d id %d name %s"
687 # target-sparc/mmu_helper.c
688 mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
689 mmu_helper_dprot(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
690 mmu_helper_dmiss(uint64_t address, uint64_t context) "DMISS at %"PRIx64" context %"PRIx64""
691 mmu_helper_tfault(uint64_t address, uint64_t context) "TFAULT at %"PRIx64" context %"PRIx64""
692 mmu_helper_tmiss(uint64_t address, uint64_t context) "TMISS at %"PRIx64" context %"PRIx64""
693 mmu_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""
694 mmu_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""
695 mmu_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""
697 # target-sparc/int_helper.c
698 int_helper_set_softint(uint32_t softint) "new %08x"
699 int_helper_clear_softint(uint32_t softint) "new %08x"
700 int_helper_write_softint(uint32_t softint) "new %08x"
701 int_helper_icache_freeze(void) "Instruction cache: freeze"
702 int_helper_dcache_freeze(void) "Data cache: freeze"
704 # target-sparc/win_helper.c
705 win_helper_gregset_error(uint32_t pstate) "ERROR in get_gregset: active pstate bits=%x"
706 win_helper_switch_pstate(uint32_t pstate_regs, uint32_t new_pstate_regs) "change_pstate: switching regs old=%x new=%x"
707 win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=%x (unchanged)"
708 win_helper_wrpil(uint32_t psrpil, uint32_t new_pil) "old=%x new=%x"
709 win_helper_done(uint32_t tl) "tl=%d"
710 win_helper_retry(uint32_t tl) "tl=%d"
713 dma_bdrv_io(void *dbs, void *bs, int64_t sector_num, bool to_dev) "dbs=%p bs=%p sector_num=%" PRId64 " to_dev=%d"
714 dma_aio_cancel(void *dbs) "dbs=%p"
715 dma_complete(void *dbs, int ret, void *cb) "dbs=%p ret=%d cb=%p"
716 dma_bdrv_cb(void *dbs, int ret) "dbs=%p ret=%d"
717 dma_map_wait(void *dbs) "dbs=%p"
720 displaysurface_free(void *display_state, void *display_surface) "state=%p surface=%p"
721 displaysurface_resize(void *display_state, void *display_surface, int width, int height) "state=%p surface=%p %dx%d"
724 ppm_save(const char *filename, void *display_surface) "%s surface=%p"
727 disable qxl_interface_set_mm_time(int qid, uint32_t mm_time) "%d %d"
728 disable qxl_io_write_vga(int qid, const char *mode, uint32_t addr, uint32_t val) "%d %s addr=%u val=%u"
729 qxl_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"
730 qxl_create_guest_primary_rest(int qid, int32_t stride, uint32_t type, uint32_t flags) "%d %d,%d,%d"
731 qxl_destroy_primary(int qid) "%d"
732 qxl_enter_vga_mode(int qid) "%d"
733 qxl_exit_vga_mode(int qid) "%d"
734 qxl_hard_reset(int qid, int64_t loadvm) "%d loadvm=%"PRId64""
735 qxl_interface_async_complete_io(int qid, uint32_t current_async, void *cookie) "%d current=%d cookie=%p"
736 qxl_interface_attach_worker(int qid) "%d"
737 qxl_interface_get_init_info(int qid) "%d"
738 qxl_interface_set_compression_level(int qid, int64_t level) "%d %"PRId64
739 qxl_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]"
740 qxl_interface_update_area_complete_rest(int qid, uint32_t num_updated_rects) "%d #=%d"
741 qxl_interface_update_area_complete_overflow(int qid, int max) "%d max=%d"
742 qxl_interface_update_area_complete_schedule_bh(int qid, uint32_t num_dirty) "%d #dirty=%d"
743 qxl_io_destroy_primary_ignored(int qid, const char *mode) "%d %s"
744 qxl_io_read_unexpected(int qid) "%d"
745 qxl_io_unexpected_vga_mode(int qid, uint32_t io_port, const char *desc) "%d 0x%x (%s)"
746 qxl_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"
747 qxl_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
748 qxl_post_load(int qid, const char *mode) "%d %s"
749 qxl_pre_load(int qid) "%d"
750 qxl_pre_save(int qid) "%d"
751 qxl_reset_surfaces(int qid) "%d"
752 qxl_ring_command_check(int qid, const char *mode) "%d %s"
753 qxl_ring_command_get(int qid, const char *mode) "%d %s"
754 qxl_ring_command_req_notification(int qid) "%d"
755 qxl_ring_cursor_check(int qid, const char *mode) "%d %s"
756 qxl_ring_cursor_get(int qid, const char *mode) "%d %s"
757 qxl_ring_cursor_req_notification(int qid) "%d"
758 qxl_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"
759 qxl_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]"
760 qxl_ring_res_put(int qid, uint32_t free_res) "%d #res=%d"
761 qxl_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 " ]"
762 qxl_soft_reset(int qid) "%d"
763 qemu_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"
764 qemu_spice_del_memslot(int qid, uint32_t gid, uint32_t slot_id) "%d gid=%u sid=%u"
765 qemu_spice_create_primary_surface(int qid, uint32_t sid, void *surface, int async) "%d sid=%u surface=%p async=%d"
766 qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async) "%d sid=%u async=%d"
767 qemu_spice_wakeup(uint32_t qid) "%d"
768 qemu_spice_start(uint32_t qid) "%d"
769 qemu_spice_stop(uint32_t qid) "%d"
770 qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "lr %d -> %d, tb -> %d -> %d"
771 qxl_spice_destroy_surfaces_complete(int qid) "%d"
772 qxl_spice_destroy_surfaces(int qid, int async) "%d async=%d"
773 qxl_spice_destroy_surface_wait_complete(int qid, uint32_t id) "%d sid=%d"
774 qxl_spice_destroy_surface_wait(int qid, uint32_t id, int async) "%d sid=%d async=%d"
775 qxl_spice_flush_surfaces_async(int qid, uint32_t surface_count, uint32_t num_free_res) "%d s#=%d, res#=%d"
776 qxl_spice_loadvm_commands(int qid, void *ext, uint32_t count) "%d ext=%p count=%d"
777 qxl_spice_oom(int qid) "%d"
778 qxl_spice_reset_cursor(int qid) "%d"
779 qxl_spice_reset_image_cache(int qid) "%d"
780 qxl_spice_reset_memslots(int qid) "%d"
781 qxl_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]"
782 qxl_spice_update_area_rest(int qid, uint32_t num_dirty_rects, uint32_t clear_dirty_region) "%d #d=%d clear=%d"
783 qxl_surfaces_dirty(int qid, int surface, int offset, int size) "%d surface=%d offset=%d size=%d"
784 qxl_vga_ioport_while_not_in_vga_mode(int qid) "%d (int qid, reset to VGA mode because of VGA io)"
787 qxl_render_blit_guest_primary_initialized(void) ""
788 qxl_render_blit(int32_t stride, int32_t left, int32_t right, int32_t top, int32_t bottom) "stride=%d [%d, %d, %d, %d]"
789 qxl_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"
790 qxl_render_update_area_done(void *cookie) "%p"