From 6a9d1e28f173031ab6a7f1d26c90f7515331bb20 Mon Sep 17 00:00:00 2001 From: Eugeny Parshutin Date: Wed, 2 Dec 2020 20:48:06 +0300 Subject: [PATCH] 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 --- doc/guides/prog_guide/profile_app.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 ------------------ -- 2.20.1