[dpdk-dev] [PATCH] doc: add profile with vtune section to prog guide
eugeny.parshutin at linux.intel.com
eugeny.parshutin at linux.intel.com
Wed Dec 2 18:48:06 CET 2020
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>
---
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 709368198..c87ca5d9d 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'=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
+
+
Profiling on ARM64
------------------
--
2.25.1
More information about the dev
mailing list