aboutsummaryrefslogtreecommitdiff
path: root/block/trace-events
diff options
context:
space:
mode:
authorSam Li <faithilikerun@gmail.com>2023-05-08 12:55:32 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2023-05-15 08:17:03 -0400
commit142e307e79908ec58588b38d46ba63928f80ec36 (patch)
treeee74c61eb8e3d7d6bda4c8f66fbd018c5a6e2a86 /block/trace-events
parent8a6aa0bbe5770b8957f7dd7b1598b98ad5566674 (diff)
downloadqemu-142e307e79908ec58588b38d46ba63928f80ec36.zip
qemu-142e307e79908ec58588b38d46ba63928f80ec36.tar.gz
qemu-142e307e79908ec58588b38d46ba63928f80ec36.tar.bz2
block: add some trace events for new block layer APIs
Signed-off-by: Sam Li <faithilikerun@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com> Acked-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20230508045533.175575-8-faithilikerun@gmail.com Message-id: 20230324090605.28361-8-faithilikerun@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/trace-events')
-rw-r--r--block/trace-events2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/trace-events b/block/trace-events
index 48dbf10..3f4e1d0 100644
--- a/block/trace-events
+++ b/block/trace-events
@@ -209,6 +209,8 @@ file_FindEjectableOpticalMedia(const char *media) "Matching using %s"
file_setup_cdrom(const char *partition) "Using %s as optical disc"
file_hdev_is_sg(int type, int version) "SG device found: type=%d, version=%d"
file_flush_fdatasync_failed(int err) "errno %d"
+zbd_zone_report(void *bs, unsigned int nr_zones, int64_t sector) "bs %p report %d zones starting at sector offset 0x%" PRIx64 ""
+zbd_zone_mgmt(void *bs, const char *op_name, int64_t sector, int64_t len) "bs %p %s starts at sector offset 0x%" PRIx64 " over a range of 0x%" PRIx64 " sectors"
# ssh.c
sftp_error(const char *op, const char *ssh_err, int ssh_err_code, int sftp_err_code) "%s failed: %s (libssh error code: %d, sftp error code: %d)"