]> git.proxmox.com Git - mirror_qemu.git/commit
hw/virtio: fix vhost_user_read tracepoint
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 28 Jul 2022 13:55:03 +0000 (14:55 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Aug 2022 11:07:37 +0000 (07:07 -0400)
commit643a943554041a10f372a33a5ce7c9ef51007a74
tree83475442d92bac8d5572268c3a2d1a15b95d7479
parent5a9d5f09b1f61bc7072c2389ba5b11350ae76b0d
hw/virtio: fix vhost_user_read tracepoint

As reads happen in the callback we were never seeing them. We only
really care about the header so move the tracepoint to when the header
is complete.

Fixes: 6ca6d8ee9d (hw/virtio: add vhost_user_[read|write] trace points)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220728135503.1060062-5-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c