Community
cancel
Showing results for 
Search instead for 
Did you mean: 
emadshihab
Beginner
70 Views

Extracting call sequence info with VTune

Hi there,

Is there any way of extracting the call sequence info of an application with VTune or even PTU?

I mean if I code something like this:

main(){
f1();
f2();
}

versus

main(){
f2();
f1();
}

how can I get a call graph or something that can tell the difference. Is this even possible with VTune or PTU?

Thanks,

Emad
0 Kudos
3 Replies
luweichao-2004
Beginner
70 Views

I

Nicolae_P_Intel
Employee
70 Views

I just came across your post. It may be too late but I will still vebture to answer:

in PTU you have the statistical callgraph - sampling the call stack at specified intervals - intrusion level very low

or the callgraph in vTune which will give the exact picture but the intrusion level is way higher as for the PTU statistical callgraph.

Hope this helps.

David_A_Intel1
Employee
70 Views

The short answer is, no. Both tools build a "call tree" and do not maintain order of calls. You can "drill down" to the source code and view the order there.

Reply