Hello, I've started using Intel VTune yesterday to profile the program I've been working on.
I installed it on my Windows 10 host machine and have been connecting remotely to the Linux Docker where the program is running.
- The first issue I have is that I want to use port 2222 to connect to the Linux Docker, like I do when connecting manually via SSH to that same Linux Docker. For that, we use ''-p 127.0.0.1:2222:22 ^'' in the ''docker run'' command.
I specified ''root@127.0.0.1:2222'' as the SSH destination but the only way it works is that I had to specifiy ''-p 127.0.0.1:22:22 ^'' in the ''docker run'' command.
- The second issue I have is that once I ran one profiling session of a few seconds, I expect to see results that take into account the personal shared libraries I'm using and that contain code that I know is executed.
However, what I see is that over tens of seconds of elapsed time, the CPU time is only 0.010s or such low values.
I added the following the BuildSettings.cmake file:
set(CMAKE_BUILD_TYPE Debug) set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf")
and when compiling, the -g appears but VTune is still now seeing any of my personal libraries.
Thank you !