From patchwork Wed Feb 15 09:42:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Dwivedi X-Patchwork-Id: 123936 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 40AF541CA4; Wed, 15 Feb 2023 10:42:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20A7C40EE3; Wed, 15 Feb 2023 10:42:45 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 60D2440A8B for ; Wed, 15 Feb 2023 10:42:44 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31F7GCOA009179; Wed, 15 Feb 2023 01:42:41 -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=KzPf9W/Hv62SM9w5q3DeTk9ut3x0XJcx5ZTOIvSQR18=; b=hfkVuAApUIuCNCoBuSM6swLYx8RWmqFTOfr4GvU9SCf/cHENQJzqx9lwuxmtmaaN+zzR RVX4a6wdAzKSW+UMfqn1u8O++7yxPAsF8KLe0THChcvfGmU3YowrRL8FNKiLTv234Jr6 nD7FToNUjrFLMBUg04+Wfe4zvou8GEYnXIQVNB8gl8mxsc5b0iZ5JUmjZx547XNdWePa oJj0uMvQJAwByUQz6u9S/zERr7xrnRywkyzpqmP3GQrsWR5vFblvES9oW0KjpMx4/pO+ bWKJ4x8VUHV6jBlgQlUK17vtR5sKUyhOJzgS70o1HfSLMbUyGACQ8fJo6IyQitcN+Vco xQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3nr7f5uuht-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 15 Feb 2023 01:42:41 -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:39 -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:39 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 95F983F7040; Wed, 15 Feb 2023 01:42:37 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v3 0/5] remove internal tracepoints from version map Date: Wed, 15 Feb 2023 15:12:23 +0530 Message-ID: <20230215094228.1452656-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230210103446.1126999-1-adwivedi@marvell.com> References: <20230210103446.1126999-1-adwivedi@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: xsmIHLD7f-ke02wJjYsyBkxxmCHttDBw X-Proofpoint-ORIG-GUID: xsmIHLD7f-ke02wJjYsyBkxxmCHttDBw 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 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. This patch removes the internal tracepoints from version.map for mempool, cryptodev, eal, ethdev and eventdev library. v3: - Updated the trace document in patch (3/5). - Removed internal trace file from meson.build in ethdev and eventdev library, in patches (4/5) and (5/5). - Added acked by from Jerin for series. v2: - Removed the internal tracepoint header files from meson.build. - Updated the trace document in "eal: remove internal tracepoints from version map" - Added acked by from Ferruh for "ethdev: remove internal tracepoints from version map" 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 doc/guides/prog_guide/trace_lib.rst | 3 +- ...te_cryptodev_trace.h => cryptodev_trace.h} | 6 +- lib/cryptodev/cryptodev_trace_points.c | 2 +- lib/cryptodev/meson.build | 1 - 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/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/ethdev_trace.h | 6 +- lib/ethdev/meson.build | 1 - lib/ethdev/version.map | 6 - lib/eventdev/eventdev_trace.h | 6 +- lib/eventdev/meson.build | 1 - lib/eventdev/version.map | 30 --- .../{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 -- 31 files changed, 212 insertions(+), 317 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%)