[dpdk-dev] [PATCH] doc: arm64: document DPDK application profiling methods

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Oct 4 14:40:47 CEST 2016


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?



More information about the dev mailing list