From patchwork Fri Feb 10 10:34:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Dwivedi X-Patchwork-Id: 123670 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 50E0141C5F; Fri, 10 Feb 2023 11:35:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2FEBB40EE6; Fri, 10 Feb 2023 11:35:19 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7250B40687 for ; Fri, 10 Feb 2023 11:35:17 +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 31A80Qwc029197; Fri, 10 Feb 2023 02:35:15 -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=2iQNCvd+noPrWlpd+SqW6dIDa5evpUsoQB8llDz0j88=; b=XhmwUM8s204/szZK2wVgm4S2qhssKkJnJpWkN21nt3c5cV6zgilXXIvvfwnThMQP+tkn IOLTwvY0qvc7yGaG5zOWMZmVMvAdxrnzCS+R9uqKFsq+cxI/psHPjHWhRdAiHBqyHJTN NhdioUE9af3RiXvrGJvF9JUmn59tKlk4DOjHg/VCHHQ80RIOlnlUvCNGf/Iasz/aC9n9 UftlwPwSlM01RUEqvo4lZG8k2q2EB/KxzOw64TokoltlNJskICzzrpuiBCujex+dq0Lb BKLTCPs3Z0hUPWA4bx62w/romDlDeVsLITE+5owXsRGrDdsQmHLZySYJYh7CDh1X4wZ9 MA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nn71ckubk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 10 Feb 2023 02:35:15 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 10 Feb 2023 02:35:13 -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; Fri, 10 Feb 2023 02:35:13 -0800 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 58EC95B6939; Fri, 10 Feb 2023 02:35:11 -0800 (PST) From: Ankur Dwivedi To: CC: , , , , Ankur Dwivedi Subject: [PATCH v2 0/5] remove internal tracepoints from version map Date: Fri, 10 Feb 2023 16:04:41 +0530 Message-ID: <20230210103446.1126999-1-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 X-Proofpoint-ORIG-GUID: GA3Z5HPoKEJiC8JhtFuwKlUpLUweUPhH X-Proofpoint-GUID: GA3Z5HPoKEJiC8JhtFuwKlUpLUweUPhH 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-10_05,2023-02-09_03,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. The fast path tracepoints which are called from outside the library needs to be exported in version.map. This patch removes the internal tracepoints from version.map for mempool, cryptodev, eal, ethdev and eventdev library. 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 | 18 +- ...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/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 | 1 - lib/mempool/rte_mempool.c | 2 +- lib/mempool/rte_mempool_ops.c | 2 +- lib/mempool/version.map | 14 -- 27 files changed, 213 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%)