From: Eugeny Parshutin Date: Wed, 2 Dec 2020 17:48:06 +0000 (+0300) Subject: doc: add vtune profiling config to prog guide X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6a9d1e28f173031ab6a7f1d26c90f7515331bb20;p=dpdk.git doc: add vtune profiling config to prog guide Return back 'profiling with vtune' section to profiling programmers guide with updated instruction on how to enable vtune profiling with meson configuration option. Fixes: 89c67ae2cba7 ("doc: remove references to make from prog guide") Cc: stable@dpdk.org Signed-off-by: Eugeny Parshutin Acked-by: Bruce Richardson --- diff --git a/doc/guides/prog_guide/profile_app.rst b/doc/guides/prog_guide/profile_app.rst index 7093681983..52f85bb9e0 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`` meson option +and recompile the DPDK: + +.. code-block:: console + + meson build + meson configure build -Dc_args=-DRTE_ETHDEV_PROFILE_WITH_VTUNE + ninja -C build + + Profiling on ARM64 ------------------