README.txt 1.5 KB

123456789101112131415161718
  1. 07JUN20
  2. Using -gstabs debugging tag to compile lame.exe, for VTune Profiler, we found differences in the profiling results (sometimes lame.exe/related functions would be shown
  3. and sometimes not).
  4. Found an Intel employee and post,
  5. See Dennis Mochanov: https://software.intel.com/en-us/forums/vtune/topic/852219
  6. "For MinGW binaries VTune expects debugging information in DWARF format. Make sure your application is built with -g or -gdwarf-version option"
  7. & related post: https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/debug-info-for-linux-binaries.html
  8. He suggested to use the DWARF format when compiling (states that VTune expects the DWARF format for MinGW binaries), however the above link states linux targets & binaries.
  9. We are trying to solve the issue in WINDOWS for .exe files. To see if there is an validity in using the DWARF format, we will test out his "suggested advice".
  10. Using the above advice, using the -gdwarf-2 or -g will work with the profiler. -g is for debug info, -gdwarf is the format for the profiler.
  11. Taking out the source path or binary/symbols path is not necessary for the setup of VTune profiler.
  12. having the object or sources files in the working directory is not necessary.
  13. The profiler using "pulling" at a given interval, in this case it is about 1ms. If your program executes faster than the profiler, you won't see it in the
  14. analysis results. This is the main issue
  15. we had for VTune aside from the gcc arguments we found mentioned above.