Statistics
| Branch: | Revision:

root / trace-events @ 26d53979

History | View | Annotate | Download (24 kB)

1 94a420b1 Stefan Hajnoczi
# Trace events for debugging and performance instrumentation
2 94a420b1 Stefan Hajnoczi
#
3 94a420b1 Stefan Hajnoczi
# This file is processed by the tracetool script during the build.
4 94a420b1 Stefan Hajnoczi
#
5 94a420b1 Stefan Hajnoczi
# To add a new trace event:
6 94a420b1 Stefan Hajnoczi
#
7 94a420b1 Stefan Hajnoczi
# 1. Choose a name for the trace event.  Declare its arguments and format
8 94a420b1 Stefan Hajnoczi
#    string.
9 94a420b1 Stefan Hajnoczi
#
10 94a420b1 Stefan Hajnoczi
# 2. Call the trace event from code using trace_##name, e.g. multiwrite_cb() ->
11 94a420b1 Stefan Hajnoczi
#    trace_multiwrite_cb().  The source file must #include "trace.h".
12 94a420b1 Stefan Hajnoczi
#
13 94a420b1 Stefan Hajnoczi
# Format of a trace event:
14 94a420b1 Stefan Hajnoczi
#
15 1e2cf2bc Stefan Hajnoczi
# [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>"
16 94a420b1 Stefan Hajnoczi
#
17 94a420b1 Stefan Hajnoczi
# Example: qemu_malloc(size_t size) "size %zu"
18 94a420b1 Stefan Hajnoczi
#
19 1e2cf2bc Stefan Hajnoczi
# The "disable" keyword will build without the trace event.
20 1e2cf2bc Stefan Hajnoczi
# In case of 'simple' trace backend, it will allow the trace event to be
21 1e2cf2bc Stefan Hajnoczi
# compiled, but this would be turned off by default. It can be toggled on via
22 1e2cf2bc Stefan Hajnoczi
# the monitor.
23 1e2cf2bc Stefan Hajnoczi
#
24 94a420b1 Stefan Hajnoczi
# The <name> must be a valid as a C function name.
25 94a420b1 Stefan Hajnoczi
#
26 94a420b1 Stefan Hajnoczi
# Types should be standard C types.  Use void * for pointers because the trace
27 94a420b1 Stefan Hajnoczi
# system may not have the necessary headers included.
28 94a420b1 Stefan Hajnoczi
#
29 94a420b1 Stefan Hajnoczi
# The <format-string> should be a sprintf()-compatible format string.
30 cd245a19 Stefan Hajnoczi
31 cd245a19 Stefan Hajnoczi
# qemu-malloc.c
32 cd245a19 Stefan Hajnoczi
disable qemu_malloc(size_t size, void *ptr) "size %zu ptr %p"
33 cd245a19 Stefan Hajnoczi
disable qemu_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p"
34 cd245a19 Stefan Hajnoczi
disable qemu_free(void *ptr) "ptr %p"
35 cd245a19 Stefan Hajnoczi
36 cd245a19 Stefan Hajnoczi
# osdep.c
37 cd245a19 Stefan Hajnoczi
disable qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
38 dda85211 Blue Swirl
disable qemu_vmalloc(size_t size, void *ptr) "size %zu ptr %p"
39 cd245a19 Stefan Hajnoczi
disable qemu_vfree(void *ptr) "ptr %p"
40 6d519a5f Stefan Hajnoczi
41 64979a4d Stefan Hajnoczi
# hw/virtio.c
42 64979a4d Stefan Hajnoczi
disable virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u"
43 64979a4d Stefan Hajnoczi
disable virtqueue_flush(void *vq, unsigned int count) "vq %p count %u"
44 64979a4d Stefan Hajnoczi
disable virtqueue_pop(void *vq, void *elem, unsigned int in_num, unsigned int out_num) "vq %p elem %p in_num %u out_num %u"
45 64979a4d Stefan Hajnoczi
disable virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p"
46 64979a4d Stefan Hajnoczi
disable virtio_irq(void *vq) "vq %p"
47 64979a4d Stefan Hajnoczi
disable virtio_notify(void *vdev, void *vq) "vdev %p vq %p"
48 64979a4d Stefan Hajnoczi
49 6d519a5f Stefan Hajnoczi
# block.c
50 6d519a5f Stefan Hajnoczi
disable multiwrite_cb(void *mcb, int ret) "mcb %p ret %d"
51 6d519a5f Stefan Hajnoczi
disable bdrv_aio_multiwrite(void *mcb, int num_callbacks, int num_reqs) "mcb %p num_callbacks %d num_reqs %d"
52 6d519a5f Stefan Hajnoczi
disable bdrv_aio_multiwrite_earlyfail(void *mcb) "mcb %p"
53 6d519a5f Stefan Hajnoczi
disable bdrv_aio_multiwrite_latefail(void *mcb, int i) "mcb %p i %d"
54 a13aac04 Stefan Hajnoczi
disable bdrv_aio_flush(void *bs, void *opaque) "bs %p opaque %p"
55 bbf0a440 Stefan Hajnoczi
disable bdrv_aio_readv(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
56 bbf0a440 Stefan Hajnoczi
disable bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
57 b8c6d095 Stefan Hajnoczi
disable bdrv_set_locked(void *bs, int locked) "bs %p locked %d"
58 6d519a5f Stefan Hajnoczi
59 6d519a5f Stefan Hajnoczi
# hw/virtio-blk.c
60 6d519a5f Stefan Hajnoczi
disable virtio_blk_req_complete(void *req, int status) "req %p status %d"
61 6d519a5f Stefan Hajnoczi
disable virtio_blk_rw_complete(void *req, int ret) "req %p ret %d"
62 9a85d394 Stefan Hajnoczi
disable virtio_blk_handle_write(void *req, uint64_t sector, size_t nsectors) "req %p sector %"PRIu64" nsectors %zu"
63 6d519a5f Stefan Hajnoczi
64 6d519a5f Stefan Hajnoczi
# posix-aio-compat.c
65 9a85d394 Stefan Hajnoczi
disable 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"
66 ddca9fb2 Stefan Hajnoczi
disable paio_complete(void *acb, void *opaque, int ret) "acb %p opaque %p ret %d"
67 ddca9fb2 Stefan Hajnoczi
disable paio_cancel(void *acb, void *opaque) "acb %p opaque %p"
68 bd3c9aa5 Prerna Saxena
69 bd3c9aa5 Prerna Saxena
# ioport.c
70 bd3c9aa5 Prerna Saxena
disable cpu_in(unsigned int addr, unsigned int val) "addr %#x value %u"
71 bd3c9aa5 Prerna Saxena
disable cpu_out(unsigned int addr, unsigned int val) "addr %#x value %u"
72 62dd89de Prerna Saxena
73 62dd89de Prerna Saxena
# balloon.c
74 62dd89de Prerna Saxena
# Since requests are raised via monitor, not many tracepoints are needed.
75 62dd89de Prerna Saxena
disable balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
76 d8023f31 Blue Swirl
77 d8023f31 Blue Swirl
# hw/apic.c
78 d8023f31 Blue Swirl
disable apic_local_deliver(int vector, uint32_t lvt) "vector %d delivery mode %d"
79 d8023f31 Blue Swirl
disable apic_deliver_irq(uint8_t dest, uint8_t dest_mode, uint8_t delivery_mode, uint8_t vector_num, uint8_t polarity, uint8_t trigger_mode) "dest %d dest_mode %d delivery_mode %d vector %d polarity %d trigger_mode %d"
80 d8023f31 Blue Swirl
disable cpu_set_apic_base(uint64_t val) "%016"PRIx64""
81 d8023f31 Blue Swirl
disable cpu_get_apic_base(uint64_t val) "%016"PRIx64""
82 d8023f31 Blue Swirl
disable apic_mem_readl(uint64_t addr, uint32_t val)  "%"PRIx64" = %08x"
83 d8023f31 Blue Swirl
disable apic_mem_writel(uint64_t addr, uint32_t val) "%"PRIx64" = %08x"
84 d8023f31 Blue Swirl
# coalescing
85 d8023f31 Blue Swirl
disable apic_reset_irq_delivered(int apic_irq_delivered) "old coalescing %d"
86 d8023f31 Blue Swirl
disable apic_get_irq_delivered(int apic_irq_delivered) "returning coalescing %d"
87 d8023f31 Blue Swirl
disable apic_set_irq(int apic_irq_delivered) "coalescing %d"
88 97bf4851 Blue Swirl
89 97bf4851 Blue Swirl
# hw/cs4231.c
90 97bf4851 Blue Swirl
disable cs4231_mem_readl_dreg(uint32_t reg, uint32_t ret) "read dreg %d: 0x%02x"
91 97bf4851 Blue Swirl
disable cs4231_mem_readl_reg(uint32_t reg, uint32_t ret) "read reg %d: 0x%08x"
92 97bf4851 Blue Swirl
disable cs4231_mem_writel_reg(uint32_t reg, uint32_t old, uint32_t val) "write reg %d: 0x%08x -> 0x%08x"
93 97bf4851 Blue Swirl
disable cs4231_mem_writel_dreg(uint32_t reg, uint32_t old, uint32_t val) "write dreg %d: 0x%02x -> 0x%02x"
94 97bf4851 Blue Swirl
95 97bf4851 Blue Swirl
# hw/eccmemctl.c
96 97bf4851 Blue Swirl
disable ecc_mem_writel_mer(uint32_t val) "Write memory enable %08x"
97 97bf4851 Blue Swirl
disable ecc_mem_writel_mdr(uint32_t val) "Write memory delay %08x"
98 97bf4851 Blue Swirl
disable ecc_mem_writel_mfsr(uint32_t val) "Write memory fault status %08x"
99 97bf4851 Blue Swirl
disable ecc_mem_writel_vcr(uint32_t val) "Write slot configuration %08x"
100 97bf4851 Blue Swirl
disable ecc_mem_writel_dr(uint32_t val) "Write diagnostic %08x"
101 97bf4851 Blue Swirl
disable ecc_mem_writel_ecr0(uint32_t val) "Write event count 1 %08x"
102 97bf4851 Blue Swirl
disable ecc_mem_writel_ecr1(uint32_t val) "Write event count 2 %08x"
103 97bf4851 Blue Swirl
disable ecc_mem_readl_mer(uint32_t ret) "Read memory enable %08x"
104 97bf4851 Blue Swirl
disable ecc_mem_readl_mdr(uint32_t ret) "Read memory delay %08x"
105 97bf4851 Blue Swirl
disable ecc_mem_readl_mfsr(uint32_t ret) "Read memory fault status %08x"
106 97bf4851 Blue Swirl
disable ecc_mem_readl_vcr(uint32_t ret) "Read slot configuration %08x"
107 97bf4851 Blue Swirl
disable ecc_mem_readl_mfar0(uint32_t ret) "Read memory fault address 0 %08x"
108 97bf4851 Blue Swirl
disable ecc_mem_readl_mfar1(uint32_t ret) "Read memory fault address 1 %08x"
109 97bf4851 Blue Swirl
disable ecc_mem_readl_dr(uint32_t ret) "Read diagnostic %08x"
110 97bf4851 Blue Swirl
disable ecc_mem_readl_ecr0(uint32_t ret) "Read event count 1 %08x"
111 97bf4851 Blue Swirl
disable ecc_mem_readl_ecr1(uint32_t ret) "Read event count 2 %08x"
112 97bf4851 Blue Swirl
disable ecc_diag_mem_writeb(uint64_t addr, uint32_t val) "Write diagnostic %"PRId64" = %02x"
113 97bf4851 Blue Swirl
disable ecc_diag_mem_readb(uint64_t addr, uint32_t ret) "Read diagnostic %"PRId64"= %02x"
114 97bf4851 Blue Swirl
115 97bf4851 Blue Swirl
# hw/lance.c
116 97bf4851 Blue Swirl
disable lance_mem_readw(uint64_t addr, uint32_t ret) "addr=%"PRIx64"val=0x%04x"
117 97bf4851 Blue Swirl
disable lance_mem_writew(uint64_t addr, uint32_t val) "addr=%"PRIx64"val=0x%04x"
118 97bf4851 Blue Swirl
119 97bf4851 Blue Swirl
# hw/slavio_intctl.c
120 97bf4851 Blue Swirl
disable slavio_intctl_mem_readl(uint32_t cpu, uint64_t addr, uint32_t ret) "read cpu %d reg 0x%"PRIx64" = %x"
121 97bf4851 Blue Swirl
disable slavio_intctl_mem_writel(uint32_t cpu, uint64_t addr, uint32_t val) "write cpu %d reg 0x%"PRIx64" = %x"
122 97bf4851 Blue Swirl
disable slavio_intctl_mem_writel_clear(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Cleared cpu %d irq mask %x, curmask %x"
123 97bf4851 Blue Swirl
disable slavio_intctl_mem_writel_set(uint32_t cpu, uint32_t val, uint32_t intreg_pending) "Set cpu %d irq mask %x, curmask %x"
124 97bf4851 Blue Swirl
disable slavio_intctlm_mem_readl(uint64_t addr, uint32_t ret) "read system reg 0x%"PRIx64" = %x"
125 97bf4851 Blue Swirl
disable slavio_intctlm_mem_writel(uint64_t addr, uint32_t val) "write system reg 0x%"PRIx64" = %x"
126 97bf4851 Blue Swirl
disable slavio_intctlm_mem_writel_enable(uint32_t val, uint32_t intregm_disabled) "Enabled master irq mask %x, curmask %x"
127 97bf4851 Blue Swirl
disable slavio_intctlm_mem_writel_disable(uint32_t val, uint32_t intregm_disabled) "Disabled master irq mask %x, curmask %x"
128 97bf4851 Blue Swirl
disable slavio_intctlm_mem_writel_target(uint32_t cpu) "Set master irq cpu %d"
129 97bf4851 Blue Swirl
disable slavio_check_interrupts(uint32_t pending, uint32_t intregm_disabled) "pending %x disabled %x"
130 97bf4851 Blue Swirl
disable slavio_set_irq(uint32_t target_cpu, int irq, uint32_t pil, int level) "Set cpu %d irq %d -> pil %d level %d"
131 97bf4851 Blue Swirl
disable slavio_set_timer_irq_cpu(int cpu, int level) "Set cpu %d local timer level %d"
132 97bf4851 Blue Swirl
133 97bf4851 Blue Swirl
# hw/slavio_misc.c
134 97bf4851 Blue Swirl
disable slavio_misc_update_irq_raise(void) "Raise IRQ"
135 97bf4851 Blue Swirl
disable slavio_misc_update_irq_lower(void) "Lower IRQ"
136 97bf4851 Blue Swirl
disable slavio_set_power_fail(int power_failing, uint8_t config) "Power fail: %d, config: %d"
137 97bf4851 Blue Swirl
disable slavio_cfg_mem_writeb(uint32_t val) "Write config %02x"
138 97bf4851 Blue Swirl
disable slavio_cfg_mem_readb(uint32_t ret) "Read config %02x"
139 97bf4851 Blue Swirl
disable slavio_diag_mem_writeb(uint32_t val) "Write diag %02x"
140 97bf4851 Blue Swirl
disable slavio_diag_mem_readb(uint32_t ret) "Read diag %02x"
141 97bf4851 Blue Swirl
disable slavio_mdm_mem_writeb(uint32_t val) "Write modem control %02x"
142 97bf4851 Blue Swirl
disable slavio_mdm_mem_readb(uint32_t ret) "Read modem control %02x"
143 97bf4851 Blue Swirl
disable slavio_aux1_mem_writeb(uint32_t val) "Write aux1 %02x"
144 97bf4851 Blue Swirl
disable slavio_aux1_mem_readb(uint32_t ret) "Read aux1 %02x"
145 97bf4851 Blue Swirl
disable slavio_aux2_mem_writeb(uint32_t val) "Write aux2 %02x"
146 97bf4851 Blue Swirl
disable slavio_aux2_mem_readb(uint32_t ret) "Read aux2 %02x"
147 97bf4851 Blue Swirl
disable apc_mem_writeb(uint32_t val) "Write power management %02x"
148 97bf4851 Blue Swirl
disable apc_mem_readb(uint32_t ret) "Read power management %02x"
149 97bf4851 Blue Swirl
disable slavio_sysctrl_mem_writel(uint32_t val) "Write system control %08x"
150 97bf4851 Blue Swirl
disable slavio_sysctrl_mem_readl(uint32_t ret) "Read system control %08x"
151 97bf4851 Blue Swirl
disable slavio_led_mem_writew(uint32_t val) "Write diagnostic LED %04x"
152 97bf4851 Blue Swirl
disable slavio_led_mem_readw(uint32_t ret) "Read diagnostic LED %04x"
153 97bf4851 Blue Swirl
154 97bf4851 Blue Swirl
# hw/slavio_timer.c
155 97bf4851 Blue Swirl
disable slavio_timer_get_out(uint64_t limit, uint32_t counthigh, uint32_t count) "limit %"PRIx64" count %x%08x"
156 97bf4851 Blue Swirl
disable slavio_timer_irq(uint32_t counthigh, uint32_t count) "callback: count %x%08x"
157 97bf4851 Blue Swirl
disable slavio_timer_mem_readl_invalid(uint64_t addr) "invalid read address %"PRIx64""
158 97bf4851 Blue Swirl
disable slavio_timer_mem_readl(uint64_t addr, uint32_t ret) "read %"PRIx64" = %08x"
159 97bf4851 Blue Swirl
disable slavio_timer_mem_writel(uint64_t addr, uint32_t val) "write %"PRIx64" = %08x"
160 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_limit(unsigned int timer_index, uint64_t count) "processor %d user timer set to %016"PRIx64""
161 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_counter_invalid(void) "not user timer"
162 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_status_start(unsigned int timer_index) "processor %d user timer started"
163 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_status_stop(unsigned int timer_index) "processor %d user timer stopped"
164 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_mode_user(unsigned int timer_index) "processor %d changed from counter to user timer"
165 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_mode_counter(unsigned int timer_index) "processor %d changed from user timer to counter"
166 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_mode_invalid(void) "not system timer"
167 97bf4851 Blue Swirl
disable slavio_timer_mem_writel_invalid(uint64_t addr) "invalid write address %"PRIx64""
168 97bf4851 Blue Swirl
169 97bf4851 Blue Swirl
# hw/sparc32_dma.c
170 97bf4851 Blue Swirl
disable ledma_memory_read(uint64_t addr) "DMA read addr 0x%"PRIx64""
171 97bf4851 Blue Swirl
disable ledma_memory_write(uint64_t addr) "DMA write addr 0x%"PRIx64""
172 97bf4851 Blue Swirl
disable sparc32_dma_set_irq_raise(void) "Raise IRQ"
173 97bf4851 Blue Swirl
disable sparc32_dma_set_irq_lower(void) "Lower IRQ"
174 97bf4851 Blue Swirl
disable espdma_memory_read(uint32_t addr) "DMA read addr 0x%08x"
175 97bf4851 Blue Swirl
disable espdma_memory_write(uint32_t addr) "DMA write addr 0x%08x"
176 97bf4851 Blue Swirl
disable sparc32_dma_mem_readl(uint64_t addr, uint32_t ret) "read dmareg %"PRIx64": 0x%08x"
177 97bf4851 Blue Swirl
disable sparc32_dma_mem_writel(uint64_t addr, uint32_t old, uint32_t val) "write dmareg %"PRIx64": 0x%08x -> 0x%08x"
178 97bf4851 Blue Swirl
disable sparc32_dma_enable_raise(void) "Raise DMA enable"
179 97bf4851 Blue Swirl
disable sparc32_dma_enable_lower(void) "Lower DMA enable"
180 97bf4851 Blue Swirl
181 97bf4851 Blue Swirl
# hw/sun4m.c
182 97bf4851 Blue Swirl
disable sun4m_cpu_interrupt(unsigned int level) "Set CPU IRQ %d"
183 97bf4851 Blue Swirl
disable sun4m_cpu_reset_interrupt(unsigned int level) "Reset CPU IRQ %d"
184 97bf4851 Blue Swirl
disable sun4m_cpu_set_irq_raise(int level) "Raise CPU IRQ %d"
185 97bf4851 Blue Swirl
disable sun4m_cpu_set_irq_lower(int level) "Lower CPU IRQ %d"
186 97bf4851 Blue Swirl
187 97bf4851 Blue Swirl
# hw/sun4m_iommu.c
188 97bf4851 Blue Swirl
disable sun4m_iommu_mem_readl(uint64_t addr, uint32_t ret) "read reg[%"PRIx64"] = %x"
189 97bf4851 Blue Swirl
disable sun4m_iommu_mem_writel(uint64_t addr, uint32_t val) "write reg[%"PRIx64"] = %x"
190 97bf4851 Blue Swirl
disable sun4m_iommu_mem_writel_ctrl(uint64_t iostart) "iostart = %"PRIx64""
191 97bf4851 Blue Swirl
disable sun4m_iommu_mem_writel_tlbflush(uint32_t val) "tlb flush %x"
192 97bf4851 Blue Swirl
disable sun4m_iommu_mem_writel_pgflush(uint32_t val) "page flush %x"
193 97bf4851 Blue Swirl
disable sun4m_iommu_page_get_flags(uint64_t pa, uint64_t iopte, uint32_t ret) "get flags addr %"PRIx64" => pte %"PRIx64", *pte = %x"
194 97bf4851 Blue Swirl
disable sun4m_iommu_translate_pa(uint64_t addr, uint64_t pa, uint32_t iopte) "xlate dva %"PRIx64" => pa %"PRIx64" iopte = %x"
195 97bf4851 Blue Swirl
disable sun4m_iommu_bad_addr(uint64_t addr) "bad addr %"PRIx64""
196 94b0b5ff Stefan Hajnoczi
197 439a97cc Gerd Hoffmann
# hw/usb-ehci.c
198 439a97cc Gerd Hoffmann
disable usb_ehci_reset(void) "=== RESET ==="
199 439a97cc Gerd Hoffmann
disable usb_ehci_mmio_readl(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
200 439a97cc Gerd Hoffmann
disable usb_ehci_mmio_writel(uint32_t addr, const char *str, uint32_t val, uint32_t oldval) "wr mmio %04x [%s] = %x (old: %x)"
201 439a97cc Gerd Hoffmann
disable usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
202 26d53979 Gerd Hoffmann
disable usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"
203 26d53979 Gerd Hoffmann
disable usb_ehci_qh(uint32_t addr, uint32_t next, uint32_t c_qtd, uint32_t n_qtd, uint32_t a_qtd, int rl, int mplen, int eps, int ep, int devaddr, int c, int h, int dtc, int i) "QH @ %08x: next %08x qtds %08x,%08x,%08x - rl %d, mplen %d, eps %d, ep %d, dev %d, c %d, h %d, dtc %d, i %d"
204 26d53979 Gerd Hoffmann
disable usb_ehci_qtd(uint32_t addr, uint32_t next, uint32_t altnext, int tbytes, int cpage, int cerr, int pid, int ioc, int active, int halt, int babble, int xacterr) "QH @ %08x: next %08x altnext %08x - tbytes %d, cpage %d, cerr %d, pid %d, ioc %d, active %d, halt %d, babble %d, xacterr %d"
205 26d53979 Gerd Hoffmann
disable usb_ehci_itd(uint32_t addr, uint32_t next) "ITD @ %08x: next %08x"
206 439a97cc Gerd Hoffmann
207 37fb59d3 Gerd Hoffmann
# hw/usb-desc.c
208 37fb59d3 Gerd Hoffmann
disable usb_desc_device(int addr, int len, int ret) "dev %d query device, len %d, ret %d"
209 25620cba Gerd Hoffmann
disable usb_desc_device_qualifier(int addr, int len, int ret) "dev %d query device qualifier, len %d, ret %d"
210 37fb59d3 Gerd Hoffmann
disable usb_desc_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
211 25620cba Gerd Hoffmann
disable usb_desc_other_speed_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
212 37fb59d3 Gerd Hoffmann
disable usb_desc_string(int addr, int index, int len, int ret) "dev %d query string %d, len %d, ret %d"
213 41c6abbd Gerd Hoffmann
disable usb_set_addr(int addr) "dev %d"
214 a980a065 Gerd Hoffmann
disable usb_set_config(int addr, int config, int ret) "dev %d, config %d, ret %d"
215 ed5a83dd Gerd Hoffmann
disable usb_clear_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
216 ed5a83dd Gerd Hoffmann
disable usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
217 37fb59d3 Gerd Hoffmann
218 5138efec Paolo Bonzini
# hw/scsi-bus.c
219 5138efec Paolo Bonzini
disable scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"
220 ab9adc88 Paolo Bonzini
disable scsi_req_data(int target, int lun, int tag, int len) "target %d lun %d tag %d len %d"
221 5138efec Paolo Bonzini
disable scsi_req_dequeue(int target, int lun, int tag) "target %d lun %d tag %d"
222 ad3376cc Paolo Bonzini
disable scsi_req_continue(int target, int lun, int tag) "target %d lun %d tag %d"
223 d800040f Paolo Bonzini
disable 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"
224 d800040f Paolo Bonzini
disable 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""
225 5138efec Paolo Bonzini
disable scsi_req_parse_bad(int target, int lun, int tag, int cmd) "target %d lun %d tag %d command %d"
226 5138efec Paolo Bonzini
227 94b0b5ff Stefan Hajnoczi
# vl.c
228 94b0b5ff Stefan Hajnoczi
disable vm_state_notify(int running, int reason) "running %d reason %d"
229 298800ca Stefan Hajnoczi
230 298800ca Stefan Hajnoczi
# block/qed-l2-cache.c
231 298800ca Stefan Hajnoczi
disable qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p"
232 298800ca Stefan Hajnoczi
disable qed_unref_l2_cache_entry(void *entry, int ref) "entry %p ref %d"
233 298800ca Stefan Hajnoczi
disable qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %p offset %"PRIu64" ref %d"
234 298800ca Stefan Hajnoczi
235 298800ca Stefan Hajnoczi
# block/qed-table.c
236 298800ca Stefan Hajnoczi
disable qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p"
237 298800ca Stefan Hajnoczi
disable qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d"
238 298800ca Stefan Hajnoczi
disable 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"
239 298800ca Stefan Hajnoczi
disable qed_write_table_cb(void *s, void *table, int flush, int ret) "s %p table %p flush %d ret %d"
240 eabba580 Stefan Hajnoczi
241 eabba580 Stefan Hajnoczi
# block/qed.c
242 6f321e93 Stefan Hajnoczi
disable qed_need_check_timer_cb(void *s) "s %p"
243 6f321e93 Stefan Hajnoczi
disable qed_start_need_check_timer(void *s) "s %p"
244 6f321e93 Stefan Hajnoczi
disable qed_cancel_need_check_timer(void *s) "s %p"
245 eabba580 Stefan Hajnoczi
disable qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d"
246 eabba580 Stefan Hajnoczi
disable qed_aio_setup(void *s, void *acb, int64_t sector_num, int nb_sectors, void *opaque, int is_write) "s %p acb %p sector_num %"PRId64" nb_sectors %d opaque %p is_write %d"
247 eabba580 Stefan Hajnoczi
disable qed_aio_next_io(void *s, void *acb, int ret, uint64_t cur_pos) "s %p acb %p ret %d cur_pos %"PRIu64""
248 eabba580 Stefan Hajnoczi
disable 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"
249 eabba580 Stefan Hajnoczi
disable 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"
250 eabba580 Stefan Hajnoczi
disable 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""
251 eabba580 Stefan Hajnoczi
disable 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""
252 eabba580 Stefan Hajnoczi
disable 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"
253 0f3a4a01 Fabien Chouteau
254 0f3a4a01 Fabien Chouteau
# hw/grlib_gptimer.c
255 0f3a4a01 Fabien Chouteau
disable grlib_gptimer_enable(int id, uint32_t count) "timer:%d set count 0x%x and run"
256 0f3a4a01 Fabien Chouteau
disable grlib_gptimer_disabled(int id, uint32_t config) "timer:%d Timer disable config 0x%x"
257 0f3a4a01 Fabien Chouteau
disable grlib_gptimer_restart(int id, uint32_t reload) "timer:%d reload val: 0x%x"
258 0f3a4a01 Fabien Chouteau
disable grlib_gptimer_set_scaler(uint32_t scaler, uint32_t freq) "scaler:0x%x freq: 0x%x"
259 0f3a4a01 Fabien Chouteau
disable grlib_gptimer_hit(int id) "timer:%d HIT"
260 b4548fcc Stefan Hajnoczi
disable grlib_gptimer_readl(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
261 b4548fcc Stefan Hajnoczi
disable grlib_gptimer_writel(int id, uint64_t addr, uint32_t val) "timer:%d addr 0x%"PRIx64" 0x%x"
262 3f10bcbb Fabien Chouteau
263 3f10bcbb Fabien Chouteau
# hw/grlib_irqmp.c
264 3f10bcbb Fabien Chouteau
disable 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\n"
265 3f10bcbb Fabien Chouteau
disable grlib_irqmp_ack(int intno) "interrupt:%d"
266 3f10bcbb Fabien Chouteau
disable grlib_irqmp_set_irq(int irq) "Raise CPU IRQ %d"
267 b4548fcc Stefan Hajnoczi
disable grlib_irqmp_readl_unknown(uint64_t addr) "addr 0x%"PRIx64""
268 b4548fcc Stefan Hajnoczi
disable grlib_irqmp_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
269 8b1e1320 Fabien Chouteau
270 8b1e1320 Fabien Chouteau
# hw/grlib_apbuart.c
271 8b1e1320 Fabien Chouteau
disable grlib_apbuart_event(int event) "event:%d"
272 b4548fcc Stefan Hajnoczi
disable grlib_apbuart_writel_unknown(uint64_t addr, uint32_t value) "addr 0x%"PRIx64" value 0x%x"
273 b04d9890 Fabien Chouteau
274 b04d9890 Fabien Chouteau
# hw/leon3.c
275 b04d9890 Fabien Chouteau
disable leon3_set_irq(int intno) "Set CPU IRQ %d"
276 b04d9890 Fabien Chouteau
disable leon3_reset_irq(int intno) "Reset CPU IRQ %d"
277 9363ee31 Anthony Liguori
278 cbcc6336 Alon Levy
# spice-qemu-char.c
279 2b287af6 Lluís
disable spice_vmc_write(ssize_t out, int len) "spice wrottn %zd of requested %d"
280 2b287af6 Lluís
disable spice_vmc_read(int bytes, int len) "spice read %d of requested %d"
281 cbcc6336 Alon Levy
disable spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
282 cbcc6336 Alon Levy
disable spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
283 4ef66fa7 Michael Walle
284 4ef66fa7 Michael Walle
# hw/lm32_pic.c
285 4ef66fa7 Michael Walle
disable lm32_pic_raise_irq(void) "Raise CPU interrupt"
286 4ef66fa7 Michael Walle
disable lm32_pic_lower_irq(void) "Lower CPU interrupt"
287 4ef66fa7 Michael Walle
disable lm32_pic_interrupt(int irq, int level) "Set IRQ%d %d"
288 4ef66fa7 Michael Walle
disable lm32_pic_set_im(uint32_t im) "im 0x%08x"
289 4ef66fa7 Michael Walle
disable lm32_pic_set_ip(uint32_t ip) "ip 0x%08x"
290 4ef66fa7 Michael Walle
disable lm32_pic_get_im(uint32_t im) "im 0x%08x"
291 4ef66fa7 Michael Walle
disable lm32_pic_get_ip(uint32_t ip) "ip 0x%08x"
292 15d7dc4f Michael Walle
293 15d7dc4f Michael Walle
# hw/lm32_juart.c
294 15d7dc4f Michael Walle
disable lm32_juart_get_jtx(uint32_t value) "jtx 0x%08x"
295 15d7dc4f Michael Walle
disable lm32_juart_set_jtx(uint32_t value) "jtx 0x%08x"
296 15d7dc4f Michael Walle
disable lm32_juart_get_jrx(uint32_t value) "jrx 0x%08x"
297 15d7dc4f Michael Walle
disable lm32_juart_set_jrx(uint32_t value) "jrx 0x%08x"
298 ea7924dc Michael Walle
299 ea7924dc Michael Walle
# hw/lm32_timer.c
300 ea7924dc Michael Walle
disable lm32_timer_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
301 ea7924dc Michael Walle
disable lm32_timer_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
302 ea7924dc Michael Walle
disable lm32_timer_hit(void) "timer hit"
303 ea7924dc Michael Walle
disable lm32_timer_irq_state(int level) "irq state %d"
304 770ae571 Michael Walle
305 770ae571 Michael Walle
# hw/lm32_uart.c
306 770ae571 Michael Walle
disable lm32_uart_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
307 770ae571 Michael Walle
disable lm32_uart_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
308 770ae571 Michael Walle
disable lm32_uart_irq_state(int level) "irq state %d"
309 f19410ca Michael Walle
310 f19410ca Michael Walle
# hw/lm32_sys.c
311 f19410ca Michael Walle
disable lm32_sys_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
312 25a8bb96 Michael Walle
313 25a8bb96 Michael Walle
# hw/milkymist-ac97.c
314 25a8bb96 Michael Walle
disable milkymist_ac97_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
315 25a8bb96 Michael Walle
disable milkymist_ac97_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
316 25a8bb96 Michael Walle
disable milkymist_ac97_pulse_irq_crrequest(void) "Pulse IRQ CR request"
317 25a8bb96 Michael Walle
disable milkymist_ac97_pulse_irq_crreply(void) "Pulse IRQ CR reply"
318 25a8bb96 Michael Walle
disable milkymist_ac97_pulse_irq_dmaw(void) "Pulse IRQ DMA write"
319 25a8bb96 Michael Walle
disable milkymist_ac97_pulse_irq_dmar(void) "Pulse IRQ DMA read"
320 25a8bb96 Michael Walle
disable milkymist_ac97_in_cb(int avail, uint32_t remaining) "avail %d remaining %u"
321 25a8bb96 Michael Walle
disable milkymist_ac97_in_cb_transferred(int transferred) "transferred %d"
322 25a8bb96 Michael Walle
disable milkymist_ac97_out_cb(int free, uint32_t remaining) "free %d remaining %u"
323 25a8bb96 Michael Walle
disable milkymist_ac97_out_cb_transferred(int transferred) "transferred %d"
324 e4dc6d2c Michael Walle
325 e4dc6d2c Michael Walle
# hw/milkymist-hpdmc.c
326 b4e37d98 Michael Walle
disable milkymist_hpdmc_memory_read(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
327 b4e37d98 Michael Walle
disable milkymist_hpdmc_memory_write(uint32_t addr, uint32_t value) "addr=%08x value=%08x"
328 b4e37d98 Michael Walle
329 b4e37d98 Michael Walle
# hw/milkymist-memcard.c
330 b4e37d98 Michael Walle
disable milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
331 b4e37d98 Michael Walle
disable milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
332 07424544 Michael Walle
333 57aa265d Michael Walle
# hw/milkymist-minimac2.c
334 57aa265d Michael Walle
disable milkymist_minimac2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
335 57aa265d Michael Walle
disable milkymist_minimac2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
336 57aa265d Michael Walle
disable milkymist_minimac2_mdio_write(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
337 57aa265d Michael Walle
disable milkymist_minimac2_mdio_read(uint8_t phy_addr, uint8_t addr, uint16_t value) "phy_addr %02x addr %02x value %04x"
338 57aa265d Michael Walle
disable milkymist_minimac2_tx_frame(uint32_t length) "length %u"
339 57aa265d Michael Walle
disable milkymist_minimac2_rx_frame(const void *buf, uint32_t length) "buf %p length %u"
340 57aa265d Michael Walle
disable milkymist_minimac2_drop_rx_frame(const void *buf) "buf %p"
341 57aa265d Michael Walle
disable milkymist_minimac2_rx_transfer(const void *buf, uint32_t length) "buf %p length %d"
342 57aa265d Michael Walle
disable milkymist_minimac2_raise_irq_rx(void) "Raise IRQ RX"
343 57aa265d Michael Walle
disable milkymist_minimac2_lower_irq_rx(void) "Lower IRQ RX"
344 57aa265d Michael Walle
disable milkymist_minimac2_pulse_irq_tx(void) "Pulse IRQ TX"
345 5ee18b9c Michael Walle
346 5ee18b9c Michael Walle
# hw/milkymist-pfpu.c
347 5ee18b9c Michael Walle
disable milkymist_pfpu_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
348 5ee18b9c Michael Walle
disable milkymist_pfpu_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
349 5ee18b9c Michael Walle
disable milkymist_pfpu_vectout(uint32_t a, uint32_t b, uint32_t dma_ptr) "a %08x b %08x dma_ptr %08x"
350 5ee18b9c Michael Walle
disable milkymist_pfpu_pulse_irq(void) "Pulse IRQ"
351 87a381ec Michael Walle
352 87a381ec Michael Walle
# hw/milkymist-softusb.c
353 87a381ec Michael Walle
disable milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
354 87a381ec Michael Walle
disable milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
355 87a381ec Michael Walle
disable milkymist_softusb_mevt(uint8_t m) "m %d"
356 87a381ec Michael Walle
disable milkymist_softusb_kevt(uint8_t m) "m %d"
357 87a381ec Michael Walle
disable milkymist_softusb_mouse_event(int dx, int dy, int dz, int bs) "dx %d dy %d dz %d bs %02x"
358 87a381ec Michael Walle
disable milkymist_softusb_pulse_irq(void) "Pulse IRQ"
359 96832424 Michael Walle
360 96832424 Michael Walle
# hw/milkymist-sysctl.c
361 96832424 Michael Walle
disable milkymist_sysctl_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
362 96832424 Michael Walle
disable milkymist_sysctl_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
363 96832424 Michael Walle
disable milkymist_sysctl_icap_write(uint32_t value) "value %08x"
364 96832424 Michael Walle
disable milkymist_sysctl_start_timer0(void) "Start timer0"
365 96832424 Michael Walle
disable milkymist_sysctl_stop_timer0(void) "Stop timer0"
366 96832424 Michael Walle
disable milkymist_sysctl_start_timer1(void) "Start timer1"
367 96832424 Michael Walle
disable milkymist_sysctl_stop_timer1(void) "Stop timer1"
368 96832424 Michael Walle
disable milkymist_sysctl_pulse_irq_timer0(void) "Pulse IRQ Timer0"
369 96832424 Michael Walle
disable milkymist_sysctl_pulse_irq_timer1(void) "Pulse IRQ Timer1"
370 0670dadd Michael Walle
371 0670dadd Michael Walle
# hw/milkymist-tmu2.c
372 0670dadd Michael Walle
disable milkymist_tmu2_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
373 0670dadd Michael Walle
disable milkymist_tmu2_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
374 0670dadd Michael Walle
disable milkymist_tmu2_start(void) "Start TMU"
375 0670dadd Michael Walle
disable milkymist_tmu2_pulse_irq(void) "Pulse IRQ"
376 883de16b Michael Walle
377 883de16b Michael Walle
# hw/milkymist-uart.c
378 883de16b Michael Walle
disable milkymist_uart_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
379 883de16b Michael Walle
disable milkymist_uart_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
380 883de16b Michael Walle
disable milkymist_uart_pulse_irq_rx(void) "Pulse IRQ RX"
381 883de16b Michael Walle
disable milkymist_uart_pulse_irq_tx(void) "Pulse IRQ TX"
382 d23948b1 Michael Walle
383 d23948b1 Michael Walle
# hw/milkymist-vgafb.c
384 d23948b1 Michael Walle
disable milkymist_vgafb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
385 d23948b1 Michael Walle
disable milkymist_vgafb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
386 432d268c Jun Nakajima
387 432d268c Jun Nakajima
# xen-all.c
388 432d268c Jun Nakajima
disable xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: %#lx, size %#lx"
389 432d268c Jun Nakajima
390 432d268c Jun Nakajima
# xen-mapcache.c
391 432d268c Jun Nakajima
disable qemu_map_cache(uint64_t phys_addr) "want %#"PRIx64""
392 432d268c Jun Nakajima
disable qemu_remap_bucket(uint64_t index) "index %#"PRIx64""
393 432d268c Jun Nakajima
disable qemu_map_cache_return(void* ptr) "%p"
394 432d268c Jun Nakajima
disable xen_map_block(uint64_t phys_addr, uint64_t size) "%#"PRIx64", size %#"PRIx64""
395 432d268c Jun Nakajima
disable xen_unmap_block(void* addr, unsigned long size) "%p, size %#lx"
396 050a0ddf Anthony PERARD
397 050a0ddf Anthony PERARD
# exec.c
398 050a0ddf Anthony PERARD
disable qemu_put_ram_ptr(void* addr) "%p"