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 9C863A00C4; Thu, 29 Sep 2022 12:32:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80C3C40694; Thu, 29 Sep 2022 12:32:41 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7A15B40395 for ; Thu, 29 Sep 2022 12:32:40 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28T1UlbW022921; Thu, 29 Sep 2022 03:30:16 -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=VaCjT8pOxOmMQWtJZW5g9D3T7M3ZSyt0WLzLAwLhpdc=; b=alvPrOTDS19i+e4oMIKSev30xXhmpc8/rVQPcL7Td/dqnvn7+NGBwZRrK/YOCYb+YDCq UQz4k2M2UugMA2dVwdCPUjPBZuxYx+i8zBLz5MWcgbXyZ5xHLuZDK96dqy8Q1oULR0HJ aK1+VeHik4u7FdGpMOpdVlIdD7jmcTrFxifUZVXK+trLP+B7f3oapufpbAFik6GSRaMf ndhiaCLh44c+5JCGoGlGI30VsmRzvAh/rDZYLJua3oQx8HGs61KmgtaB3Hl4tHLx//n+ PKYKDCmZJihpA1RNLpUXR2CI8xs59S2OOFRRE3ojn0sRalSPHS5OzB/N1ZUAtvi8QFO4 Rw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3jw1rt1s2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 29 Sep 2022 03:30:15 -0700 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.18; Thu, 29 Sep 2022 03:30:04 -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, 29 Sep 2022 03:30:04 -0700 Received: from hyd1349.t110.caveonetworks.com.com (unknown [10.29.45.13]) by maili.marvell.com (Postfix) with ESMTP id D096A3F705C; Thu, 29 Sep 2022 03:29:42 -0700 (PDT) From: Ankur Dwivedi To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Ankur Dwivedi Subject: [PATCH v2 0/4] add trace points in ethdev library Date: Thu, 29 Sep 2022 15:59:32 +0530 Message-ID: <20220929102936.5490-1-adwivedi@marvell.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220804134430.6192-1-adwivedi@marvell.com> References: <20220804134430.6192-1-adwivedi@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: d1Mi43zxYuVv07YewXUJQkYsJMuWlxfx X-Proofpoint-ORIG-GUID: d1Mi43zxYuVv07YewXUJQkYsJMuWlxfx 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-09-29_06,2022-09-29_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 This series adds trace points for functions in the ethdev library. The trace points are added in ethdev, flow, mtr and tm files. v2: - Made rte_eth_trace_call_rx_callbacks and rte_eth_trace_call_tx_callbacks as fastpath trace functions. - Moved some trace functions call to the end to capture return value and data. - Removed rte_eth_trace_tx_queue_setup as it is not required. rte_ethdev_trace_txq_setup() is already present in rte_eth_tx_queue_setup(). - Removed trace in ethdev_driver.c - Removed trace function check patch. 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 | 148 +++ lib/ethdev/rte_ethdev_trace.h | 2062 ++++++++++++++++++++++++++++++ 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, 3284 insertions(+) -- 2.28.0