From patchwork Wed Dec 2 17:48:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: eugeny.parshutin@linux.intel.com X-Patchwork-Id: 84720 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AB6F9A09DF; Wed, 2 Dec 2020 18:48:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 120C9C9A8; Wed, 2 Dec 2020 18:48:12 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F3832C988 for ; Wed, 2 Dec 2020 18:48:10 +0100 (CET) IronPort-SDR: dA1bgqRNahqbaEi0vbZeLuZai7uiTE3sbrMRLh5cl3JhUh0WvLKxzyzVwpwppEOTTAAPFz+M8A hv+9zpxEtHVw== X-IronPort-AV: E=McAfee;i="6000,8403,9823"; a="234663478" X-IronPort-AV: E=Sophos;i="5.78,387,1599548400"; d="scan'208";a="234663478" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 09:48:08 -0800 IronPort-SDR: 2xYGx+VPCMKY7To5HoRDpknGoDL9EdNzf13A8uDOQTDd6RZALv+t+5sOJcLbFsqc9XMPa42esI 05vN9oKAiPYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,387,1599548400"; d="scan'208";a="481646962" Received: from nntpat98-219.inn.intel.com ([10.125.98.219]) by orsmga004.jf.intel.com with ESMTP; 02 Dec 2020 09:48:06 -0800 From: eugeny.parshutin@linux.intel.com To: bruce.richardson@intel.com, kevin.laatz@intel.com Cc: dev@dpdk.org, ilia.kurakin@intel.com, ciara.power@intel.com Date: Wed, 2 Dec 2020 20:48:06 +0300 Message-Id: <20201202174806.10288-1-eugeny.parshutin@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] doc: add profile with vtune section to prog guide 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" From: Eugeny Parshutin Return back 'profiling with vtune' section to profiling programmers guide with updated instruction on how to enable vtune profiling with meson configuration option. Signed-off-by: Eugeny Parshutin Acked-by: Bruce Richardson --- doc/guides/prog_guide/profile_app.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/guides/prog_guide/profile_app.rst b/doc/guides/prog_guide/profile_app.rst index 709368198..c87ca5d9d 100644 --- a/doc/guides/prog_guide/profile_app.rst +++ b/doc/guides/prog_guide/profile_app.rst @@ -33,6 +33,20 @@ Refer to the for details about application profiling. +Profiling with VTune +~~~~~~~~~~~~~~~~~~~~ + +To allow VTune attaching to the DPDK application, reconfigure a DPDK build +folder by passing ``-Dc_args='-DRTE_ETHDEV_PROFILE_WITH_VTUNE'=1`` meson option +and recompile the DPDK: + +.. code-block:: console + + meson build + meson configure build -Dc_args='-DRTE_ETHDEV_PROFILE_WITH_VTUNE'=1 + ninja -C build + + Profiling on ARM64 ------------------