]> git.proxmox.com Git - mirror_qemu.git/commit - block/trace-events
trace: Show blockjob actions via bytes, not sectors
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 12:44:40 +0000 (07:44 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:06 +0000 (13:18 +0200)
commit5cb1a49e01db12a38790c982aafde94977f7b0ee
tree6326520403bcfe69910738cc2fc1bff6684f835a
parentf3e4ce4af336f2ea306fa0f40ec1a5149864ca8c
trace: Show blockjob actions via bytes, not sectors

Upcoming patches are going to switch to byte-based interfaces
instead of sector-based.  Even worse, trace_backup_do_cow_enter()
had a weird mix of cluster and sector indices.

The trace interface is low enough that there are no stability
guarantees, and therefore nothing wrong with changing our units,
even in cases like trace_backup_do_cow_skip() where we are not
changing the trace output.  So make the tracing uniformly use
bytes.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/backup.c
block/commit.c
block/mirror.c
block/stream.c
block/trace-events