mbox series

[v3,0/2] vhost-vdpa: add trace functions in vhost-vdpa.c

Message ID 20200925091055.186023-1-lvivier@redhat.com (mailing list archive)
Headers show
Series vhost-vdpa: add trace functions in vhost-vdpa.c | expand

Message

Laurent Vivier Sept. 25, 2020, 9:10 a.m. UTC
Add trace events functions in vdpa functions.

Modify qemu_hexdump() to be able to dump the vdpa config
in trace logs in hexadecimal form.

v3: fix typo in commit message
    trace vhost_vdpa_dma_map() and vhost_vdpa_dma_unmap()

v2: fix problems reported by checkpatch (TAB, missing 0x and 80+ line)
    added Stefan Acked-by

Laurent Vivier (2):
  util/hexdump: introduce qemu_hexdump_line()
  vhost-vdpa: add trace-events

 hw/virtio/trace-events | 31 ++++++++++++++
 hw/virtio/vhost-vdpa.c | 92 +++++++++++++++++++++++++++++++++++++++---
 include/qemu-common.h  |  8 ++++
 util/hexdump.c         | 54 ++++++++++++++++---------
 4 files changed, 160 insertions(+), 25 deletions(-)