- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a newer to vtune . Currently,I try to do the Hotspot analysis for the x264 source code using the vtune for linux.Howerver, after the analysis has done ,the hot functions are not displayed ,as discribled in the fig1.
but when i test the sampling codes ,it works well ,as discribled bellow.
furthermore , i have also succeeded in finding the hot functions of x264 code by using vtune for windows with the vs2010,so i think my code is ok. Now i want to know why the functions cannot be displayed using the vtune for linux?
ps.
i use gcc -g -O2 as the gcc option and sometimes there is a warning "Symbol file is not found. The call stack passing through the module [vdso] may be incorrect"
ps.
i use gcc -g -O2 as the gcc option and sometimes there is a warning "Symbol file is not found. The call stack passing through the module [vdso] may be incorrect"
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Would you please update the images in your post - it's not visible.
Which version/build of VTune you were using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for noticing me .
The version is vtune for linux 2011 .
The version is vtune for linux 2011 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for these who help me.I have sloved this problem.
The answer is simple,just because the symbol information is deleted when compiled.
In the configure file ,the -s option was used which makes the symbol information was deleted.
CFLAGS= -Wshadow -O2 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -s -fno-tree-vectorize
LDFLAGS= -lm -lpthread -s
so just delete the -s option ,there will be symbol information adding to the binarary execute file.And then we will see the hot functions.
The answer is simple,just because the symbol information is deleted when compiled.
In the configure file ,the -s option was used which makes the symbol information was deleted.
CFLAGS= -Wshadow -O2 -ffast-math -Wall -I. -march=i686 -mfpmath=sse -msse -std=gnu99 -s -fno-tree-vectorize
LDFLAGS= -lm -lpthread -s
so just delete the -s option ,there will be symbol information adding to the binarary execute file.And then we will see the hot functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right.
-s linker option removes all symbol table and relocation information from the executable.
Thank you.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page