[dpdk-dev] [PATCH] doc: add profile with vtune section to prog guide
Thomas Monjalon
thomas at monjalon.net
Wed Jan 13 21:22:41 CET 2021
13/01/2021 18:11, Bruce Richardson:
> On Wed, Dec 02, 2020 at 08:48:06PM +0300, eugeny.parshutin at linux.intel.com wrote:
> > From: Eugeny Parshutin <eugeny.parshutin at linux.intel.com>
> >
> > 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 <eugeny.parshutin at linux.intel.com>
> > ---
> > +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
> > +
> Since the VTUNE parts seem to be protected by just "#ifdef" rather than a
> check for a specific value, I think the "=1" can be omitted in the
> instructions. That should also make the quoted unnecessary.
>
> With that change to simplify things,
>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Fixes: 89c67ae2cba7 ("doc: remove references to make from prog guide")
Cc: stable at dpdk.org
Applied with above changes, thanks.
More information about the dev
mailing list