mbox series

[RFC,0/1] vhost: Add dynamic log tracing

Message ID 20191018082638.4463-1-amorenoz@redhat.com (mailing list archive)
Headers show
Series vhost: Add dynamic log tracing | expand

Message

Adrian Moreno Oct. 18, 2019, 8:26 a.m. UTC
Hi,

Current logging in vhost library has two important limitations:
- dapatath and control logs path use the same log level
- both paths are compiled out by default

This patch (targeting 20.2), changes the logging system in librte_vhost
to overcome these limitations.

Cc: maxime.coquelin@redhat.com

Adrian Moreno (1):
  vhost: Add dynamic logging system

 lib/librte_vhost/iotlb.c      |  10 +--
 lib/librte_vhost/socket.c     |  76 ++++++++--------
 lib/librte_vhost/vhost.c      |  30 +++++--
 lib/librte_vhost/vhost.h      |  24 ++++--
 lib/librte_vhost/vhost_user.c | 158 +++++++++++++++++-----------------
 lib/librte_vhost/virtio_net.c |  40 ++++-----
 6 files changed, 179 insertions(+), 159 deletions(-)