Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4642 Discussions

Problem collecting callgraph data

Intel_C_Intel
Employee
153 Views

Hi,

I am trying to run vtune for collecting the call graph data and when I run the command

Vtl activity d 30 s sampling c callgraph master sampling app ./cl.sh,iclust-tiger1-ib0 moi dapltest run

It gets back with these msgs

  1. Data collection finished
  2. No module from the activity was loaded
  3. Activity has finished running

Any help would be highly appreciated,

Thank you

-Divya

0 Kudos
1 Reply
David_A_Intel1
Employee
153 Views
First of all, sampling and callgraph are incompatible collectors (i.e., that can't run at the same time - you wouldn't want to collect sampling data on the instrumented binaries!) so you shouldn't try to use them at the same time.
Second, callgraph requires that the -app and -moi file be the same exact file.
Finally, the -d (duration) option is not applicable to callgraph.
So, in summary, use two different activities to collect callgraph vs. sampling data, and thus you do not need -master. For callgraph, you must specify the same file for -app and -moi and don't use -d.
Reply