From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4A33E41CA4; Wed, 15 Feb 2023 10:42:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 37F5742FE6; Wed, 15 Feb 2023 10:42:52 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6230342FDA for ; Wed, 15 Feb 2023 10:42:51 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31F9FxTd007391; Wed, 15 Feb 2023 01:42:48 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=0i6W33OXMUWWctaHXzFZXgb/HOChmcAyEUJ9QGEvn10=; b=PBkiQ+4nOban8sOyYTRAlNVoTjQw9RH1KFk4IP/q0pFH+kdyWJv8kvJ7SfyvMUvOF5Gj KPOxtjzRfv+54ACSc+q393Imru0zU03wDwOnJNzUp5Bp5GJeB4uc8KObcILt+XD7DmzG NjlMvBOBbTZYycf1B75fn3IvHepYgW4Dzu4b4Gt0dAnUGMcYBIftowNwwrcg+NKe7svJ t6XbyLHUalUrGCpP5a69tiheEpOBW712ywc33As/Z5ZnD2V9LFI0P5Hqa4o305/CYTYg 9kryNWXhvXHJFX/Pc1t9DjhnpRHn6IywUQbFfEXUtYRqTjXcEzY3Lh25ZZADAb/VDU7c AQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nrumggc0d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 15 Feb 2023 01:42:48 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 15 Feb 2023 01:42:46 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Wed, 15 Feb 2023 01:42:46 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id CA1D63F7040; Wed, 15 Feb 2023 01:42:44 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v3 1/5] mempool: remove internal tracepoints from version map Date: Wed, 15 Feb 2023 15:12:24 +0530 Message-ID: <20230215094228.1452656-2-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230215094228.1452656-1-adwivedi@marvell.com> References: <20230210103446.1126999-1-adwivedi@marvell.com> <20230215094228.1452656-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: LY8AIzkzh_Lu2lzQOM-4GBfMDFfdIG1S X-Proofpoint-ORIG-GUID: LY8AIzkzh_Lu2lzQOM-4GBfMDFfdIG1S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-15_06,2023-02-14_01,2023-02-09_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The file rte_mempool_trace.h contains tracepoints which are internal to the mempool library. This file is renamed to mempool_trace.h, and is made an internal header. The tracepoints in this file are removed from the experimental section in version.map file. Signed-off-by: Ankur Dwivedi Acked-by: Jerin Jacob --- .../{rte_mempool_trace.h => mempool_trace.h} | 6 +++--- lib/mempool/mempool_trace_points.c | 2 +- lib/mempool/meson.build | 1 - lib/mempool/rte_mempool.c | 2 +- lib/mempool/rte_mempool_ops.c | 2 +- lib/mempool/version.map | 14 -------------- 6 files changed, 6 insertions(+), 21 deletions(-) rename lib/mempool/{rte_mempool_trace.h => mempool_trace.h} (98%) diff --git a/lib/mempool/rte_mempool_trace.h b/lib/mempool/mempool_trace.h similarity index 98% rename from lib/mempool/rte_mempool_trace.h rename to lib/mempool/mempool_trace.h index 087c913c8c..3e663c72e4 100644 --- a/lib/mempool/rte_mempool_trace.h +++ b/lib/mempool/mempool_trace.h @@ -2,8 +2,8 @@ * Copyright(C) 2020 Marvell International Ltd. */ -#ifndef _RTE_MEMPOOL_TRACE_H_ -#define _RTE_MEMPOOL_TRACE_H_ +#ifndef _MEMPOOL_TRACE_H_ +#define _MEMPOOL_TRACE_H_ /** * @file @@ -172,4 +172,4 @@ RTE_TRACE_POINT( } #endif -#endif /* _RTE_MEMPOOL_TRACE_H_ */ +#endif /* _MEMPOOL_TRACE_H_ */ diff --git a/lib/mempool/mempool_trace_points.c b/lib/mempool/mempool_trace_points.c index 4ad76deb34..307018094d 100644 --- a/lib/mempool/mempool_trace_points.c +++ b/lib/mempool/mempool_trace_points.c @@ -4,7 +4,7 @@ #include -#include "rte_mempool_trace.h" +#include "mempool_trace.h" RTE_TRACE_POINT_REGISTER(rte_mempool_trace_ops_dequeue_bulk, lib.mempool.ops.deq.bulk) diff --git a/lib/mempool/meson.build b/lib/mempool/meson.build index b8aaa00694..8099a56466 100644 --- a/lib/mempool/meson.build +++ b/lib/mempool/meson.build @@ -17,7 +17,6 @@ sources = files( ) headers = files( 'rte_mempool.h', - 'rte_mempool_trace.h', 'rte_mempool_trace_fp.h', ) deps += ['ring', 'telemetry'] diff --git a/lib/mempool/rte_mempool.c b/lib/mempool/rte_mempool.c index 45b5df6199..cf5dea2304 100644 --- a/lib/mempool/rte_mempool.c +++ b/lib/mempool/rte_mempool.c @@ -28,8 +28,8 @@ #include #include +#include "mempool_trace.h" #include "rte_mempool.h" -#include "rte_mempool_trace.h" TAILQ_HEAD(rte_mempool_list, rte_tailq_entry); diff --git a/lib/mempool/rte_mempool_ops.c b/lib/mempool/rte_mempool_ops.c index 3b43edc548..ae1d288f27 100644 --- a/lib/mempool/rte_mempool_ops.c +++ b/lib/mempool/rte_mempool_ops.c @@ -11,7 +11,7 @@ #include #include -#include "rte_mempool_trace.h" +#include "mempool_trace.h" /* indirect jump table to support external memory pools. */ struct rte_mempool_ops_table rte_mempool_ops_table = { diff --git a/lib/mempool/version.map b/lib/mempool/version.map index b67d7aace7..dff2d1cb55 100644 --- a/lib/mempool/version.map +++ b/lib/mempool/version.map @@ -47,22 +47,8 @@ EXPERIMENTAL { __rte_mempool_trace_generic_get; __rte_mempool_trace_get_bulk; __rte_mempool_trace_get_contig_blocks; - __rte_mempool_trace_create; - __rte_mempool_trace_create_empty; - __rte_mempool_trace_free; - __rte_mempool_trace_populate_iova; - __rte_mempool_trace_populate_virt; - __rte_mempool_trace_populate_default; - __rte_mempool_trace_populate_anon; - __rte_mempool_trace_cache_create; - __rte_mempool_trace_cache_free; __rte_mempool_trace_default_cache; - __rte_mempool_trace_get_page_size; __rte_mempool_trace_cache_flush; - __rte_mempool_trace_ops_populate; - __rte_mempool_trace_ops_alloc; - __rte_mempool_trace_ops_free; - __rte_mempool_trace_set_ops_byname; }; INTERNAL { -- 2.25.1