- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello,
I am using VTune 2018 to profile my code but I am unable to see the source code, I can only see the machine code.
Here is my setup:
- Ubuntu 16.04.4 LTS
- gcc 5.4.0 with cmake 3.5.1 (not sure if it is relevant)
- gcc flags: -O2 -g -DNDEBUG
I get the following collection log:
Jul 25 2018 19:55:24 Result finalization has completed with warnings that may affect the representation of the analysis data. Please see details below.
Cannot locate debugging information for file `/opt/intel/vtune_amplifier_2018.3.0.558279/lib64/pinruntime/libc-dynamic.so'.
Cannot locate debugging information for file `/usr/local/lib/libopencv_highgui.so.3.1'.
Cannot locate debugging information for file `/usr/lib/libtcmalloc_and_profiler.so.4'.
Cannot locate debugging information for file `/home/amerouane/autox_code/cmake-build-relwithdebinfo/bin/lidar_labeler_node'.
Cannot locate debugging information for file `/usr/local/lib/libopencv_imgcodecs.so.3.1'.
Cannot locate debugging information for file `/usr/lib/x86_64-linux-gnu/libstdc++.so.6'. Cannot match the module with the symbol file `/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21'. Make sure to specify the correct path to the symbol file in the Binary/Symbol Search list of directories.
Cannot locate debugging information for file `/lib64/ld-linux-x86-64.so.2'.
Cannot locate debugging information for file `/usr/lib/x86_64-linux-gnu/libunwind.so.8'.
Cannot locate debugging information for file `/opt/intel/vtune_amplifier_2018.3.0.558279/lib64/libtpsstool.so'.
Cannot locate debugging information for file `/usr/local/caffe2/lib/libcaffe2_gpu.so'.
Cannot locate file `[stack]'.
Cannot locate debugging information for file `/usr/local/lib/libopencv_imgproc.so.3.1'.
Cannot locate debugging information for file `/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0'. Cannot match the module with the symbol file `/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.30'. Make sure to specify the correct path to the symbol file in the Binary/Symbol Search list of directories.
Cannot locate debugging information for file `/usr/local/lib/libopencv_core.so.3.1'.
Cannot locate debugging information for file `/opt/intel/vtune_amplifier_2018.3.0.558279/bin64/pinbin'.
Cannot locate debugging information for file `/lib/x86_64-linux-gnu/libglib-2.0.so.0'.
Cannot locate debugging information for file `/usr/local/caffe2/lib/libcaffe2.so'.
When run a simple test code (just main) which is not linked against anything, the source code is visible.
Any hints would help.
Thank you,
링크가 복사됨
4 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi Denis,
Yes the module is part of our codebase and yes it is compiled with debug symbols as described:
-O2 -g -DNDEBUG
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Finally found the issue, it actually was not built with debug symbols, I just found out that someone has forced a release build internally in the CMakeLists.txt.
Thanks Again,
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
hello, I have the same problem, could you tell me the steps to solve it? Thanks a lot
