OSDN Git Service

hw/virtio: add vhost_user_[read|write] trace points
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 21 Mar 2022 15:30:27 +0000 (15:30 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 16 May 2022 08:38:40 +0000 (04:38 -0400)
commit6ca6d8ee9dd053eaa625aad48d95d12f4418ef4c
tree276358a58b3ee7961223e372b2723738829305f6
parent31cc62bb5bd43b6c36b1f42d5bde6baca4dffaee
hw/virtio: add vhost_user_[read|write] trace points

These are useful when trying to debug the initial vhost-user
negotiation, especially when it hard to get logging from the low level
library on the other side.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220321153037.3622127-4-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/virtio/trace-events
hw/virtio/vhost-user.c