Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

Module of interest field for callgraph collector

tunali
Beginner
294 Views
Hello,

I have installed vtune from vtune_linux_8.0.245.tar.gz

I can not create an activity :

[tunali@linux ~/profiling]$ cat program.c
int main(void){}
[tunali@linux ~/profiling]$ gcc program.c
[tunali@linux ~/profiling]$ ls -l a.out
-rwxr-xr-x 1 tunali pwoc 6597 May 15 19:14 a.out*
[tunali@linux ~/profiling]$ pwd
/home/tunali/profiling
[tunali@linux ~/profiling]$ /opt/intel/vtune/bin/vtl activity -c callgraph -app /home/tunali/profiling/a.out -moi /home/tunali/profiling/a.out
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

Mon May 15 19:19:15 2006 Error in module "a.out" - File is not valid module.
[tunali@linux ~/profiling]$ /opt/intel/vtune/bin/vtl activity -c callgraph -app /home/tunali/profiling/a.out -moi a.out
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

Mon May 15 19:19:21 2006 Error in module "a.out" - File is not valid module.
[tunali@linux ~/profiling]$


Somewhere in the documentation it is written that for the callgraph collector type application and "module of interest" should be the same. Just to experiment I tried the following :

[tunali@linux ~/profiling]$ /opt/intel/vtune/bin/vtl activity -c callgraph -app /home/tunali/profiling/a.out -moi gui
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

[tunali@linux ~/profiling]$

However I don't have a module called gui.

When I try to run the activity (the one created with -moi gui) I get the following :

[tunali@linux ~/profiling]$ /opt/intel/vtune/bin/vtl show
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

a1__Activity1

[tunali@linux ~/profiling]$ /opt/intel/vtune/bin/vtl run -a a1
VTune Performance Analyzer 8.0 for Linux*. FOR NON-COMMERCIAL USE ONLY
Copyright (C) 2000-2005 Intel Corporation. All rights reserved.

The Activity is running.
Mon May 15 19:22:47 2006 Reading property files started...

Mon May 15 19:22:47 2006 Reading property files done.

/opt/intel/vtune/bin/vtl: line 60: 19192 Killed "${BINARY}" "$@"
[tunali@linux ~/profiling]$

Here are the definitions of my system :

[tunali@linux ~/profiling]$ uname -a
Linux linux 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux
[tunali@linux ~/profiling]$ cat /etc/issue
Red Hat Enterprise Linux WS release 3 (Taroon Update 3)
Kernel on an m

[tunali@linux ~/profiling]$

I have rebuilt the sampling driver for my kernel but I think it just hangs the machine because it is built on Opterons :

[tunali@linux ~/profiling]$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron Processor 248
physical id : 0
siblings : 1
stepping : 10
cpu MHz : 2191.134
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 4364.69
TLB size : 1088 4K pages
cl flush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron Processor 248
physical id : 0
siblings : 1
stepping : 10
cpu MHz : 2191.134
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 4377.80
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

[tunali@linux ~/profiling]$

But I suppose this should not affect callgraph collector.

When I tried to start vtlec I got the following message many times :

[tunali@linux ~/profiling]$ /opt/intel/vtune/bin/vtlec
RENDER extension not supported by server

The launcher script has detected that the display does no support anti-aliased fonts.
This may cause significant perfromance degradation.
Please ensure that anti-aliasing is turned off in /etc/fonts.conf or ~/.fonts.conf files.

Turn off this warning in future (Yes/No) ? [No]
Press ENTER key to accept default choice, or input a valid choice :

(Intel SDP:19488): Gtk-WARNING **: Unable to locate theme engine in module_path: "bluecurve",
Cannot load module /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so: /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so: cannot open shared object file: No such file or directory
Cannot load module /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so: /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so: cannot open shared object file: No such file or directory
Cannot load module /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so: /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so: cannot open shared object file: No such file or directory
Cannot load module

even though /usr/lib/64/pango/1.2.0/modules/pango-basic-xft.so is clearly there :

[tunali@linux ~/profiling]$ ls -l /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so
-rwxr-xr-x 1 root root 8960 Sep 8 2003 /usr/lib64/pango/1.2.0/modules/pango-basic-xft.so*
[tunali@linux ~/profiling]$

vtlec does not display and does not respond to anything.

Overall it was quite an experience...

Thanks.

Omer
0 Kudos
1 Reply
jeffrey-gallagher
294 Views

Omer, this is an excellent, data-rich posting. A few thoughts:

1) examine the release notes for the software you are working with. You must install it on supported, listed OS versions and CPUs, clearly outlined in the supported list there. By not doing this, you create a laboratory out of the installation, and anything is possible. Anything.

2) For more clues about your unsupported environment, run the VTune Quality Feedback Agent, which it sounds like you don't know about, yet. Default location:

/opt/intel/vtune/bin/vtqfagent

By running that, you will create an ASCII text log file (easy to vi) that shows you every detail about your server and VTune installation, including the installation log itself (installation log shows all installation successes, failures, all user decisions, default choices, etc.) You could learn a lot by runningvtqfagent and reading the log.

3) If you chose to experiment by installing on a SUPPORTED OS/CPU combination, and you see the same problem with your extremely simple sample program, Intel Premier Support would *love* to hear about it. Those guys eat this stuff up for breakfast!

cheers

jdg

Message Edited by jdgallag on 05-19-2006 10:55 AM

Message Edited by jdgallag on 05-19-2006 10:56 AM

0 Kudos
Reply