From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] doc: arm64: document DPDK application profiling methods Date: Tue, 04 Oct 2016 14:40:47 +0200 Message-ID: <1570506.0gxVEm9dQ5@xps13> References: <1475577630-14318-1-git-send-email-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jianbo.liu@linaro.org, viktorin@rehivetech.com To: Jerin Jacob Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id E32186936 for ; Tue, 4 Oct 2016 14:40:50 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id f193so24756933wmg.0 for ; Tue, 04 Oct 2016 05:40:50 -0700 (PDT) In-Reply-To: <1475577630-14318-1-git-send-email-jerin.jacob@caviumnetworks.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Thanks for providing a patch so quickly :) 2016-10-04 16:10, Jerin Jacob: > +The PMU based scheme useful for high accuracy performance profiling. A verb is missing. > +Find below the example steps to configure the PMU based cycle counter on an > +armv8 machine. > + > +.. code-block:: console > + > + git clone https://github.com/jerinjacobk/armv8_pmu_cycle_counter_el0 > + cd armv8_pmu_cycle_counter_el0 > + make > + sudo insmod pmu_el0_cycle_counter.ko > + cd $DPDK_DIR > + make config T=arm64-armv8a-linuxapp-gcc > + echo "CONFIG_RTE_ARM_EAL_RDTSC_USE_PMU=y" >> build/.config > + make What about the ARM 32 code that Jan is using? > +.. warning:: > + > + This method can not be used in production systems as this may alter PMU > + state used by standard Linux user space tool like perf. More details please?