From patchwork Thu Feb 9 13:30:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Dwivedi X-Patchwork-Id: 123583 Return-Path: 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 32C4B41C52; Thu, 9 Feb 2023 14:30:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14660410EA; Thu, 9 Feb 2023 14:30:40 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 872F840EDC for ; Thu, 9 Feb 2023 14:30:39 +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 319DOWjQ011582; Thu, 9 Feb 2023 05:30:37 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=xn18j4UnbGiOlAvRdzI2vPAzflc6/ydQ6KtVr5he9Jg=; b=O77K0LH5q+Y45F11cyKacnKxb2WDoaReex5FMxwRk8OELBAzD+8ZBbzUBpqUeTnAMdgW aGR7Wtn2CYV3PNtmPbHFqkaoxKrFgVgvNR/xexqQAQoUHcqn0gUJMVfuMXrv2f/0+w4A 4U5T+gN6I/tiTwuFGwDIHZtqsJ//xvC2rBM76JvyGTYpvgvqvtSEgyIBwQVGuRmiZcg8 wIzjd88UXOAhtYDQ3ZA/6JB8WJw4lnZd3nR4Mz92WKO/W8m5JB0ONWCGQpbtCZRNWAWr T4oYEif9Mfy4uAH5bDGOzvJbIPOLc+K+yL0Sl/ExntqCBWNDj5D1ebhLeMXH7Qy3nX2R PA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nm65m30vp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 09 Feb 2023 05:30:37 -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; Thu, 9 Feb 2023 05:30:35 -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; Thu, 9 Feb 2023 05:30:35 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 8834D5B692A; Thu, 9 Feb 2023 05:30:33 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v1 0/5] remove internal tracepoints from version map Date: Thu, 9 Feb 2023 19:00:14 +0530 Message-ID: <20230209133019.933380-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: d7q6nmqfMxZM4n9_4yaVXZo1IaIq0a4u X-Proofpoint-ORIG-GUID: d7q6nmqfMxZM4n9_4yaVXZo1IaIq0a4u 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 internal tracepoints of a library are not needed to be exported in version.map file, as they will not be called from outside the library. Only the tracepoints called from a public function need to be exported in version.map. This patch removes the internal tracepoints from version.map for mempool, cryptodev, eal, ethdev and eventdev library. Ankur Dwivedi (5): mempool: remove internal tracepoints from version map cryptodev: remove internal tracepoints from version map eal: remove internal tracepoints from version map ethdev: remove internal tracepoints from version map eventdev: remove internal tracepoints from version map ...te_cryptodev_trace.h => cryptodev_trace.h} | 6 +- lib/cryptodev/cryptodev_trace_points.c | 2 +- lib/cryptodev/meson.build | 2 +- lib/cryptodev/rte_cryptodev.c | 2 +- lib/cryptodev/version.map | 62 ------ lib/eal/common/eal_common_launch.c | 2 +- lib/eal/common/eal_common_memzone.c | 2 +- lib/eal/common/eal_common_thread.c | 2 +- lib/eal/common/eal_common_trace_points.c | 2 + lib/eal/common/rte_malloc.c | 2 +- lib/eal/freebsd/eal_alarm.c | 2 +- lib/eal/freebsd/eal_interrupts.c | 2 +- lib/eal/include/eal_trace_internal.h | 182 ++++++++++++++++++ lib/eal/include/meson.build | 1 + lib/eal/include/rte_eal_trace.h | 158 --------------- lib/eal/linux/eal_alarm.c | 2 +- lib/eal/linux/eal_interrupts.c | 2 +- lib/eal/version.map | 15 -- lib/eal/windows/eal_alarm.c | 3 +- lib/ethdev/version.map | 6 - lib/eventdev/version.map | 30 --- .../{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 -- 27 files changed, 209 insertions(+), 308 deletions(-) rename lib/cryptodev/{rte_cryptodev_trace.h => cryptodev_trace.h} (99%) create mode 100644 lib/eal/include/eal_trace_internal.h rename lib/mempool/{rte_mempool_trace.h => mempool_trace.h} (98%)