From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EFCE4A04AF; Sun, 3 May 2020 22:32:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C6131D50A; Sun, 3 May 2020 22:32:11 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id BEDEF1D443 for ; Sun, 3 May 2020 22:32:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588537928; 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=VJi3XGYoKf/6sIv1NctauNvnT79o0gn1wTChmtnh8as=; b=VZLNab4Hx478fz6a0YQ99oshbinkq1fAyzjBCqq4rJgLMgwN4OsL5B+cAoKn9asY8KJgJF unTeCSgbkRU/MCLVPf74c3Zjkjs09RYELFC/DS4cAQGZP/0l32NIoUh0/rdqCcDpG3LC13 Jq4WxZ6cbcNsR/kCZ5l0vmJKtbdn6OA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-38-eZBLRS0_Mrih-QjSpEWzcg-1; Sun, 03 May 2020 16:32:05 -0400 X-MC-Unique: eZBLRS0_Mrih-QjSpEWzcg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1EE9C80183C; Sun, 3 May 2020 20:32:04 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.236]) by smtp.corp.redhat.com (Postfix) with ESMTP id C214B6F972; Sun, 3 May 2020 20:32:02 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net Date: Sun, 3 May 2020 22:31:27 +0200 Message-Id: <20200503203135.6493-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH 0/8] Traces cleanup for rc2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Couple of fixes and cleanup (missed during initial review) on the newly introduced traces framework. Phil patch [1] has been rebased as part of this series. 1: http://patchwork.dpdk.org/patch/69467/ --=20 David Marchand David Marchand (7): cryptodev: fix trace points registration trace: simplify trace point registration trace: simplify trace point headers trace: avoid confusion on optarg trace: remove unneeded checks in internal API trace: remove limitation on patterns number trace: remove string duplication Phil Yang (1): trace: fix build with gcc 10 app/test/test_trace_register.c | 15 +- doc/guides/prog_guide/trace_lib.rst | 31 +-- lib/librte_cryptodev/cryptodev_trace_points.c | 82 +++---- lib/librte_eal/common/eal_common_trace.c | 10 +- .../common/eal_common_trace_points.c | 166 ++++++-------- .../common/eal_common_trace_utils.c | 85 +++---- lib/librte_eal/common/eal_trace.h | 16 +- lib/librte_eal/include/meson.build | 1 - lib/librte_eal/include/rte_eal_trace.h | 122 +++++------ lib/librte_eal/include/rte_trace_point.h | 154 ++++++++++--- .../include/rte_trace_point_provider.h | 131 ----------- .../include/rte_trace_point_register.h | 15 +- lib/librte_ethdev/ethdev_trace_points.c | 46 ++-- lib/librte_eventdev/eventdev_trace_points.c | 207 +++++++----------- lib/librte_mempool/mempool_trace_points.c | 126 +++++------ 15 files changed, 492 insertions(+), 715 deletions(-) delete mode 100644 lib/librte_eal/include/rte_trace_point_provider.h --=20 2.23.0