xref: /openbmc/qemu/util/trace-events (revision c2b38b27)
1# See docs/tracing.txt for syntax documentation.
2
3# util/aio-posix.c
4run_poll_handlers_begin(void *ctx, int64_t max_ns) "ctx %p max_ns %"PRId64
5run_poll_handlers_end(void *ctx, bool progress) "ctx %p progress %d"
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/thread-pool.c
10thread_pool_submit(void *pool, void *req, void *opaque) "pool %p req %p opaque %p"
11thread_pool_complete(void *pool, void *req, void *opaque, int ret) "pool %p req %p opaque %p ret %d"
12thread_pool_cancel(void *req, void *opaque) "req %p opaque %p"
13
14# util/buffer.c
15buffer_resize(const char *buf, size_t olen, size_t len) "%s: old %zd, new %zd"
16buffer_move_empty(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
17buffer_move(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
18buffer_free(const char *buf, size_t len) "%s: capacity %zd"
19
20# util/qemu-coroutine.c
21qemu_coroutine_enter(void *from, void *to, void *opaque) "from %p to %p opaque %p"
22qemu_coroutine_yield(void *from, void *to) "from %p to %p"
23qemu_coroutine_terminate(void *co) "self %p"
24
25# util/qemu-coroutine-lock.c
26qemu_co_queue_run_restart(void *co) "co %p"
27qemu_co_queue_next(void *nxt) "next %p"
28qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
29qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
30qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
31qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
32
33# util/oslib-win32.c
34# util/oslib-posix.c
35qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
36qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
37qemu_vfree(void *ptr) "ptr %p"
38qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
39
40# util/hbitmap.c
41hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
42hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
43hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
44
45# util/lockcnt.c
46lockcnt_fast_path_attempt(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d"
47lockcnt_fast_path_success(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d succeeded"
48lockcnt_unlock_attempt(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d"
49lockcnt_unlock_success(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d succeeded"
50lockcnt_futex_wait_prepare(const void *lockcnt, int expected, int new) "lockcnt %p preparing slow path %d->%d"
51lockcnt_futex_wait(const void *lockcnt, int val) "lockcnt %p waiting on %d"
52lockcnt_futex_wait_resume(const void *lockcnt, int new) "lockcnt %p after wait: %d"
53lockcnt_futex_wake(const void *lockcnt) "lockcnt %p waking up one waiter"
54