[0/7] vhost: improve logging
Message ID | 20211223083659.245766-1-maxime.coquelin@redhat.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 21F1CA0350; Thu, 23 Dec 2021 09:37:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2E9C4068C; Thu, 23 Dec 2021 09:37:25 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 49B4D4067B for <dev@dpdk.org>; Thu, 23 Dec 2021 09:37:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1640248643; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dEF0I3pt12mFX0zjW40G8ZPWFael0q8hICcXyC/hfOs=; b=EoS/23FszP0R0fE7zgNPOgxwUpDVc38bthzd8gxUkWiiUON9vC5+vL4UiSQ+5PyYBALmvQ W0qItwexFus/AG5Ypoj1G+qjLShjkYkPqL0+pAhymf7jvLEclawDCvWB6m68AgFOH4Tea4 y5WxdVEtOTtOuTd5rRfKIcUvpFhDL9w= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-413-xnJTxO35O2GVaripdIJhPw-1; Thu, 23 Dec 2021 03:37:20 -0500 X-MC-Unique: xnJTxO35O2GVaripdIJhPw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 74AA5801AAB; Thu, 23 Dec 2021 08:37:19 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.14]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A8F060BD8; Thu, 23 Dec 2021 08:37:01 +0000 (UTC) From: Maxime Coquelin <maxime.coquelin@redhat.com> To: dev@dpdk.org, chenbo.xia@intel.com, david.marchand@redhat.com Cc: Maxime Coquelin <maxime.coquelin@redhat.com> Subject: [PATCH 0/7] vhost: improve logging Date: Thu, 23 Dec 2021 09:36:52 +0100 Message-Id: <20211223083659.245766-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 |
Message
Maxime Coquelin
Dec. 23, 2021, 8:36 a.m. UTC
This series aims at easing Vhost logs analysis, by prepending the Vhost-user socket path to all logs and to remove multi-line comments. Doing so, filtering Vhost-user ports logs is much easier. Maxime Coquelin (7): vhost: improve IOTLB logs vhost: improve vDPA registration failure log vhost: improve socket layer logs vhost: improve Vhost layer logs vhost: improve Vhost-user layer logs vhost: improve Virtio-net layer logs vhost: remove multi-line logs lib/vhost/iotlb.c | 26 +- lib/vhost/iotlb.h | 10 +- lib/vhost/socket.c | 131 ++++----- lib/vhost/vdpa.c | 4 +- lib/vhost/vhost.c | 106 ++++--- lib/vhost/vhost_user.c | 653 ++++++++++++++++++++--------------------- lib/vhost/virtio_net.c | 165 +++++------ 7 files changed, 518 insertions(+), 577 deletions(-)