Message ID | 20191018082638.4463-1-amorenoz@redhat.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D4CEC1C11E; Fri, 18 Oct 2019 10:26:57 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 824EC1C11D for <dev@dpdk.org>; Fri, 18 Oct 2019 10:26:56 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C3204307D986; Fri, 18 Oct 2019 08:26:55 +0000 (UTC) Received: from amorenoz.users.ipa.redhat.com (ovpn-117-5.ams2.redhat.com [10.36.117.5]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C1D55D9D5; Fri, 18 Oct 2019 08:26:51 +0000 (UTC) From: Adrian Moreno <amorenoz@redhat.com> To: dev@dpdk.org Cc: tiwei.bie@intel.com, zhihong.wang@intel.com, maxime.coquelin@redhat.com, Adrian Moreno <amorenoz@redhat.com> Date: Fri, 18 Oct 2019 10:26:37 +0200 Message-Id: <20191018082638.4463-1-amorenoz@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Fri, 18 Oct 2019 08:26:55 +0000 (UTC) Subject: [dpdk-dev] [RFC PATCH 0/1] vhost: Add dynamic log tracing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
vhost: Add dynamic log tracing
|
|
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(-)