From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60BA6C64E7B for ; Wed, 2 Dec 2020 17:48:15 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id B7C5A208FE for ; Wed, 2 Dec 2020 17:48:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7C5A208FE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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 Content-Transfer-Encoding: 8bit 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 --- 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 ------------------ -- 2.25.1