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 4DB8CA00C2; Thu, 6 Oct 2022 17:21:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32A0F42B76; Thu, 6 Oct 2022 17:21:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id EA14340DDC for ; Thu, 6 Oct 2022 17:21:41 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2969IbcB006880; Thu, 6 Oct 2022 08:19:17 -0700 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=XUAI+1ccXoiOptDogXbWOTPz6dP3MHw4jXilO8AFFAA=; b=VYDm0jVnJXOyk/qJChdeicWYpsCzxrL/VSNgiflSo6SgixHC3TddNXj134ra8GXpcdtD 1OXc9ZEMnG42TmYJNGYT4LuPOx0LbNROvz6WF/aZpZdROq8RhzJmeLZGdoqGhFO6meL1 Mw5lKVlawQ00+RX7LeLNATfT3AqrQ8ivz+oGjq4vDr0W1B74lgRg1DeUKqEVabbkRZNz SbcxxTLMYiGjagrokTYWfyaJrE2AOTaz/iGa75Pka7AA3IIUMU6tHwXXs42e/491OvmY xgUTVbocA9e34RwHOm3nJ4y9Yvv0ZUDPYUXBHJPp9yQcVmHfZF8Atrhyal18shd+qizR 5w== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3k1v9as8u8-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 06 Oct 2022 08:19:17 -0700 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.2; Thu, 6 Oct 2022 08:19:15 -0700 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.2 via Frontend Transport; Thu, 6 Oct 2022 08:19:14 -0700 Received: from hyd1349.t110.caveonetworks.com.com (unknown [10.29.45.13]) by maili.marvell.com (Postfix) with ESMTP id C7C983F704B; Thu, 6 Oct 2022 08:18:53 -0700 (PDT) From: Ankur Dwivedi To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Ankur Dwivedi Subject: [PATCH v3 0/4] add trace points in ethdev library Date: Thu, 6 Oct 2022 20:48:40 +0530 Message-ID: <20221006151844.23483-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220929102936.5490-1-adwivedi@marvell.com> References: <20220929102936.5490-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: EfMn4fiQ_s95ZTN4UGgUTF-61Pijz2SE X-Proofpoint-ORIG-GUID: EfMn4fiQ_s95ZTN4UGgUTF-61Pijz2SE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-06_04,2022-10-06_02,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 This series adds trace points for functions in the ethdev library. The trace points are added in ethdev, flow, mtr and tm files. v3: - Moved the trace functions from EXPERIMENTAL to INTERNAL in version.map. - Moved trace functions call to the end, in ethdev and flow trace. - Added code to print the input value of features in rte_eth_trace_rx_metadata_negotiate(). - Added code to capture return value in flow trace. Ankur Dwivedi (4): ethdev: add trace points ethdev: add trace points for flow ethdev: add trace points for mtr ethdev: add trace points for tm lib/ethdev/ethdev_private.c | 3 + lib/ethdev/ethdev_trace_points.c | 699 ++++++++++ lib/ethdev/rte_ethdev.c | 152 +++ lib/ethdev/rte_ethdev_trace.h | 2087 ++++++++++++++++++++++++++++++ lib/ethdev/rte_ethdev_trace_fp.h | 19 + lib/ethdev/rte_flow.c | 54 + lib/ethdev/rte_mtr.c | 27 + lib/ethdev/rte_tm.c | 40 + lib/ethdev/version.map | 232 ++++ 9 files changed, 3313 insertions(+) -- 2.28.0