From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9AA62A057B; Thu, 2 Apr 2020 13:15:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 78BF42C15; Thu, 2 Apr 2020 13:15:37 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id BD9A32B8B for ; Thu, 2 Apr 2020 13:15:35 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 604615C0297; Thu, 2 Apr 2020 07:15:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 02 Apr 2020 07:15:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=6vmEyOTep216fQQ3PycnjFIyjxWult1IRyomHy3MMRk=; b=KleZJTDfjsHv Gv8m88FhRRvByrRKSWkPVSA8ovVo78d7JlH6L6vccsIiWeP4bzVW7qv20sK5A+Ju YmFL0EiNqrkgV/e3LGlFIuU+m+fvp3G9FOuy2PSqe7RMlc6EoI7Txwc/WHMD7HZm dOe1rd7lJFWJdco65tiI/cRgVMbGLCk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6vmEyOTep216fQQ3PycnjFIyjxWult1IRyomHy3MM Rk=; b=CxOjpqKEMQ/UVUwc2rgvXVnhGa+vzpqVME0WLx/LpSNJpGK6CcRUV+5XI wF1iEZNrWct1LwJJi0JLHnkudKtBROvmDyAcccEnc7OsA0YuI310sIeHCDHbmmVs xwelqB0w/9Xoa/QFgJ4vxZ24bsC0bw28a9asXtslHtOh/76k2fOjWJTc0UeF7yKB rakLJ4fTImqvtISBvIxScpOTvuBgZgEYDAmCvnTOV0uRuAkg2Xp7LUfNOOVYsoLY 3STVP2WByvmlb7DixJgholXaA2Pn/6mJoH6SAGZ187dxK3tp6I7jd6q7hvRx9f/O j3gIm+YX/75prmYidFeazFcga90jQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeggdefvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgepudenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 95567306CDF2; Thu, 2 Apr 2020 07:15:34 -0400 (EDT) From: Thomas Monjalon To: Viacheslav Ovsiienko Cc: dev@dpdk.org, ferruh.yigit@intel.com, bernard.iremonger@intel.com Date: Thu, 02 Apr 2020 13:15:33 +0200 Message-ID: <9613089.85pcf5A44T@xps> In-Reply-To: <1584625851-10291-2-git-send-email-viacheslavo@mellanox.com> References: <1561553317-16777-1-git-send-email-viacheslavo@mellanox.com> <1584625851-10291-1-git-send-email-viacheslavo@mellanox.com> <1584625851-10291-2-git-send-email-viacheslavo@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 1/3] app/testpmd: add profiling flags set command X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 19/03/2020 14:50, Viacheslav Ovsiienko: > +set fwdprof > +~~~~~~~~~~~ > + > +Set the flags controlling the datapath profiling statistics:: > + > + testpmd> set fwdprof (flags) > + > +This command is available only if ``CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES`` is > +configured to Y, enabling the profiling code generation. > + > +The bitmask flag controls the gathering profiling statistics for datapath: > + > +* ``bit 0`` enables gathering the profiling data for the entire > + forwarding routine, counts the ticks spent in the forwarding routine, > + is set by default. > +* ``bit 1`` enables gathering the profiling data for the transmit datapath, > + counts the ticks spent within rte_eth_tx_burst() routine, is cleared by > + default. > +* ``bit 2`` enables gathering the profiling data for the receive datapath, > + counts the ticks spent within rte_eth_rx_burst() routine, is cleared by > + default. As commented in the cover letter, please replace flags with Rx/Tx text tokens.