xref: /openbmc/qemu/block/trace-events (revision e09484ef)
1# See docs/tracing.txt for syntax documentation.
2
3# block.c
4bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filename \"%s\" flags %#x format_name \"%s\""
5bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
6
7# block/block-backend.c
8blk_co_preadv(void *blk, void *bs, int64_t offset, unsigned int bytes, int flags) "blk %p bs %p offset %"PRId64" bytes %u flags %x"
9blk_co_pwritev(void *blk, void *bs, int64_t offset, unsigned int bytes, int flags) "blk %p bs %p offset %"PRId64" bytes %u flags %x"
10
11# block/io.c
12bdrv_aio_pdiscard(void *bs, int64_t offset, int count, void *opaque) "bs %p offset %"PRId64" count %d opaque %p"
13bdrv_aio_flush(void *bs, void *opaque) "bs %p opaque %p"
14bdrv_aio_readv(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
15bdrv_aio_writev(void *bs, int64_t sector_num, int nb_sectors, void *opaque) "bs %p sector_num %"PRId64" nb_sectors %d opaque %p"
16bdrv_co_readv(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
17bdrv_co_writev(void *bs, int64_t sector_num, int nb_sector) "bs %p sector_num %"PRId64" nb_sectors %d"
18bdrv_co_pwrite_zeroes(void *bs, int64_t offset, int count, int flags) "bs %p offset %"PRId64" count %d flags %#x"
19bdrv_co_do_copy_on_readv(void *bs, int64_t offset, unsigned int bytes, int64_t cluster_offset, unsigned int cluster_bytes) "bs %p offset %"PRId64" bytes %u cluster_offset %"PRId64" cluster_bytes %u"
20
21# block/stream.c
22stream_one_iteration(void *s, int64_t sector_num, int nb_sectors, int is_allocated) "s %p sector_num %"PRId64" nb_sectors %d is_allocated %d"
23stream_start(void *bs, void *base, void *s, void *co, void *opaque) "bs %p base %p s %p co %p opaque %p"
24
25# block/commit.c
26commit_one_iteration(void *s, int64_t sector_num, int nb_sectors, int is_allocated) "s %p sector_num %"PRId64" nb_sectors %d is_allocated %d"
27commit_start(void *bs, void *base, void *top, void *s, void *co, void *opaque) "bs %p base %p top %p s %p co %p opaque %p"
28
29# block/mirror.c
30mirror_start(void *bs, void *s, void *co, void *opaque) "bs %p s %p co %p opaque %p"
31mirror_restart_iter(void *s, int64_t cnt) "s %p dirty count %"PRId64
32mirror_before_flush(void *s) "s %p"
33mirror_before_drain(void *s, int64_t cnt) "s %p dirty count %"PRId64
34mirror_before_sleep(void *s, int64_t cnt, int synced, uint64_t delay_ns) "s %p dirty count %"PRId64" synced %d delay %"PRIu64"ns"
35mirror_one_iteration(void *s, int64_t sector_num, int nb_sectors) "s %p sector_num %"PRId64" nb_sectors %d"
36mirror_iteration_done(void *s, int64_t sector_num, int nb_sectors, int ret) "s %p sector_num %"PRId64" nb_sectors %d ret %d"
37mirror_yield(void *s, int64_t cnt, int buf_free_count, int in_flight) "s %p dirty count %"PRId64" free buffers %d in_flight %d"
38mirror_yield_in_flight(void *s, int64_t sector_num, int in_flight) "s %p sector_num %"PRId64" in_flight %d"
39mirror_yield_buf_busy(void *s, int nb_chunks, int in_flight) "s %p requested chunks %d in_flight %d"
40mirror_break_buf_busy(void *s, int nb_chunks, int in_flight) "s %p requested chunks %d in_flight %d"
41
42# block/backup.c
43backup_do_cow_enter(void *job, int64_t start, int64_t sector_num, int nb_sectors) "job %p start %"PRId64" sector_num %"PRId64" nb_sectors %d"
44backup_do_cow_return(void *job, int64_t sector_num, int nb_sectors, int ret) "job %p sector_num %"PRId64" nb_sectors %d ret %d"
45backup_do_cow_skip(void *job, int64_t start) "job %p start %"PRId64
46backup_do_cow_process(void *job, int64_t start) "job %p start %"PRId64
47backup_do_cow_read_fail(void *job, int64_t start, int ret) "job %p start %"PRId64" ret %d"
48backup_do_cow_write_fail(void *job, int64_t start, int ret) "job %p start %"PRId64" ret %d"
49
50# blockdev.c
51qmp_block_job_cancel(void *job) "job %p"
52qmp_block_job_pause(void *job) "job %p"
53qmp_block_job_resume(void *job) "job %p"
54qmp_block_job_complete(void *job) "job %p"
55block_job_cb(void *bs, void *job, int ret) "bs %p job %p ret %d"
56qmp_block_stream(void *bs, void *job) "bs %p job %p"
57
58# block/raw-win32.c
59# block/raw-posix.c
60paio_submit_co(int64_t offset, int count, int type) "offset %"PRId64" count %d type %d"
61paio_submit(void *acb, void *opaque, int64_t offset, int count, int type) "acb %p opaque %p offset %"PRId64" count %d type %d"
62
63# block/qcow2.c
64qcow2_writev_start_req(void *co, int64_t offset, int bytes) "co %p offset %" PRIx64 " bytes %d"
65qcow2_writev_done_req(void *co, int ret) "co %p ret %d"
66qcow2_writev_start_part(void *co) "co %p"
67qcow2_writev_done_part(void *co, int cur_bytes) "co %p cur_bytes %d"
68qcow2_writev_data(void *co, uint64_t offset) "co %p offset %" PRIx64
69qcow2_pwrite_zeroes_start_req(void *co, int64_t offset, int count) "co %p offset %" PRIx64 " count %d"
70qcow2_pwrite_zeroes(void *co, int64_t offset, int count) "co %p offset %" PRIx64 " count %d"
71
72# block/qcow2-cluster.c
73qcow2_alloc_clusters_offset(void *co, uint64_t offset, int bytes) "co %p offset %" PRIx64 " bytes %d"
74qcow2_handle_copied(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " bytes %" PRIx64
75qcow2_handle_alloc(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " bytes %" PRIx64
76qcow2_do_alloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t host_offset, int nb_clusters) "co %p guest_offset %" PRIx64 " host_offset %" PRIx64 " nb_clusters %d"
77qcow2_cluster_alloc_phys(void *co) "co %p"
78qcow2_cluster_link_l2(void *co, int nb_clusters) "co %p nb_clusters %d"
79
80qcow2_l2_allocate(void *bs, int l1_index) "bs %p l1_index %d"
81qcow2_l2_allocate_get_empty(void *bs, int l1_index) "bs %p l1_index %d"
82qcow2_l2_allocate_write_l2(void *bs, int l1_index) "bs %p l1_index %d"
83qcow2_l2_allocate_write_l1(void *bs, int l1_index) "bs %p l1_index %d"
84qcow2_l2_allocate_done(void *bs, int l1_index, int ret) "bs %p l1_index %d ret %d"
85
86# block/qcow2-cache.c
87qcow2_cache_get(void *co, int c, uint64_t offset, bool read_from_disk) "co %p is_l2_cache %d offset %" PRIx64 " read_from_disk %d"
88qcow2_cache_get_replace_entry(void *co, int c, int i) "co %p is_l2_cache %d index %d"
89qcow2_cache_get_read(void *co, int c, int i) "co %p is_l2_cache %d index %d"
90qcow2_cache_get_done(void *co, int c, int i) "co %p is_l2_cache %d index %d"
91qcow2_cache_flush(void *co, int c) "co %p is_l2_cache %d"
92qcow2_cache_entry_flush(void *co, int c, int i) "co %p is_l2_cache %d index %d"
93
94# block/qed-l2-cache.c
95qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p"
96qed_unref_l2_cache_entry(void *entry, int ref) "entry %p ref %d"
97qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %p offset %"PRIu64" ref %d"
98
99# block/qed-table.c
100qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p"
101qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d"
102qed_write_table(void *s, uint64_t offset, void *table, unsigned int index, unsigned int n) "s %p offset %"PRIu64" table %p index %u n %u"
103qed_write_table_cb(void *s, void *table, int flush, int ret) "s %p table %p flush %d ret %d"
104
105# block/qed.c
106qed_need_check_timer_cb(void *s) "s %p"
107qed_start_need_check_timer(void *s) "s %p"
108qed_cancel_need_check_timer(void *s) "s %p"
109qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d"
110qed_aio_setup(void *s, void *acb, int64_t sector_num, int nb_sectors, void *opaque, int flags) "s %p acb %p sector_num %"PRId64" nb_sectors %d opaque %p flags %#x"
111qed_aio_next_io(void *s, void *acb, int ret, uint64_t cur_pos) "s %p acb %p ret %d cur_pos %"PRIu64
112qed_aio_read_data(void *s, void *acb, int ret, uint64_t offset, size_t len) "s %p acb %p ret %d offset %"PRIu64" len %zu"
113qed_aio_write_data(void *s, void *acb, int ret, uint64_t offset, size_t len) "s %p acb %p ret %d offset %"PRIu64" len %zu"
114qed_aio_write_prefill(void *s, void *acb, uint64_t start, size_t len, uint64_t offset) "s %p acb %p start %"PRIu64" len %zu offset %"PRIu64
115qed_aio_write_postfill(void *s, void *acb, uint64_t start, size_t len, uint64_t offset) "s %p acb %p start %"PRIu64" len %zu offset %"PRIu64
116qed_aio_write_main(void *s, void *acb, int ret, uint64_t offset, size_t len) "s %p acb %p ret %d offset %"PRIu64" len %zu"
117