ethdev: change vtune profiling approach
authorIlia Kurakin <ilia.kurakin@intel.com>
Thu, 19 Jul 2018 12:21:42 +0000 (15:21 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 28 Aug 2018 13:27:39 +0000 (15:27 +0200)
commit2c1bbab7f09d42210ad4c9e120c159c3bf038c8f
treea254637e2b807bc8315c3355ee904519d2ad5dd6
parent53945477981cf75cf8d66e67a098b486e37df167
ethdev: change vtune profiling approach

The patch changes rx_burst profiling approach:
1. VTune's instrumentation is removed
2. empty hook callback for profiling is added
This way all VTune-specific logic moves to the VTune side.
Hook is enabled only when CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE option
is turned on. VTune uses this hook to attach to the polling cycle. It
is not possible to attach to the rx_burst directly, as it is inline.

Signed-off-by: Ilia Kurakin <ilia.kurakin@intel.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
config/common_base
doc/guides/prog_guide/profile_app.rst
lib/librte_ethdev/ethdev_profile.c
lib/librte_ethdev/ethdev_profile.h
lib/librte_ethdev/rte_ethdev.c