xref: /openbmc/qemu/util/trace-events (revision 438c78da)
1# See docs/devel/tracing.txt for syntax documentation.
2
3# util/aio-posix.c
4run_poll_handlers_begin(void *ctx, int64_t max_ns, int64_t timeout) "ctx %p max_ns %"PRId64 " timeout %"PRId64
5run_poll_handlers_end(void *ctx, bool progress, int64_t timeout) "ctx %p progress %d new timeout %"PRId64
6poll_shrink(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
7poll_grow(void *ctx, int64_t old, int64_t new) "ctx %p old %"PRId64" new %"PRId64
8
9# util/async.c
10aio_co_schedule(void *ctx, void *co) "ctx %p co %p"
11aio_co_schedule_bh_cb(void *ctx, void *co) "ctx %p co %p"
12
13# util/thread-pool.c
14thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
15thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
16thread_pool_cancel(void *req, void *opaque) "req %p opaque %p"
17
18# util/buffer.c
19buffer_resize(const char *buf, size_t olen, size_t len) "%s: old %zd, new %zd"
20buffer_move_empty(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
21buffer_move(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
22buffer_free(const char *buf, size_t len) "%s: capacity %zd"
23
24# util/qemu-coroutine.c
25qemu_aio_coroutine_enter(void *ctx, void *from, void *to, void *opaque) "ctx %p from %p to %p opaque %p"
26qemu_coroutine_yield(void *from, void *to) "from %p to %p"
27qemu_coroutine_terminate(void *co) "self %p"
28
29# util/qemu-coroutine-lock.c
30qemu_co_queue_run_restart(void *co) "co %p"
31qemu_co_mutex_lock_uncontended(void *mutex, void *self) "mutex %p self %p"
32qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
33qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
34qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
35qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
36
37# util/oslib-win32.c
38# util/oslib-posix.c
39qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
40qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
41qemu_vfree(void *ptr) "ptr %p"
42qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
43
44# util/hbitmap.c
45hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
46hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
47hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
48
49# util/lockcnt.c
50lockcnt_fast_path_attempt(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d"
51lockcnt_fast_path_success(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d succeeded"
52lockcnt_unlock_attempt(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d"
53lockcnt_unlock_success(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d succeeded"
54lockcnt_futex_wait_prepare(const void *lockcnt, int expected, int new) "lockcnt %p preparing slow path %d->%d"
55lockcnt_futex_wait(const void *lockcnt, int val) "lockcnt %p waiting on %d"
56lockcnt_futex_wait_resume(const void *lockcnt, int new) "lockcnt %p after wait: %d"
57lockcnt_futex_wake(const void *lockcnt) "lockcnt %p waking up one waiter"
58
59# util/qemu-thread.c
60qemu_mutex_lock(void *mutex, const char *file, const int line) "waiting on mutex %p (%s:%d)"
61qemu_mutex_locked(void *mutex, const char *file, const int line) "taken mutex %p (%s:%d)"
62qemu_mutex_unlock(void *mutex, const char *file, const int line) "released mutex %p (%s:%d)"
63
64# util/vfio-helpers.c
65qemu_vfio_dma_reset_temporary(void *s) "s %p"
66qemu_vfio_ram_block_added(void *s, void *p, size_t size) "s %p host %p size 0x%zx"
67qemu_vfio_ram_block_removed(void *s, void *p, size_t size) "s %p host %p size 0x%zx"
68qemu_vfio_find_mapping(void *s, void *p) "s %p host %p"
69qemu_vfio_new_mapping(void *s, void *host, size_t size, int index, uint64_t iova) "s %p host %p size %zu index %d iova 0x%"PRIx64
70qemu_vfio_do_mapping(void *s, void *host, size_t size, uint64_t iova) "s %p host %p size %zu iova 0x%"PRIx64
71qemu_vfio_dma_map(void *s, void *host, size_t size, bool temporary, uint64_t *iova) "s %p host %p size %zu temporary %d iova %p"
72qemu_vfio_dma_map_invalid(void *s, void *mapping_host, size_t mapping_size, void *host, size_t size) "s %p mapping %p %zu requested %p %zu"
73qemu_vfio_dma_unmap(void *s, void *host) "s %p host %p"
74