Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

vtune can not get the call stack

Wang_Ruifeng
Beginner
153 Views

HI, all.        I use vtune to help men get the applicatin call stack, but have some problem.                                                          
     if i do not add the static before the functions, the vtune can't get the call stack of the functions.for example:
                                                                                
if i do not add the static,the vtune will only get two funtion:testa,testb
if add the static,the vtune will get the call stack.  so my question is why the vtune can't get the call stack and the words 'static'  effect it?

my computer configuration:                                                     
 CPU:Intel E5504 2.0G                                     
 OS: Suse 11 Sp1                                          
GGCC: (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]  CC: (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973    

0 Kudos
2 Replies
Wang_Ruifeng
Beginner
153 Views

HI, all.        I use vtune to help men get the applicatin call stack, but have some problem.                                                           
     for example:
 static int testa(int a)                                   
 [

         ....                                                                                       
 ]                                                                                                             
 static int testb(int b)                                   
 [                                                         
    return testa(b)                                        
 ]

Patrick_F_Intel1
Employee
152 Views

Hello,

Can you post your VTune specific questions to the VTune forum: http://software.intel.com/en-us/forums/intel-vtune-amplifier-xe-and-vtune-performance-analyzer

Thanks
Pat

Reply