DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ruifeng Wang <Ruifeng.Wang@arm.com>
To: "jerinj@marvell.com" <jerinj@marvell.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"thomas@monjalon.net" <thomas@monjalon.net>,
	"jerinj@marvell.com" <jerinj@marvell.com>, nd <nd@arm.com>
Subject: Re: [dpdk-dev] [PATCH] doc: enhance arm64 profiling documentation
Date: Mon, 12 Jul 2021 06:39:15 +0000	[thread overview]
Message-ID: <AM5PR0802MB246598779A0509429765F1619E159@AM5PR0802MB2465.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20210711075821.3022587-1-jerinj@marvell.com>

> -----Original Message-----
> From: jerinj@marvell.com <jerinj@marvell.com>
> Sent: Sunday, July 11, 2021 3:58 PM
> Cc: dev@dpdk.org; thomas@monjalon.net; Ruifeng Wang
> <Ruifeng.Wang@arm.com>; jerinj@marvell.com
> Subject: [PATCH] doc: enhance arm64 profiling documentation
> 
> From: Jerin Jacob <jerinj@marvell.com>
> 
> Documented the role of RTE_ARM_EAL_RDTSC_USE_PMU to enable PMU
> based rte_rdtsc().
> 
> Signed-off-by: Jerin Jacob <jerinj@marvell.com>
> ---
>  doc/guides/prog_guide/profile_app.rst | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/prog_guide/profile_app.rst
> b/doc/guides/prog_guide/profile_app.rst
> index 52f85bb9e0..bd6700ef85 100644
> --- a/doc/guides/prog_guide/profile_app.rst
> +++ b/doc/guides/prog_guide/profile_app.rst
> @@ -94,7 +94,16 @@ an ARMv8 machine.
>      make
>      sudo insmod pmu_el0_cycle_counter.ko
> 
> -Please refer to :doc:`../linux_gsg/build_dpdk` for details on compiling DPDK
> with meson.
> +Please refer to :doc:`../linux_gsg/build_dpdk` for generic details on
> compiling DPDK with meson.
> +
> +In order to enable ``PMU`` based ``rte_rdtsc()``, user needs to
> +configure the build with ``-Dc_args='-DRTE_ARM_EAL_RDTSC_USE_PMU'``.
> +
> +Example:
> +
> +.. code-block:: console
> +
> +   meson --cross config/arm/arm64_armv8_linux_gcc
> + -Dc_args='-DRTE_ARM_EAL_RDTSC_USE_PMU' build
> 
>  .. warning::
> 
> --
> 2.32.0
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

  reply	other threads:[~2021-07-12  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-11  7:58 jerinj
2021-07-12  6:39 ` Ruifeng Wang [this message]
2021-07-31 16:42   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM5PR0802MB246598779A0509429765F1619E159@AM5PR0802MB2465.eurprd08.prod.outlook.com \
    --to=ruifeng.wang@arm.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=nd@arm.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).