master
text 119 lines 7.57 KB
Raw
1 # See docs/devel/tracing.rst for syntax documentation.
2
3 # aio-posix.c
4 run_poll_handlers_begin(void *ctx, int64_t max_ns, int64_t timeout) "ctx %p max_ns %"PRId64 " timeout %"PRId64
5 run_poll_handlers_end(void *ctx, bool progress, int64_t timeout) "ctx %p progress %d new timeout %"PRId64
6 poll_shrink(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
7 poll_grow(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
8 poll_add(void *ctx, void *node, int fd, unsigned revents) "ctx %p node %p fd %d revents 0x%x"
9 poll_remove(void *ctx, void *node, int fd) "ctx %p node %p fd %d"
10
11 # async.c
12 aio_co_schedule(void *ctx, void *co) "ctx %p co %p"
13 aio_co_schedule_bh_cb(void *ctx, void *co) "ctx %p co %p"
14 reentrant_aio(void *ctx, const char *name) "ctx %p name %s"
15
16 # thread-pool.c
17 thread_pool_submit_aio(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
18 thread_pool_complete_aio(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
19 thread_pool_cancel_aio(void *req, void *opaque) "req %p opaque %p"
20
21 # buffer.c
22 buffer_resize(const char *buf, size_t olen, size_t len) "%s: old %zd, new %zd"
23 buffer_move_empty(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
24 buffer_move(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
25 buffer_free(const char *buf, size_t len) "%s: capacity %zd"
26
27 # fdmon-io_uring.c
28 fdmon_io_uring_add_sqe(void *ctx, void *opaque, int opcode, int fd, uint64_t off, void *cqe_handler) "ctx %p opaque %p opcode %d fd %d off %"PRId64" cqe_handler %p"
29 fdmon_io_uring_cqe_handler(void *ctx, void *cqe_handler, int cqe_res) "ctx %p cqe_handler %p cqe_res %d"
30
31 # filemonitor-inotify.c
32 qemu_file_monitor_add_watch(void *mon, const char *dirpath, const char *filename, void *cb, void *opaque, int64_t id) "File monitor %p add watch dir='%s' file='%s' cb=%p opaque=%p id=%" PRId64
33 qemu_file_monitor_remove_watch(void *mon, const char *dirpath, int64_t id) "File monitor %p remove watch dir='%s' id=%" PRId64
34 qemu_file_monitor_new(void *mon, int fd) "File monitor %p created fd=%d"
35 qemu_file_monitor_enable_watch(void *mon, const char *dirpath, int id) "File monitor %p enable watch dir='%s' id=%u"
36 qemu_file_monitor_disable_watch(void *mon, const char *dirpath, int id) "File monitor %p disable watch dir='%s' id=%u"
37 qemu_file_monitor_event(void *mon, const char *dirpath, const char *filename, int mask, unsigned int id) "File monitor %p event dir='%s' file='%s' mask=0x%x id=%u"
38 qemu_file_monitor_dispatch(void *mon, const char *dirpath, const char *filename, int ev, void *cb, void *opaque, int64_t id) "File monitor %p dispatch dir='%s' file='%s' ev=%d cb=%p opaque=%p id=%" PRId64
39
40 # qemu-coroutine.c
41 qemu_aio_coroutine_enter(void *ctx, void *from, void *to, void *opaque) "ctx %p from %p to %p opaque %p"
42 qemu_coroutine_yield(void *from, void *to) "from %p to %p"
43 qemu_coroutine_terminate(void *co) "self %p"
44
45 # qemu-coroutine-lock.c
46 qemu_co_mutex_lock_uncontended(void *mutex, void *self) "mutex %p self %p"
47 qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
48 qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
49 qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
50 qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
51
52 # oslib-posix.c
53 # oslib-win32.c
54 qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
55 qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
56 qemu_vfree(void *ptr) "ptr %p"
57 qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
58
59 # oslib-win32.c
60 win32_map_alloc(size_t size) "size:%zd"
61 win32_map_free(void *ptr, void *h) "ptr:%p handle:%p"
62
63 # hbitmap.c
64 hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
65 hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
66 hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
67
68 # lockcnt.c
69 lockcnt_fast_path_attempt(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d"
70 lockcnt_fast_path_success(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d succeeded"
71 lockcnt_unlock_attempt(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d"
72 lockcnt_unlock_success(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d succeeded"
73 lockcnt_futex_wait_prepare(const void *lockcnt, int expected, int new) "lockcnt %p preparing slow path %d->%d"
74 lockcnt_futex_wait(const void *lockcnt, int val) "lockcnt %p waiting on %d"
75 lockcnt_futex_wait_resume(const void *lockcnt, int new) "lockcnt %p after wait: %d"
76 lockcnt_futex_wake(const void *lockcnt) "lockcnt %p waking up one waiter"
77
78 # qemu-sockets.c
79 socket_listen(int num) "backlog: %d"
80
81 # qemu-thread-common.h
82 # qemu-thread-posix.c
83 # qemu-thread-win32.c
84 qemu_mutex_lock(void *mutex, const char *file, const int line) "waiting on mutex %p (%s:%d)"
85 qemu_mutex_locked(void *mutex, const char *file, const int line) "taken mutex %p (%s:%d)"
86 qemu_mutex_unlock(void *mutex, const char *file, const int line) "released mutex %p (%s:%d)"
87
88 # vfio-helpers.c
89 qemu_vfio_dma_reset_temporary(void *s) "s %p"
90 qemu_vfio_ram_block_added(void *s, void *p, size_t size) "s %p host %p size 0x%zx"
91 qemu_vfio_ram_block_removed(void *s, void *p, size_t size) "s %p host %p size 0x%zx"
92 qemu_vfio_dump_mapping(void *host, uint64_t iova, size_t size) "vfio mapping %p to iova 0x%08" PRIx64 " size 0x%zx"
93 qemu_vfio_find_mapping(void *s, void *p) "s %p host %p"
94 qemu_vfio_new_mapping(void *s, void *host, size_t size, int index, uint64_t iova) "s %p host %p size 0x%zx index %d iova 0x%"PRIx64
95 qemu_vfio_do_mapping(void *s, void *host, uint64_t iova, size_t size) "s %p host %p <-> iova 0x%"PRIx64 " size 0x%zx"
96 qemu_vfio_dma_map(void *s, void *host, size_t size, bool temporary, uint64_t *iova) "s %p host %p size 0x%zx temporary %d &iova %p"
97 qemu_vfio_dma_mapped(void *s, void *host, uint64_t iova, size_t size) "s %p host %p <-> iova 0x%"PRIx64" size 0x%zx"
98 qemu_vfio_dma_unmap(void *s, void *host) "s %p host %p"
99 qemu_vfio_pci_read_config(void *buf, int ofs, int size, uint64_t region_ofs, uint64_t region_size) "read cfg ptr %p ofs 0x%x size 0x%x (region addr 0x%"PRIx64" size 0x%"PRIx64")"
100 qemu_vfio_pci_write_config(void *buf, int ofs, int size, uint64_t region_ofs, uint64_t region_size) "write cfg ptr %p ofs 0x%x size 0x%x (region addr 0x%"PRIx64" size 0x%"PRIx64")"
101 qemu_vfio_region_info(const char *desc, uint64_t region_ofs, uint64_t region_size, uint32_t cap_offset) "region '%s' addr 0x%"PRIx64" size 0x%"PRIx64" cap_ofs 0x%"PRIx32
102 qemu_vfio_pci_map_bar(int index, uint64_t region_ofs, uint64_t region_size, int ofs, void *host) "map region bar#%d addr 0x%"PRIx64" size 0x%"PRIx64" ofs 0x%x host %p"
103
104 #userfaultfd.c
105 uffd_detect_open_mode(int mode) "%d"
106 uffd_query_features_nosys(int err) "errno: %i"
107 uffd_query_features_api_failed(int err) "errno: %i"
108 uffd_create_fd_nosys(int err) "errno: %i"
109 uffd_create_fd_api_failed(int err) "errno: %i"
110 uffd_create_fd_api_noioctl(uint64_t ioctl_req, uint64_t ioctl_supp) "ioctl_req: 0x%" PRIx64 "ioctl_supp: 0x%" PRIx64
111 uffd_register_memory_failed(void *addr, uint64_t length, uint64_t mode, int err) "addr: %p length: %" PRIu64 " mode: 0x%" PRIx64 " errno: %i"
112 uffd_unregister_memory_failed(void *addr, uint64_t length, int err) "addr: %p length: %" PRIu64 " errno: %i"
113
114 # module.c
115 module_load_module(const char *name) "file %s"
116 module_lookup_object_type(const char *name) "name %s"
117
118 # datadir.c
119 load_file(const char *name, const char *path) "name %s location %s"