]> git.proxmox.com Git - mirror_qemu.git/blame - block/trace-events
blockjobs: add block_job_verb permission table
[mirror_qemu.git] / block / trace-events
CommitLineData
87e0331c 1# See docs/devel/tracing.txt for syntax documentation.
b54ca48e
DB
2
3# block.c
db73ee4b 4bdrv_open_common(void *bs, const char *filename, int flags, const char *format_name) "bs %p filename \"%s\" flags 0x%x format_name \"%s\""
b54ca48e
DB
5bdrv_lock_medium(void *bs, bool locked) "bs %p locked %d"
6
c9de4050
JS
7# blockjob.c
8block_job_state_transition(void *job, int ret, const char *legal, const char *s0, const char *s1) "job %p (ret: %d) attempting %s transition (%s-->%s)"
0ec4dfb8 9block_job_apply_verb(void *job, const char *state, const char *verb, const char *legal) "job %p in state %s; applying verb %s (%s)"
c9de4050 10
b54ca48e 11# block/block-backend.c
8908eb1a
VSO
12blk_co_preadv(void *blk, void *bs, int64_t offset, unsigned int bytes, int flags) "blk %p bs %p offset %"PRId64" bytes %u flags 0x%x"
13blk_co_pwritev(void *blk, void *bs, int64_t offset, unsigned int bytes, int flags) "blk %p bs %p offset %"PRId64" bytes %u flags 0x%x"
d03654ea
SH
14blk_root_attach(void *child, void *blk, void *bs) "child %p blk %p bs %p"
15blk_root_detach(void *child, void *blk, void *bs) "child %p blk %p bs %p"
b54ca48e
DB
16
17# block/io.c
f42cf447
DB
18bdrv_co_preadv(void *bs, int64_t offset, int64_t nbytes, unsigned int flags) "bs %p offset %"PRId64" nbytes %"PRId64" flags 0x%x"
19bdrv_co_pwritev(void *bs, int64_t offset, int64_t nbytes, unsigned int flags) "bs %p offset %"PRId64" nbytes %"PRId64" flags 0x%x"
db73ee4b 20bdrv_co_pwrite_zeroes(void *bs, int64_t offset, int count, int flags) "bs %p offset %"PRId64" count %d flags 0x%x"
7cfd5275 21bdrv_co_do_copy_on_readv(void *bs, int64_t offset, unsigned int bytes, int64_t cluster_offset, int64_t cluster_bytes) "bs %p offset %"PRId64" bytes %u cluster_offset %"PRId64" cluster_bytes %"PRId64
b54ca48e
DB
22
23# block/stream.c
5cb1a49e 24stream_one_iteration(void *s, int64_t offset, uint64_t bytes, int is_allocated) "s %p offset %" PRId64 " bytes %" PRIu64 " is_allocated %d"
5ccac6f1 25stream_start(void *bs, void *base, void *s) "bs %p base %p s %p"
b54ca48e
DB
26
27# block/commit.c
5cb1a49e 28commit_one_iteration(void *s, int64_t offset, uint64_t bytes, int is_allocated) "s %p offset %" PRId64 " bytes %" PRIu64 " is_allocated %d"
5ccac6f1 29commit_start(void *bs, void *base, void *top, void *s) "bs %p base %p top %p s %p"
b54ca48e
DB
30
31# block/mirror.c
5ccac6f1 32mirror_start(void *bs, void *s, void *opaque) "bs %p s %p opaque %p"
b54ca48e
DB
33mirror_restart_iter(void *s, int64_t cnt) "s %p dirty count %"PRId64
34mirror_before_flush(void *s) "s %p"
35mirror_before_drain(void *s, int64_t cnt) "s %p dirty count %"PRId64
36mirror_before_sleep(void *s, int64_t cnt, int synced, uint64_t delay_ns) "s %p dirty count %"PRId64" synced %d delay %"PRIu64"ns"
5cb1a49e
EB
37mirror_one_iteration(void *s, int64_t offset, uint64_t bytes) "s %p offset %" PRId64 " bytes %" PRIu64
38mirror_iteration_done(void *s, int64_t offset, uint64_t bytes, int ret) "s %p offset %" PRId64 " bytes %" PRIu64 " ret %d"
b54ca48e 39mirror_yield(void *s, int64_t cnt, int buf_free_count, int in_flight) "s %p dirty count %"PRId64" free buffers %d in_flight %d"
5cb1a49e 40mirror_yield_in_flight(void *s, int64_t offset, int in_flight) "s %p offset %" PRId64 " in_flight %d"
b54ca48e
DB
41
42# block/backup.c
5cb1a49e
EB
43backup_do_cow_enter(void *job, int64_t start, int64_t offset, uint64_t bytes) "job %p start %" PRId64 " offset %" PRId64 " bytes %" PRIu64
44backup_do_cow_return(void *job, int64_t offset, uint64_t bytes, int ret) "job %p offset %" PRId64 " bytes %" PRIu64 " ret %d"
b54ca48e
DB
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"
b54ca48e
DB
55qmp_block_stream(void *bs, void *job) "bs %p job %p"
56
c1bb86cd
EB
57# block/file-win32.c
58# block/file-posix.c
b54ca48e 59paio_submit_co(int64_t offset, int count, int type) "offset %"PRId64" count %d type %d"
36e3b2e7 60paio_submit(void *acb, void *opaque, int64_t offset, int count, int type) "acb %p opaque %p offset %"PRId64" count %d type %d"
b54ca48e
DB
61
62# block/qcow2.c
8908eb1a 63qcow2_writev_start_req(void *co, int64_t offset, int bytes) "co %p offset 0x%" PRIx64 " bytes %d"
b54ca48e
DB
64qcow2_writev_done_req(void *co, int ret) "co %p ret %d"
65qcow2_writev_start_part(void *co) "co %p"
66qcow2_writev_done_part(void *co, int cur_bytes) "co %p cur_bytes %d"
8908eb1a
VSO
67qcow2_writev_data(void *co, uint64_t offset) "co %p offset 0x%" PRIx64
68qcow2_pwrite_zeroes_start_req(void *co, int64_t offset, int count) "co %p offset 0x%" PRIx64 " count %d"
69qcow2_pwrite_zeroes(void *co, int64_t offset, int count) "co %p offset 0x%" PRIx64 " count %d"
b54ca48e
DB
70
71# block/qcow2-cluster.c
8908eb1a
VSO
72qcow2_alloc_clusters_offset(void *co, uint64_t offset, int bytes) "co %p offset 0x%" PRIx64 " bytes %d"
73qcow2_handle_copied(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset 0x%" PRIx64 " host_offset 0x%" PRIx64 " bytes 0x%" PRIx64
74qcow2_handle_alloc(void *co, uint64_t guest_offset, uint64_t host_offset, uint64_t bytes) "co %p guest_offset 0x%" PRIx64 " host_offset 0x%" PRIx64 " bytes 0x%" PRIx64
75qcow2_do_alloc_clusters_offset(void *co, uint64_t guest_offset, uint64_t host_offset, int nb_clusters) "co %p guest_offset 0x%" PRIx64 " host_offset 0x%" PRIx64 " nb_clusters %d"
b54ca48e
DB
76qcow2_cluster_alloc_phys(void *co) "co %p"
77qcow2_cluster_link_l2(void *co, int nb_clusters) "co %p nb_clusters %d"
78
79qcow2_l2_allocate(void *bs, int l1_index) "bs %p l1_index %d"
80qcow2_l2_allocate_get_empty(void *bs, int l1_index) "bs %p l1_index %d"
81qcow2_l2_allocate_write_l2(void *bs, int l1_index) "bs %p l1_index %d"
82qcow2_l2_allocate_write_l1(void *bs, int l1_index) "bs %p l1_index %d"
83qcow2_l2_allocate_done(void *bs, int l1_index, int ret) "bs %p l1_index %d ret %d"
84
85# block/qcow2-cache.c
8908eb1a 86qcow2_cache_get(void *co, int c, uint64_t offset, bool read_from_disk) "co %p is_l2_cache %d offset 0x%" PRIx64 " read_from_disk %d"
b54ca48e
DB
87qcow2_cache_get_replace_entry(void *co, int c, int i) "co %p is_l2_cache %d index %d"
88qcow2_cache_get_read(void *co, int c, int i) "co %p is_l2_cache %d index %d"
89qcow2_cache_get_done(void *co, int c, int i) "co %p is_l2_cache %d index %d"
90qcow2_cache_flush(void *co, int c) "co %p is_l2_cache %d"
91qcow2_cache_entry_flush(void *co, int c, int i) "co %p is_l2_cache %d index %d"
92
93# block/qed-l2-cache.c
94qed_alloc_l2_cache_entry(void *l2_cache, void *entry) "l2_cache %p entry %p"
95qed_unref_l2_cache_entry(void *entry, int ref) "entry %p ref %d"
96qed_find_l2_cache_entry(void *l2_cache, void *entry, uint64_t offset, int ref) "l2_cache %p entry %p offset %"PRIu64" ref %d"
97
98# block/qed-table.c
99qed_read_table(void *s, uint64_t offset, void *table) "s %p offset %"PRIu64" table %p"
100qed_read_table_cb(void *s, void *table, int ret) "s %p table %p ret %d"
101qed_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"
102qed_write_table_cb(void *s, void *table, int flush, int ret) "s %p table %p flush %d ret %d"
103
104# block/qed.c
105qed_need_check_timer_cb(void *s) "s %p"
106qed_start_need_check_timer(void *s) "s %p"
107qed_cancel_need_check_timer(void *s) "s %p"
108qed_aio_complete(void *s, void *acb, int ret) "s %p acb %p ret %d"
db73ee4b 109qed_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 0x%x"
b54ca48e
DB
110qed_aio_next_io(void *s, void *acb, int ret, uint64_t cur_pos) "s %p acb %p ret %d cur_pos %"PRIu64
111qed_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"
112qed_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"
113qed_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
114qed_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
115qed_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"
da92c3ff
AM
116
117# block/vxhs.c
118vxhs_iio_callback(int error) "ctx is NULL: error %d"
119vxhs_iio_callback_chnfail(int err, int error) "QNIO channel failed, no i/o %d, %d"
120vxhs_iio_callback_unknwn(int opcode, int err) "unexpected opcode %d, errno %d"
121vxhs_aio_rw_invalid(int req) "Invalid I/O request iodir %d"
122vxhs_aio_rw_ioerr(char *guid, int iodir, uint64_t size, uint64_t off, void *acb, int ret, int err) "IO ERROR (vDisk %s) FOR : Read/Write = %d size = %"PRIu64" offset = %"PRIu64" ACB = %p. Error = %d, errno = %d"
123vxhs_get_vdisk_stat_err(char *guid, int ret, int err) "vDisk (%s) stat ioctl failed, ret = %d, errno = %d"
124vxhs_get_vdisk_stat(char *vdisk_guid, uint64_t vdisk_size) "vDisk %s stat ioctl returned size %"PRIu64
125vxhs_complete_aio(void *acb, uint64_t ret) "aio failed acb %p ret %"PRIu64
126vxhs_parse_uri_filename(const char *filename) "URI passed via bdrv_parse_filename %s"
127vxhs_open_vdiskid(const char *vdisk_id) "Opening vdisk-id %s"
128vxhs_open_hostinfo(char *of_vsa_addr, int port) "Adding host %s:%d to BDRVVXHSState"
129vxhs_open_iio_open(const char *host) "Failed to connect to storage agent on host %s"
130vxhs_parse_uri_hostinfo(char *host, int port) "Host: IP %s, Port %d"
131vxhs_close(char *vdisk_guid) "Closing vdisk %s"
132vxhs_get_creds(const char *cacert, const char *client_key, const char *client_cert) "cacert %s, client_key %s, client_cert %s"
bdd6a90a
FZ
133
134# block/nvme.c
135nvme_kick(void *s, int queue) "s %p queue %d"
136nvme_dma_flush_queue_wait(void *s) "s %p"
137nvme_error(int cmd_specific, int sq_head, int sqid, int cid, int status) "cmd_specific %d sq_head %d sqid %d cid %d status 0x%x"
138nvme_process_completion(void *s, int index, int inflight) "s %p queue %d inflight %d"
139nvme_process_completion_queue_busy(void *s, int index) "s %p queue %d"
140nvme_complete_command(void *s, int index, int cid) "s %p queue %d cid %d"
141nvme_submit_command(void *s, int index, int cid) "s %p queue %d cid %d"
142nvme_submit_command_raw(int c0, int c1, int c2, int c3, int c4, int c5, int c6, int c7) "%02x %02x %02x %02x %02x %02x %02x %02x"
143nvme_handle_event(void *s) "s %p"
144nvme_poll_cb(void *s) "s %p"
145nvme_prw_aligned(void *s, int is_write, uint64_t offset, uint64_t bytes, int flags, int niov) "s %p is_write %d offset %"PRId64" bytes %"PRId64" flags %d niov %d"
146nvme_qiov_unaligned(const void *qiov, int n, void *base, size_t size, int align) "qiov %p n %d base %p size 0x%zx align 0x%x"
147nvme_prw_buffered(void *s, uint64_t offset, uint64_t bytes, int niov, int is_write) "s %p offset %"PRId64" bytes %"PRId64" niov %d is_write %d"
148nvme_rw_done(void *s, int is_write, uint64_t offset, uint64_t bytes, int ret) "s %p is_write %d offset %"PRId64" bytes %"PRId64" ret %d"
149nvme_dma_map_flush(void *s) "s %p"
150nvme_free_req_queue_wait(void *q) "q %p"
151nvme_cmd_map_qiov(void *s, void *cmd, void *req, void *qiov, int entries) "s %p cmd %p req %p qiov %p entries %d"
152nvme_cmd_map_qiov_pages(void *s, int i, uint64_t page) "s %p page[%d] 0x%"PRIx64
153nvme_cmd_map_qiov_iov(void *s, int i, void *page, int pages) "s %p iov[%d] %p pages %d"