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 3BC6E41C52; Thu, 9 Feb 2023 14:30:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29C154161A; Thu, 9 Feb 2023 14:30:47 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 6B0C440EDC for ; Thu, 9 Feb 2023 14:30:46 +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 31995UqV024968; Thu, 9 Feb 2023 05:30:42 -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=VO1QGZNoNyijElncYNR5MwNxsbS5KJsmraBYMsonudU=; b=djoFAaljuLv+0bU0/8bqBKKoj21a28w0P8WJza1BtnrkxiMLmE5FjSvRVhJtffFcmNJ7 1gqKUFWqp2BJrs2G/Ar+zX7ywy6sSavlkjflxx2V4fUqS6utwW/Y1A6XQbUppwfv4V8U odCpuuWr7CY59o4hZrkC5xQkDXezHOuMDas36VEMSSfmX99dczHXuLtPObbXOxKYRExz TFVwaSLPYTGAN0RWUVuxhMKO6FoT+nxD9dfazzXaK2vbbfj2m7ehVjuobDbVvTb+9KMt vbKIVrvXn0x8nCGA1m94OEtiafIzr6qmXwfEOCGo6D5GIkLCU3LXVCM4ki5tyazziMn1 nA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nm65m30w0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 09 Feb 2023 05:30:42 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 9 Feb 2023 05:30:40 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Thu, 9 Feb 2023 05:30:40 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 99A615B692A; Thu, 9 Feb 2023 05:30:38 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v1 1/5] mempool: remove internal tracepoints from version map Date: Thu, 9 Feb 2023 19:00:15 +0530 Message-ID: <20230209133019.933380-2-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230209133019.933380-1-adwivedi@marvell.com> References: <20230209133019.933380-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: CSAS3NocSeiwvrD1xCLqxFAkcm-IRNlt X-Proofpoint-ORIG-GUID: CSAS3NocSeiwvrD1xCLqxFAkcm-IRNlt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-09_10,2023-02-09_03,2022-06-22_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 --- .../{rte_mempool_trace.h => mempool_trace.h} | 6 +++--- lib/mempool/mempool_trace_points.c | 2 +- lib/mempool/meson.build | 4 +++- lib/mempool/rte_mempool.c | 2 +- lib/mempool/rte_mempool_ops.c | 2 +- lib/mempool/version.map | 14 -------------- 6 files changed, 9 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..29ae6d21e5 100644 --- a/lib/mempool/meson.build +++ b/lib/mempool/meson.build @@ -17,7 +17,9 @@ sources = files( ) headers = files( 'rte_mempool.h', - 'rte_mempool_trace.h', 'rte_mempool_trace_fp.h', ) +driver_sdk_headers += files( + 'mempool_trace.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