[dpdk-dev] [RFC PATCH 0/1] vhost: Add dynamic log tracing

Adrian Moreno amorenoz at redhat.com
Fri Oct 18 10:26:37 CEST 2019


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 at 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(-)

-- 
2.21.0



More information about the dev mailing list