xref: /openbmc/qemu/trace-events (revision 810134507699ef2fd6e9185473d103889b58597e)
1# Trace events for debugging and performance instrumentation
2#
3# This file is processed by the tracetool script during the build.
4#
5# To add a new trace event:
6#
7# 1. Choose a name for the trace event.  Declare its arguments and format
8#    string.
9#
10# 2. Call the trace event from code using trace_##name, e.g. multiwrite_cb() ->
11#    trace_multiwrite_cb().  The source file must #include "trace.h".
12#
13# Format of a trace event:
14#
15# [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>"
16#
17# Example: g_malloc(size_t size) "size %zu"
18#
19# The "disable" keyword will build without the trace event.
20#
21# The <name> must be a valid as a C function name.
22#
23# Types should be standard C types.  Use void * for pointers because the trace
24# system may not have the necessary headers included.
25#
26# The <format-string> should be a sprintf()-compatible format string.
27
28# thread-pool.c
29thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
30thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
31thread_pool_cancel(void *req, void *opaque) "req %p opaque %p"
32
33# ioport.c
34cpu_in(unsigned int addr, char size, unsigned int val) "addr %#x(%c) value %u"
35cpu_out(unsigned int addr, char size, unsigned int val) "addr %#x(%c) value %u"
36
37# balloon.c
38# Since requests are raised via monitor, not many tracepoints are needed.
39balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
40virtio_balloon_handle_output(const char *name, uint64_t gpa) "section name: %s gpa: %"PRIx64
41virtio_balloon_get_config(uint32_t num_pages, uint32_t actual) "num_pages: %d actual: %d"
42virtio_balloon_set_config(uint32_t actual, uint32_t oldactual) "actual: %d oldactual: %d"
43virtio_balloon_to_target(uint64_t target, uint32_t num_pages) "balloon target: %"PRIx64" num_pages: %d"
44
45# hw/sparc/sun4m.c
46sun4m_cpu_interrupt(unsigned int level) "Set CPU IRQ %d"
47sun4m_cpu_reset_interrupt(unsigned int level) "Reset CPU IRQ %d"
48sun4m_cpu_set_irq_raise(int level) "Raise CPU IRQ %d"
49sun4m_cpu_set_irq_lower(int level) "Lower CPU IRQ %d"
50
51# vl.c
52vm_state_notify(int running, int reason) "running %d reason %d"
53load_file(const char *name, const char *path) "name %s location %s"
54runstate_set(int new_state) "new state %d"
55system_wakeup_request(int reason) "reason=%d"
56qemu_system_shutdown_request(void) ""
57qemu_system_powerdown_request(void) ""
58
59# hw/sparc/leon3.c
60leon3_set_irq(int intno) "Set CPU IRQ %d"
61leon3_reset_irq(int intno) "Reset CPU IRQ %d"
62
63# spice-qemu-char.c
64spice_vmc_write(ssize_t out, int len) "spice wrottn %zd of requested %d"
65spice_vmc_read(int bytes, int len) "spice read %d of requested %d"
66spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
67spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
68spice_vmc_event(int event) "spice vmc event %d"
69
70# hw/sd/milkymist-memcard.c
71milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
72milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
73
74# hw/isa/pc87312.c
75pc87312_io_read(uint32_t addr, uint32_t val) "read addr=%x val=%x"
76pc87312_io_write(uint32_t addr, uint32_t val) "write addr=%x val=%x"
77pc87312_info_floppy(uint32_t base) "base 0x%x"
78pc87312_info_ide(uint32_t base) "base 0x%x"
79pc87312_info_parallel(uint32_t base, uint32_t irq) "base 0x%x, irq %u"
80pc87312_info_serial(int n, uint32_t base, uint32_t irq) "id=%d, base 0x%x, irq %u"
81
82# xen-hvm.c
83xen_ram_alloc(unsigned long ram_addr, unsigned long size) "requested: %#lx, size %#lx"
84xen_client_set_memory(uint64_t start_addr, unsigned long size, bool log_dirty) "%#"PRIx64" size %#lx, log_dirty %i"
85xen_ioreq_server_create(uint32_t id) "id: %u"
86xen_ioreq_server_destroy(uint32_t id) "id: %u"
87xen_ioreq_server_state(uint32_t id, bool enable) "id: %u: enable: %i"
88xen_map_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: %#"PRIx64" end: %#"PRIx64
89xen_unmap_mmio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: %#"PRIx64" end: %#"PRIx64
90xen_map_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: %#"PRIx64" end: %#"PRIx64
91xen_unmap_portio_range(uint32_t id, uint64_t start_addr, uint64_t end_addr) "id: %u start: %#"PRIx64" end: %#"PRIx64
92xen_map_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
93xen_unmap_pcidev(uint32_t id, uint8_t bus, uint8_t dev, uint8_t func) "id: %u bdf: %02x.%02x.%02x"
94handle_ioreq(void *req, uint32_t type, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p type=%d dir=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
95handle_ioreq_read(void *req, uint32_t type, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p read type=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
96handle_ioreq_write(void *req, uint32_t type, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p write type=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
97cpu_ioreq_pio(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p pio dir=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
98cpu_ioreq_pio_read_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio read reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
99cpu_ioreq_pio_write_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio write reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
100cpu_ioreq_move(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p copy dir=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
101
102# xen-mapcache.c
103xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
104xen_remap_bucket(uint64_t index) "index %#"PRIx64
105xen_map_cache_return(void* ptr) "%p"
106
107# hw/i386/xen/xen_platform.c
108xen_platform_log(char *s) "xen platform: %s"
109
110# qemu-coroutine.c
111qemu_coroutine_enter(void *from, void *to, void *opaque) "from %p to %p opaque %p"
112qemu_coroutine_yield(void *from, void *to) "from %p to %p"
113qemu_coroutine_terminate(void *co) "self %p"
114
115# qemu-coroutine-lock.c
116qemu_co_queue_run_restart(void *co) "co %p"
117qemu_co_queue_next(void *nxt) "next %p"
118qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
119qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
120qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
121qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
122
123# monitor.c
124handle_qmp_command(void *mon, const char *cmd_name) "mon %p cmd_name \"%s\""
125monitor_protocol_emitter(void *mon) "mon %p"
126monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p"
127monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
128monitor_protocol_event_queue(uint32_t event, void *qdict, uint64_t rate) "event=%d data=%p rate=%" PRId64
129monitor_protocol_event_throttle(uint32_t event, uint64_t rate) "event=%d rate=%" PRId64
130
131# hw/9pfs/virtio-9p.c
132v9fs_rerror(uint16_t tag, uint8_t id, int err) "tag %d id %d err %d"
133v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
134v9fs_version_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %s"
135v9fs_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"
136v9fs_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
137v9fs_stat(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
138v9fs_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"}"
139v9fs_getattr(uint16_t tag, uint8_t id, int32_t fid, uint64_t request_mask) "tag %d id %d fid %d request_mask %"PRIu64
140v9fs_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}"
141v9fs_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"
142v9fs_walk_return(uint16_t tag, uint8_t id, uint16_t nwnames, void* qids) "tag %d id %d nwnames %d qids %p"
143v9fs_open(uint16_t tag, uint8_t id, int32_t fid, int32_t mode) "tag %d id %d fid %d mode %d"
144v9fs_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"
145v9fs_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"
146v9fs_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"
147v9fs_fsync(uint16_t tag, uint8_t id, int32_t fid, int datasync) "tag %d id %d fid %d datasync %d"
148v9fs_clunk(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
149v9fs_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"
150v9fs_read_return(uint16_t tag, uint8_t id, int32_t count, ssize_t err) "tag %d id %d count %d err %zd"
151v9fs_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"
152v9fs_readdir_return(uint16_t tag, uint8_t id, uint32_t count, ssize_t retval) "tag %d id %d count %u retval %zd"
153v9fs_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"
154v9fs_write_return(uint16_t tag, uint8_t id, int32_t total, ssize_t err) "tag %d id %d total %d err %zd"
155v9fs_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"
156v9fs_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"
157v9fs_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"
158v9fs_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"}"
159v9fs_flush(uint16_t tag, uint8_t id, int16_t flush_tag) "tag %d id %d flush_tag %d"
160v9fs_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"
161v9fs_remove(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
162v9fs_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}"
163v9fs_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"
164v9fs_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"}"
165v9fs_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
166v9fs_lock_return(uint16_t tag, uint8_t id, int8_t status) "tag %d id %d status %d"
167v9fs_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
168v9fs_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"
169v9fs_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"
170v9fs_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"
171v9fs_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"
172v9fs_xattrwalk_return(uint16_t tag, uint8_t id, int64_t size) "tag %d id %d size %"PRId64
173v9fs_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"
174v9fs_readlink(uint16_t tag, uint8_t id, int32_t fid) "tag %d id %d fid %d"
175v9fs_readlink_return(uint16_t tag, uint8_t id, char* target) "tag %d id %d name %s"
176
177# target-sparc/mmu_helper.c
178mmu_helper_dfault(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DFAULT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
179mmu_helper_dprot(uint64_t address, uint64_t context, int mmu_idx, uint32_t tl) "DPROT at %"PRIx64" context %"PRIx64" mmu_idx=%d tl=%d"
180mmu_helper_dmiss(uint64_t address, uint64_t context) "DMISS at %"PRIx64" context %"PRIx64
181mmu_helper_tfault(uint64_t address, uint64_t context) "TFAULT at %"PRIx64" context %"PRIx64
182mmu_helper_tmiss(uint64_t address, uint64_t context) "TMISS at %"PRIx64" context %"PRIx64
183mmu_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
184mmu_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
185mmu_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
186
187# target-sparc/int64_helper.c
188int_helper_set_softint(uint32_t softint) "new %08x"
189int_helper_clear_softint(uint32_t softint) "new %08x"
190int_helper_write_softint(uint32_t softint) "new %08x"
191
192# target-sparc/int32_helper.c
193int_helper_icache_freeze(void) "Instruction cache: freeze"
194int_helper_dcache_freeze(void) "Data cache: freeze"
195
196# target-sparc/win_helper.c
197win_helper_gregset_error(uint32_t pstate) "ERROR in get_gregset: active pstate bits=%x"
198win_helper_switch_pstate(uint32_t pstate_regs, uint32_t new_pstate_regs) "change_pstate: switching regs old=%x new=%x"
199win_helper_no_switch_pstate(uint32_t new_pstate_regs) "change_pstate: regs new=%x (unchanged)"
200win_helper_wrpil(uint32_t psrpil, uint32_t new_pil) "old=%x new=%x"
201win_helper_done(uint32_t tl) "tl=%d"
202win_helper_retry(uint32_t tl) "tl=%d"
203
204# dma-helpers.c
205dma_blk_io(void *dbs, void *bs, int64_t offset, bool to_dev) "dbs=%p bs=%p offset=%" PRId64 " to_dev=%d"
206dma_aio_cancel(void *dbs) "dbs=%p"
207dma_complete(void *dbs, int ret, void *cb) "dbs=%p ret=%d cb=%p"
208dma_blk_cb(void *dbs, int ret) "dbs=%p ret=%d"
209dma_map_wait(void *dbs) "dbs=%p"
210
211# ui/console.c
212console_gfx_new(void) ""
213console_putchar_csi(int esc_param0, int esc_param1, int ch, int nb_esc_params) "escape sequence CSI%d;%d%c, %d parameters"
214console_putchar_unhandled(int ch) "unhandled escape character '%c'"
215console_txt_new(int w, int h) "%dx%d"
216console_select(int nr) "%d"
217console_refresh(int interval) "interval %d ms"
218displaysurface_create(void *display_surface, int w, int h) "surface=%p, %dx%d"
219displaysurface_create_from(void *display_surface, int w, int h, uint32_t format) "surface=%p, %dx%d, format 0x%x"
220displaysurface_create_pixman(void *display_surface) "surface=%p"
221displaysurface_free(void *display_surface) "surface=%p"
222displaychangelistener_register(void *dcl, const char *name) "%p [ %s ]"
223displaychangelistener_unregister(void *dcl, const char *name) "%p [ %s ]"
224ppm_save(const char *filename, void *display_surface) "%s surface=%p"
225
226# ui/gtk.c
227gd_switch(const char *tab, int width, int height) "tab=%s, width=%d, height=%d"
228gd_update(const char *tab, int x, int y, int w, int h) "tab=%s, x=%d, y=%d, w=%d, h=%d"
229gd_key_event(const char *tab, int gdk_keycode, int qemu_keycode, const char *action) "tab=%s, translated GDK keycode %d to QEMU keycode %d (%s)"
230gd_grab(const char *tab, const char *device, const char *reason) "tab=%s, dev=%s, reason=%s"
231gd_ungrab(const char *tab, const char *device) "tab=%s, dev=%s"
232
233# ui/vnc.c
234vnc_key_guest_leds(bool caps, bool num, bool scroll) "caps %d, num %d, scroll %d"
235vnc_key_map_init(const char *layout) "%s"
236vnc_key_event_ext(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x, keycode 0x%x [%s]"
237vnc_key_event_map(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x -> keycode 0x%x [%s]"
238vnc_key_sync_numlock(bool on) "%d"
239vnc_key_sync_capslock(bool on) "%d"
240
241# ui/input.c
242input_event_key_number(int conidx, int number, const char *qcode, bool down) "con %d, key number 0x%x [%s], down %d"
243input_event_key_qcode(int conidx, const char *qcode, bool down) "con %d, key qcode %s, down %d"
244input_event_btn(int conidx, const char *btn, bool down) "con %d, button %s, down %d"
245input_event_rel(int conidx, const char *axis, int value) "con %d, axis %s, value %d"
246input_event_abs(int conidx, const char *axis, int value) "con %d, axis %s, value 0x%x"
247input_event_sync(void) ""
248input_mouse_mode(int absolute) "absolute %d"
249
250# ui/spice-display.c
251qemu_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"
252qemu_spice_del_memslot(int qid, uint32_t gid, uint32_t slot_id) "%d gid=%u sid=%u"
253qemu_spice_create_primary_surface(int qid, uint32_t sid, void *surface, int async) "%d sid=%u surface=%p async=%d"
254qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async) "%d sid=%u async=%d"
255qemu_spice_wakeup(uint32_t qid) "%d"
256qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "lr %d -> %d,  tb -> %d -> %d"
257
258# hw/ppc/spapr_pci.c
259spapr_pci_msi(const char *msg, uint32_t ca) "%s (cfg=%x)"
260spapr_pci_msi_setup(const char *name, unsigned vector, uint64_t addr) "dev\"%s\" vector %u, addr=%"PRIx64
261spapr_pci_rtas_ibm_change_msi(unsigned cfg, unsigned func, unsigned req, unsigned first) "cfgaddr %x func %u, requested %u, first irq %u"
262spapr_pci_rtas_ibm_query_interrupt_source_number(unsigned ioa, unsigned intr) "queries for #%u, IRQ%u"
263spapr_pci_msi_write(uint64_t addr, uint64_t data, uint32_t dt_irq) "@%"PRIx64"<=%"PRIx64" IRQ %u"
264spapr_pci_lsi_set(const char *busname, int pin, uint32_t irq) "%s PIN%d IRQ %u"
265spapr_pci_msi_retry(unsigned config_addr, unsigned req_num, unsigned max_irqs) "Guest device at %x asked %u, have only %u"
266
267# hw/pci/pci.c
268pci_update_mappings_del(void *d, uint32_t bus, uint32_t slot, uint32_t func, int bar, uint64_t addr, uint64_t size) "d=%p %02x:%02x.%x %d,%#"PRIx64"+%#"PRIx64
269pci_update_mappings_add(void *d, uint32_t bus, uint32_t slot, uint32_t func, int bar, uint64_t addr, uint64_t size) "d=%p %02x:%02x.%x %d,%#"PRIx64"+%#"PRIx64
270
271# hw/ppc/spapr.c
272spapr_cas_failed(unsigned long n) "DT diff buffer is too small: %ld bytes"
273spapr_cas_continue(unsigned long n) "Copy changes to the guest: %ld bytes"
274
275# hw/ppc/spapr_hcall.c
276spapr_cas_pvr_try(uint32_t pvr) "%x"
277spapr_cas_pvr(uint32_t cur_pvr, bool cpu_match, uint32_t new_pvr, uint64_t pcr) "current=%x, cpu_match=%u, new=%x, compat flags=%"PRIx64
278
279# hw/ppc/spapr_iommu.c
280spapr_iommu_put(uint64_t liobn, uint64_t ioba, uint64_t tce, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tce=0x%"PRIx64" ret=%"PRId64
281spapr_iommu_get(uint64_t liobn, uint64_t ioba, uint64_t ret, uint64_t tce) "liobn=%"PRIx64" ioba=0x%"PRIx64" ret=%"PRId64" tce=0x%"PRIx64
282spapr_iommu_indirect(uint64_t liobn, uint64_t ioba, uint64_t tce, uint64_t iobaN, uint64_t tceN, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tcelist=0x%"PRIx64" iobaN=0x%"PRIx64" tceN=0x%"PRIx64" ret=%"PRId64
283spapr_iommu_stuff(uint64_t liobn, uint64_t ioba, uint64_t tce_value, uint64_t npages, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tcevalue=0x%"PRIx64" npages=%"PRId64" ret=%"PRId64
284spapr_iommu_pci_put(uint64_t liobn, uint64_t ioba, uint64_t tce, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tce=0x%"PRIx64" ret=%"PRId64
285spapr_iommu_pci_get(uint64_t liobn, uint64_t ioba, uint64_t ret, uint64_t tce) "liobn=%"PRIx64" ioba=0x%"PRIx64" ret=%"PRId64" tce=0x%"PRIx64
286spapr_iommu_pci_indirect(uint64_t liobn, uint64_t ioba, uint64_t tce, uint64_t iobaN, uint64_t tceN, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tcelist=0x%"PRIx64" iobaN=0x%"PRIx64" tceN=0x%"PRIx64" ret=%"PRId64
287spapr_iommu_pci_stuff(uint64_t liobn, uint64_t ioba, uint64_t tce_value, uint64_t npages, uint64_t ret) "liobn=%"PRIx64" ioba=0x%"PRIx64" tcevalue=0x%"PRIx64" npages=%"PRId64" ret=%"PRId64
288spapr_iommu_xlate(uint64_t liobn, uint64_t ioba, uint64_t tce, unsigned perm, unsigned pgsize) "liobn=%"PRIx64" 0x%"PRIx64" -> 0x%"PRIx64" perm=%u mask=%x"
289spapr_iommu_new_table(uint64_t liobn, void *table, int fd) "liobn=%"PRIx64" table=%p fd=%d"
290spapr_iommu_pre_save(uint64_t liobn, uint32_t nb, uint64_t offs, uint32_t ps) "liobn=%"PRIx64" %"PRIx32" bus_offset=%"PRIx64" ps=%"PRIu32
291spapr_iommu_post_load(uint64_t liobn, uint32_t pre_nb, uint32_t post_nb, uint64_t offs, uint32_t ps) "liobn=%"PRIx64" %"PRIx32" => %"PRIx32" bus_offset=%"PRIx64" ps=%"PRIu32
292
293# hw/ppc/ppc.c
294ppc_tb_adjust(uint64_t offs1, uint64_t offs2, int64_t diff, int64_t seconds) "adjusted from 0x%"PRIx64" to 0x%"PRIx64", diff %"PRId64" (%"PRId64"s)"
295
296# hw/ppc/prep.c
297prep_io_800_writeb(uint32_t addr, uint32_t val) "0x%08" PRIx32 " => 0x%02" PRIx32
298prep_io_800_readb(uint32_t addr, uint32_t retval) "0x%08" PRIx32 " <= 0x%02" PRIx32
299
300# target-s390x/mmu_helper.c
301get_skeys_nonzero(int rc) "SKEY: Call to get_skeys unexpectedly returned %d"
302set_skeys_nonzero(int rc) "SKEY: Call to set_skeys unexpectedly returned %d"
303
304# target-s390x/ioinst.c
305ioinst(const char *insn) "IOINST: %s"
306ioinst_sch_id(const char *insn, int cssid, int ssid, int schid) "IOINST: %s (%x.%x.%04x)"
307ioinst_chp_id(const char *insn, int cssid, int chpid) "IOINST: %s (%x.%02x)"
308ioinst_chsc_cmd(uint16_t cmd, uint16_t len) "IOINST: chsc command %04x, len %04x"
309
310# hw/s390x/css.c
311css_enable_facility(const char *facility) "CSS: enable %s"
312css_crw(uint8_t rsc, uint8_t erc, uint16_t rsid, const char *chained) "CSS: queueing crw: rsc=%x, erc=%x, rsid=%x %s"
313css_chpid_add(uint8_t cssid, uint8_t chpid, uint8_t type) "CSS: add chpid %x.%02x (type %02x)"
314css_new_image(uint8_t cssid, const char *default_cssid) "CSS: add css image %02x %s"
315css_assign_subch(const char *do_assign, uint8_t cssid, uint8_t ssid, uint16_t schid, uint16_t devno) "CSS: %s %x.%x.%04x (devno %04x)"
316css_io_interrupt(int cssid, int ssid, int schid, uint32_t intparm, uint8_t isc, const char *conditional) "CSS: I/O interrupt on sch %x.%x.%04x (intparm %08x, isc %x) %s"
317css_adapter_interrupt(uint8_t isc) "CSS: adapter I/O interrupt (isc %x)"
318
319# hw/s390x/virtio-ccw.c
320virtio_ccw_interpret_ccw(int cssid, int ssid, int schid, int cmd_code) "VIRTIO-CCW: %x.%x.%04x: interpret command %x"
321virtio_ccw_new_device(int cssid, int ssid, int schid, int devno, const char *devno_mode) "VIRTIO-CCW: add subchannel %x.%x.%04x, devno %04x (%s)"
322virtio_ccw_set_ind(uint64_t ind_loc, uint8_t ind_old, uint8_t ind_new) "VIRTIO-CCW: indicator at %" PRIu64 ": %x->%x"
323
324# kvm-all.c
325kvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
326kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
327kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
328kvm_run_exit(int cpu_index, uint32_t reason) "cpu_index %d, reason %d"
329kvm_device_ioctl(int fd, int type, void *arg) "dev fd %d, type 0x%x, arg %p"
330kvm_failed_reg_get(uint64_t id, const char *msg) "Warning: Unable to retrieve ONEREG %" PRIu64 " from KVM: %s"
331kvm_failed_reg_set(uint64_t id, const char *msg) "Warning: Unable to set ONEREG %" PRIu64 " to KVM: %s"
332
333# target-ppc/kvm.c
334kvm_failed_spr_set(int str, const char *msg) "Warning: Unable to set SPR %d to KVM: %s"
335kvm_failed_spr_get(int str, const char *msg) "Warning: Unable to retrieve SPR %d from KVM: %s"
336
337# TCG related tracing (mostly disabled by default)
338# cpu-exec.c
339disable exec_tb(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR
340disable exec_tb_nocache(void *tb, uintptr_t pc) "tb:%p pc=0x%"PRIxPTR
341disable exec_tb_exit(void *last_tb, unsigned int flags) "tb:%p flags=%x"
342
343# translate-all.c
344translate_block(void *tb, uintptr_t pc, uint8_t *tb_code) "tb:%p, pc:0x%"PRIxPTR", tb_code:%p"
345
346# memory.c
347memory_region_ops_read(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size) "cpu %d mr %p addr %#"PRIx64" value %#"PRIx64" size %u"
348memory_region_ops_write(int cpu_index, void *mr, uint64_t addr, uint64_t value, unsigned size) "cpu %d mr %p addr %#"PRIx64" value %#"PRIx64" size %u"
349memory_region_subpage_read(int cpu_index, void *mr, uint64_t offset, uint64_t value, unsigned size) "cpu %d mr %p offset %#"PRIx64" value %#"PRIx64" size %u"
350memory_region_subpage_write(int cpu_index, void *mr, uint64_t offset, uint64_t value, unsigned size) "cpu %d mr %p offset %#"PRIx64" value %#"PRIx64" size %u"
351memory_region_tb_read(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u"
352memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u"
353
354# qom/object.c
355object_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"
356object_class_dynamic_cast_assert(const char *type, const char *target, const char *file, int line, const char *func) "%s->%s (%s:%d:%s)"
357
358# hw/i386/xen/xen_pvdevice.c
359xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen PV Device MMIO space (address %"PRIx64")"
360xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO space (address %"PRIx64")"
361
362# hw/pci/pci_host.c
363pci_cfg_read(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x -> 0x%x"
364pci_cfg_write(const char *dev, unsigned devid, unsigned fnid, unsigned offs, unsigned val) "%s %02u:%u @0x%x <- 0x%x"
365
366# hw/vfio/pci.c
367vfio_intx_interrupt(const char *name, char line) " (%s) Pin %c"
368vfio_intx_eoi(const char *name) " (%s) EOI"
369vfio_intx_enable_kvm(const char *name) " (%s) KVM INTx accel enabled"
370vfio_intx_disable_kvm(const char *name) " (%s) KVM INTx accel disabled"
371vfio_intx_update(const char *name, int new_irq, int target_irq) " (%s) IRQ moved %d -> %d"
372vfio_intx_enable(const char *name) " (%s)"
373vfio_intx_disable(const char *name) " (%s)"
374vfio_msi_interrupt(const char *name, int index, uint64_t addr, int data) " (%s) vector %d 0x%"PRIx64"/0x%x"
375vfio_msix_vector_do_use(const char *name, int index) " (%s) vector %d used"
376vfio_msix_vector_release(const char *name, int index) " (%s) vector %d released"
377vfio_msix_enable(const char *name) " (%s)"
378vfio_msix_pba_disable(const char *name) " (%s)"
379vfio_msix_pba_enable(const char *name) " (%s)"
380vfio_msix_disable(const char *name) " (%s)"
381vfio_msix_fixup(const char *name, int bar, uint64_t start, uint64_t end) " (%s) MSI-X region %d mmap fixup [0x%"PRIx64" - 0x%"PRIx64"]"
382vfio_msi_enable(const char *name, int nr_vectors) " (%s) Enabled %d MSI vectors"
383vfio_msi_disable(const char *name) " (%s)"
384vfio_pci_load_rom(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device %s ROM:\n  size: 0x%lx, offset: 0x%lx, flags: 0x%lx"
385vfio_rom_read(const char *name, uint64_t addr, int size, uint64_t data) " (%s, 0x%"PRIx64", 0x%x) = 0x%"PRIx64
386vfio_pci_size_rom(const char *name, int size) "%s ROM size 0x%x"
387vfio_vga_write(uint64_t addr, uint64_t data, int size) " (0x%"PRIx64", 0x%"PRIx64", %d)"
388vfio_vga_read(uint64_t addr, int size, uint64_t data) " (0x%"PRIx64", %d) = 0x%"PRIx64
389vfio_pci_read_config(const char *name, int addr, int len, int val) " (%s, @0x%x, len=0x%x) %x"
390vfio_pci_write_config(const char *name, int addr, int val, int len) " (%s, @0x%x, 0x%x, len=0x%x)"
391vfio_msi_setup(const char *name, int pos) "%s PCI MSI CAP @0x%x"
392vfio_msix_early_setup(const char *name, int pos, int table_bar, int offset, int entries) "%s PCI MSI-X CAP @0x%x, BAR %d, offset 0x%x, entries %d"
393vfio_check_pcie_flr(const char *name) "%s Supports FLR via PCIe cap"
394vfio_check_pm_reset(const char *name) "%s Supports PM reset"
395vfio_check_af_flr(const char *name) "%s Supports FLR via AF cap"
396vfio_pci_hot_reset(const char *name, const char *type) " (%s) %s"
397vfio_pci_hot_reset_has_dep_devices(const char *name) "%s: hot reset dependent devices:"
398vfio_pci_hot_reset_dep_devices(int domain, int bus, int slot, int function, int group_id) "\t%04x:%02x:%02x.%x group %d"
399vfio_pci_hot_reset_result(const char *name, const char *result) "%s hot reset: %s"
400vfio_populate_device_config(const char *name, unsigned long size, unsigned long offset, unsigned long flags) "Device %s config:\n  size: 0x%lx, offset: 0x%lx, flags: 0x%lx"
401vfio_populate_device_get_irq_info_failure(void) "VFIO_DEVICE_GET_IRQ_INFO failure: %m"
402vfio_initfn(const char *name, int group_id) " (%s) group %d"
403vfio_pci_reset(const char *name) " (%s)"
404vfio_pci_reset_flr(const char *name) "%s FLR/VFIO_DEVICE_RESET"
405vfio_pci_reset_pm(const char *name) "%s PCI PM Reset"
406vfio_pci_emulated_vendor_id(const char *name, uint16_t val) "%s %04x"
407vfio_pci_emulated_device_id(const char *name, uint16_t val) "%s %04x"
408vfio_pci_emulated_sub_vendor_id(const char *name, uint16_t val) "%s %04x"
409vfio_pci_emulated_sub_device_id(const char *name, uint16_t val) "%s %04x"
410
411# hw/vfio/pci-quirks.
412vfio_quirk_rom_blacklisted(const char *name, uint16_t vid, uint16_t did) "%s %04x:%04x"
413vfio_quirk_generic_window_address_write(const char *name, const char * region_name, uint64_t data) "%s %s 0x%"PRIx64
414vfio_quirk_generic_window_data_read(const char *name, const char * region_name, uint64_t data) "%s %s 0x%"PRIx64
415vfio_quirk_generic_window_data_write(const char *name, const char * region_name, uint64_t data) "%s %s 0x%"PRIx64
416vfio_quirk_generic_mirror_read(const char *name, const char * region_name, uint64_t addr, uint64_t data) "%s %s 0x%"PRIx64": 0x%"PRIx64
417vfio_quirk_generic_mirror_write(const char *name, const char * region_name, uint64_t addr, uint64_t data) "%s %s 0x%"PRIx64": 0x%"PRIx64
418vfio_quirk_ati_3c3_read(const char *name, uint64_t data) "%s 0x%"PRIx64
419vfio_quirk_ati_3c3_probe(const char *name) "%s"
420vfio_quirk_ati_bar4_probe(const char *name) "%s"
421vfio_quirk_ati_bar2_probe(const char *name) "%s"
422vfio_quirk_nvidia_3d0_state(const char *name, const char *state) "%s %s"
423vfio_quirk_nvidia_3d0_read(const char *name, uint8_t offset, unsigned size, uint64_t val) " (%s, @0x%x, len=0x%x) %"PRIx64
424vfio_quirk_nvidia_3d0_write(const char *name, uint8_t offset, uint64_t data, unsigned size) "(%s, @0x%x, 0x%"PRIx64", len=0x%x)"
425vfio_quirk_nvidia_3d0_probe(const char *name) "%s"
426vfio_quirk_nvidia_bar5_state(const char *name, const char *state) "%s %s"
427vfio_quirk_nvidia_bar5_probe(const char *name) "%s"
428vfio_quirk_nvidia_bar0_msi_ack(const char *name) "%s"
429vfio_quirk_nvidia_bar0_probe(const char *name) "%s"
430vfio_quirk_rtl8168_fake_latch(const char *name, uint64_t val) "%s 0x%"PRIx64
431vfio_quirk_rtl8168_msix_write(const char *name, uint16_t offset, uint64_t val) "%s MSI-X table write[0x%x]: 0x%"PRIx64
432vfio_quirk_rtl8168_msix_read(const char *name, uint16_t offset, uint64_t val) "%s MSI-X table read[0x%x]: 0x%"PRIx64
433vfio_quirk_rtl8168_probe(const char *name) "%s"
434
435vfio_quirk_ati_bonaire_reset_skipped(const char *name) "%s"
436vfio_quirk_ati_bonaire_reset_no_smc(const char *name) "%s"
437vfio_quirk_ati_bonaire_reset_timeout(const char *name) "%s"
438vfio_quirk_ati_bonaire_reset_done(const char *name) "%s"
439vfio_quirk_ati_bonaire_reset(const char *name) "%s"
440vfio_pci_igd_bar4_write(const char *name, uint32_t index, uint32_t data, uint32_t base) "%s [%03x] %08x -> %08x"
441vfio_pci_igd_bdsm_enabled(const char *name, int size) "%s %dMB"
442vfio_pci_igd_opregion_enabled(const char *name) "%s"
443vfio_pci_igd_host_bridge_enabled(const char *name) "%s"
444vfio_pci_igd_lpc_bridge_enabled(const char *name) "%s"
445
446# hw/vfio/common.c
447vfio_region_write(const char *name, int index, uint64_t addr, uint64_t data, unsigned size) " (%s:region%d+0x%"PRIx64", 0x%"PRIx64 ", %d)"
448vfio_region_read(char *name, int index, uint64_t addr, unsigned size, uint64_t data) " (%s:region%d+0x%"PRIx64", %d) = 0x%"PRIx64
449vfio_iommu_map_notify(uint64_t iova_start, uint64_t iova_end) "iommu map @ %"PRIx64" - %"PRIx64
450vfio_listener_region_add_skip(uint64_t start, uint64_t end) "SKIPPING region_add %"PRIx64" - %"PRIx64
451vfio_listener_region_add_iommu(uint64_t start, uint64_t end) "region_add [iommu] %"PRIx64" - %"PRIx64
452vfio_listener_region_add_ram(uint64_t iova_start, uint64_t iova_end, void *vaddr) "region_add [ram] %"PRIx64" - %"PRIx64" [%p]"
453vfio_listener_region_del_skip(uint64_t start, uint64_t end) "SKIPPING region_del %"PRIx64" - %"PRIx64
454vfio_listener_region_del(uint64_t start, uint64_t end) "region_del %"PRIx64" - %"PRIx64
455vfio_disconnect_container(int fd) "close container->fd=%d"
456vfio_put_group(int fd) "close group->fd=%d"
457vfio_get_device(const char * name, unsigned int flags, unsigned int num_regions, unsigned int num_irqs) "Device %s flags: %u, regions: %u, irqs: %u"
458vfio_put_base_device(int fd) "close vdev->fd=%d"
459vfio_region_setup(const char *dev, int index, const char *name, unsigned long flags, unsigned long offset, unsigned long size) "Device %s, region %d \"%s\", flags: %lx, offset: %lx, size: %lx"
460vfio_region_mmap_fault(const char *name, int index, unsigned long offset, unsigned long size, int fault) "Region %s mmaps[%d], [%lx - %lx], fault: %d"
461vfio_region_mmap(const char *name, unsigned long offset, unsigned long end) "Region %s [%lx - %lx]"
462vfio_region_exit(const char *name, int index) "Device %s, region %d"
463vfio_region_finalize(const char *name, int index) "Device %s, region %d"
464vfio_region_mmaps_set_enabled(const char *name, bool enabled) "Region %s mmaps enabled: %d"
465vfio_region_sparse_mmap_header(const char *name, int index, int nr_areas) "Device %s region %d: %d sparse mmap entries"
466vfio_region_sparse_mmap_entry(int i, unsigned long start, unsigned long end) "sparse entry %d [0x%lx - 0x%lx]"
467vfio_get_dev_region(const char *name, int index, uint32_t type, uint32_t subtype) "%s index %d, %08x/%0x8"
468
469# hw/vfio/platform.c
470vfio_platform_base_device_init(char *name, int groupid) "%s belongs to group #%d"
471vfio_platform_realize(char *name, char *compat) "vfio device %s, compat = %s"
472vfio_platform_eoi(int pin, int fd) "EOI IRQ pin %d (fd=%d)"
473vfio_platform_intp_mmap_enable(int pin) "IRQ #%d still active, stay in slow path"
474vfio_platform_intp_interrupt(int pin, int fd) "Inject IRQ #%d (fd = %d)"
475vfio_platform_intp_inject_pending_lockheld(int pin, int fd) "Inject pending IRQ #%d (fd = %d)"
476vfio_platform_populate_interrupts(int pin, int count, int flags) "- IRQ index %d: count %d, flags=0x%x"
477vfio_intp_interrupt_set_pending(int index) "irq %d is set PENDING"
478vfio_platform_start_level_irqfd_injection(int index, int fd, int resamplefd) "IRQ index=%d, fd = %d, resamplefd = %d"
479vfio_platform_start_edge_irqfd_injection(int index, int fd) "IRQ index=%d, fd = %d"
480
481
482#hw/acpi/memory_hotplug.c
483mhp_acpi_invalid_slot_selected(uint32_t slot) "0x%"PRIx32
484mhp_acpi_ejecting_invalid_slot(uint32_t slot) "0x%"PRIx32
485mhp_acpi_read_addr_lo(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr lo: 0x%"PRIx32
486mhp_acpi_read_addr_hi(uint32_t slot, uint32_t addr) "slot[0x%"PRIx32"] addr hi: 0x%"PRIx32
487mhp_acpi_read_size_lo(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size lo: 0x%"PRIx32
488mhp_acpi_read_size_hi(uint32_t slot, uint32_t size) "slot[0x%"PRIx32"] size hi: 0x%"PRIx32
489mhp_acpi_read_pxm(uint32_t slot, uint32_t pxm) "slot[0x%"PRIx32"] proximity: 0x%"PRIx32
490mhp_acpi_read_flags(uint32_t slot, uint32_t flags) "slot[0x%"PRIx32"] flags: 0x%"PRIx32
491mhp_acpi_write_slot(uint32_t slot) "set active slot: 0x%"PRIx32
492mhp_acpi_write_ost_ev(uint32_t slot, uint32_t ev) "slot[0x%"PRIx32"] OST EVENT: 0x%"PRIx32
493mhp_acpi_write_ost_status(uint32_t slot, uint32_t st) "slot[0x%"PRIx32"] OST STATUS: 0x%"PRIx32
494mhp_acpi_clear_insert_evt(uint32_t slot) "slot[0x%"PRIx32"] clear insert event"
495mhp_acpi_clear_remove_evt(uint32_t slot) "slot[0x%"PRIx32"] clear remove event"
496mhp_acpi_pc_dimm_deleted(uint32_t slot) "slot[0x%"PRIx32"] pc-dimm deleted"
497mhp_acpi_pc_dimm_delete_failed(uint32_t slot) "slot[0x%"PRIx32"] pc-dimm delete failed"
498
499# hw/i386/pc.c
500mhp_pc_dimm_assigned_slot(int slot) "0x%d"
501mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64
502
503# target-s390x/kvm.c
504kvm_enable_cmma(int rc) "CMMA: enabling with result code %d"
505kvm_clear_cmma(int rc) "CMMA: clearing with result code %d"
506kvm_failed_cpu_state_set(int cpu_index, uint8_t state, const char *msg) "Warning: Unable to set cpu %d state %" PRIu8 " to KVM: %s"
507kvm_sigp_finished(uint8_t order, int cpu_index, int dst_index, int cc) "SIGP: Finished order %u on cpu %d -> cpu %d with cc=%d"
508
509# target-s390x/cpu.c
510cpu_set_state(int cpu_index, uint8_t state) "setting cpu %d state to %" PRIu8
511cpu_halt(int cpu_index) "halting cpu %d"
512cpu_unhalt(int cpu_index) "unhalting cpu %d"
513
514# hw/arm/virt-acpi-build.c
515virt_acpi_setup(void) "No fw cfg or ACPI disabled. Bailing out."
516
517# hw/alpha/pci.c
518alpha_pci_iack_write(void) ""
519
520# audio/alsaaudio.c
521alsa_revents(int revents) "revents = %d"
522alsa_pollout(int i, int fd) "i = %d fd = %d"
523alsa_set_handler(int events, int index, int fd, int err) "events=%#x index=%d fd=%d err=%d"
524alsa_wrote_zero(int len) "Failed to write %d frames (wrote zero)"
525alsa_read_zero(long len) "Failed to read %ld frames (read zero)"
526alsa_xrun_out(void) "Recovering from playback xrun"
527alsa_xrun_in(void) "Recovering from capture xrun"
528alsa_resume_out(void) "Resuming suspended output stream"
529alsa_resume_in(void) "Resuming suspended input stream"
530alsa_no_frames(int state) "No frames available and ALSA state is %d"
531
532# audio/ossaudio.c
533oss_version(int version) "OSS version = %#x"
534oss_invalid_available_size(int size, int bufsize) "Invalid available size, size=%d bufsize=%d"
535
536# net/vhost-user.c
537vhost_user_event(const char *chr, int event) "chr: %s got event: %d"
538
539# linux-user/signal.c
540user_setup_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64
541user_setup_rt_frame(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64
542user_do_rt_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64
543user_do_sigreturn(void *env, uint64_t frame_addr) "env=%p frame_addr=%"PRIx64
544user_force_sig(void *env, int target_sig, int host_sig) "env=%p signal %d (host %d)"
545user_handle_signal(void *env, int target_sig) "env=%p signal %d"
546user_host_signal(void *env, int host_sig, int target_sig) "env=%p signal %d (target %d("
547user_queue_signal(void *env, int target_sig) "env=%p signal %d"
548user_s390x_restore_sigregs(void *env, uint64_t sc_psw_addr, uint64_t env_psw_addr) "env=%p frame psw.addr %"PRIx64 " current psw.addr %"PRIx64
549
550### Guest events, keep at bottom
551
552# @vaddr: Access' virtual address.
553# @info : Access' information (see below).
554#
555# Start virtual memory access (before any potential access violation).
556#
557# Does not include memory accesses performed by devices.
558#
559# Access information can be parsed as:
560#
561# struct mem_info {
562#     uint8_t size_shift : 2; /* interpreted as "1 << size_shift" bytes */
563#     bool    sign_extend: 1; /* sign-extended */
564#     uint8_t endianness : 1; /* 0: little, 1: big */
565#     bool    store      : 1; /* wheter it's a store operation */
566# };
567#
568# Targets: TCG(all)
569disable vcpu tcg guest_mem_before(TCGv vaddr, uint8_t info) "info=%d", "vaddr=0x%016"PRIx64" info=%d"
570