]> git.proxmox.com Git - mirror_qemu.git/blame - util/trace-events
filemon: fix watch IDs to avoid potential wraparound issues
[mirror_qemu.git] / util / trace-events
CommitLineData
87e0331c 1# See docs/devel/tracing.txt for syntax documentation.
492bb2dd 2
500016e5 3# aio-posix.c
e30cffa0
PB
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
c2b38b27
PB
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
500016e5 9# async.c
0c330a73
PB
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
500016e5 13# thread-pool.c
c2b38b27
PB
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
500016e5 18# buffer.c
2c7c4cf0
DB
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
dec97760 24# filemonitor-inotify.c
b4682a63
DB
25qemu_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
26qemu_file_monitor_remove_watch(void *mon, const char *dirpath, int64_t id) "File monitor %p remove watch dir='%s' id=%" PRId64
90e33dfe
DB
27qemu_file_monitor_new(void *mon, int fd) "File monitor %p created fd=%d"
28qemu_file_monitor_enable_watch(void *mon, const char *dirpath, int id) "File monitor %p enable watch dir='%s' id=%u"
29qemu_file_monitor_disable_watch(void *mon, const char *dirpath, int id) "Fle monitor %p disable watch dir='%s' id=%u"
30qemu_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"
b4682a63 31qemu_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
90e33dfe 32
500016e5 33# qemu-coroutine.c
ba9e75ce 34qemu_aio_coroutine_enter(void *ctx, void *from, void *to, void *opaque) "ctx %p from %p to %p opaque %p"
a409aada
DB
35qemu_coroutine_yield(void *from, void *to) "from %p to %p"
36qemu_coroutine_terminate(void *co) "self %p"
37
500016e5 38# qemu-coroutine-lock.c
fed20a70 39qemu_co_mutex_lock_uncontended(void *mutex, void *self) "mutex %p self %p"
a409aada
DB
40qemu_co_mutex_lock_entry(void *mutex, void *self) "mutex %p self %p"
41qemu_co_mutex_lock_return(void *mutex, void *self) "mutex %p self %p"
42qemu_co_mutex_unlock_entry(void *mutex, void *self) "mutex %p self %p"
43qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p"
44
500016e5 45# oslib-win32.c
dec97760 46# oslib-posix.c
492bb2dd
DB
47qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
48qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
49qemu_vfree(void *ptr) "ptr %p"
50qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
51
500016e5 52# hbitmap.c
492bb2dd
DB
53hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
54hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
55hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
fbcc3e50 56
500016e5 57# lockcnt.c
fbcc3e50
PB
58lockcnt_fast_path_attempt(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d"
59lockcnt_fast_path_success(const void *lockcnt, int expected, int new) "lockcnt %p fast path %d->%d succeeded"
60lockcnt_unlock_attempt(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d"
61lockcnt_unlock_success(const void *lockcnt, int expected, int new) "lockcnt %p unlock %d->%d succeeded"
62lockcnt_futex_wait_prepare(const void *lockcnt, int expected, int new) "lockcnt %p preparing slow path %d->%d"
63lockcnt_futex_wait(const void *lockcnt, int val) "lockcnt %p waiting on %d"
64lockcnt_futex_wait_resume(const void *lockcnt, int new) "lockcnt %p after wait: %d"
65lockcnt_futex_wake(const void *lockcnt) "lockcnt %p waking up one waiter"
31f5a726 66
dec97760 67# qemu-thread-common.h
6c27a0de
AB
68qemu_mutex_lock(void *mutex, const char *file, const int line) "waiting on mutex %p (%s:%d)"
69qemu_mutex_locked(void *mutex, const char *file, const int line) "taken mutex %p (%s:%d)"
70qemu_mutex_unlock(void *mutex, const char *file, const int line) "released mutex %p (%s:%d)"
418026ca 71
500016e5 72# vfio-helpers.c
418026ca
FZ
73qemu_vfio_dma_reset_temporary(void *s) "s %p"
74qemu_vfio_ram_block_added(void *s, void *p, size_t size) "s %p host %p size 0x%zx"
75qemu_vfio_ram_block_removed(void *s, void *p, size_t size) "s %p host %p size 0x%zx"
76qemu_vfio_find_mapping(void *s, void *p) "s %p host %p"
77qemu_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
78qemu_vfio_do_mapping(void *s, void *host, size_t size, uint64_t iova) "s %p host %p size %zu iova 0x%"PRIx64
79qemu_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"
418026ca 80qemu_vfio_dma_unmap(void *s, void *host) "s %p host %p"