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

Failed to finalize the result: the result you are opening is empty

dinesh_s_1
Beginner
504 Views

Event based sampling configurations are not working on my system (pls see details of system setup below).
With EBS, Vtune seems to be profiling for the duration but complains with the following error:
Failed to finalize the result: the result you are opening is empty

Things I have tried so far:

Added the source, binary and include directories as a part of the search directory (clicked on include subdirs as well).

clicked on re-resolve. None of these seem to help.


Machine setup
----------------
CPU: Intel XEON 5690. Events configured for CPU: Intel(R) Xeon(R) / Core i7 980X Processor
running 64-bit version of Vtune amplifier xe 2013. (amplxe-gui.)
OS: Ubuntu 10.04 LTS Linux Kernel version :  2.6.32-40.87.
Kernel modules were rebuilt with pax.ko, sep3_8.ko, and vtsspp.ko



In one of the prior posts in this forum for a similar error, someone from Intel had requested the output of amplxe-cl on /bin/ls. So I thought I would post it here.

amplxe-cl -collect hotspots -r /tmp/r002hs -- /bin/ls
Using result path `/tmp/r002hs'
Executing actions 33 % Resolving information for `ls'                          
Warning: Cannot match file `/bin/ls': checksum mismatch.
Warning: Cannot locate symbols for file `/bin/ls'.
Executing actions 50 % Generating a report                                     
Summary
-------

Elapsed Time:  0.002
CPU Time:      0
CPU Usage:     0
Executing actions 100 % done  

0 Kudos
5 Replies
Peter_W_Intel
Employee
504 Views

You gave hotspot example, but you had the problem of EBS sampling. If vtune drivers are loaded,

Can you do -

1. amplxe-cl -collect lightweight-hotspots -duration 5 -r /tmp/r003lh

2. amplxe-cl -report hotspots -r /tmp/r003lh/

Regards, Peter

 

0 Kudos
dinesh_s_1
Beginner
504 Views

output of command #1,

1. amplxe-cl -collect lightweight-hotspots -duration 5 -r /tmp/r003lh

warning: On some systems based on the Intel microarchitecture code name Nehalem / Westmere with C-states enabled, this analysis type may cause system hanging due to a known hardware issue (see errata AAJ134 in http://download.intel.com/design/processor/specupdt/320836.pdf). To avoid this situation, disable all "Cn(ACPI Cn) report to OS" BIOS options before sampling with VTune Amplifier on such systems.

Using result path `/tmp/r003lh'
Executing actions  8 % Loading data files                                      
Executing actions 34 % Resolving information for `libamplxe_sampling_logit_3.8.
Warning: Cannot locate symbols for file `/opt/intel/vtune_amplifier_xe_2013/lib64/libamplxe_sampling_logit_3.8.so'.
Executing actions 34 % Resolving information for `libpython2.6.so.1.0'         
Warning: Cannot match file `/usr/lib/libpython2.6.so.1.0': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/lib/libpython2.6.so.1.0'.
Executing actions 34 % Resolving information for `libgdk-x11-2.0.so.0.2000.0'  
Warning: Cannot match file `/usr/lib/libgdk-x11-2.0.so.0.2000.0': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/lib/libgdk-x11-2.0.so.0.2000.0'.
Executing actions 35 % Resolving information for `ib_ipoib'                    
Executing actions 35 % Resolving information for `rsyslogd'                    
Warning: Cannot match file `/usr/sbin/rsyslogd': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/sbin/rsyslogd'.
Executing actions 35 % Resolving information for `libgtk-x11-2.0.so.0.2000.0'  
Warning: Cannot match file `/usr/lib/libgtk-x11-2.0.so.0.2000.0': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/lib/libgtk-x11-2.0.so.0.2000.0'.
Executing actions 35 % Resolving information for `libglib-2.0.so.0.2400.0'     
Warning: Cannot match file `/lib/libglib-2.0.so.0.2400.0': checksum mismatch.
Warning: Cannot locate symbols for file `/lib/libglib-2.0.so.0.2400.0'.
Executing actions 35 % Resolving information for `amplxe-gui'                  
Warning: Cannot locate symbols for file `/opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-gui'.
Executing actions 36 % Resolving information for `collectd'                    
Warning: Cannot match file `/usr/sbin/collectd': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/sbin/collectd'.
Executing actions 36 % Resolving information for `bash'                        
Warning: Cannot match file `/bin/bash': checksum mismatch.
Warning: Cannot locate symbols for file `/bin/bash'.
Executing actions 36 % Resolving information for `libstdc++.so.6.0.13'         
Warning: Cannot match file `/usr/lib/libstdc++.so.6.0.13': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/lib/libstdc++.so.6.0.13'.
Executing actions 37 % Resolving information for `python2.6'                   
Warning: Cannot match file `/usr/bin/python2.6': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/bin/python2.6'.
Executing actions 37 % Resolving information for `amplxe-runss'                
Warning: Cannot locate symbols for file `/opt/intel/vtune_amplifier_xe_2013/bin64/amplxe-runss'.
Executing actions 37 % Resolving information for `libwx_gtk2-2.8.so.0.8.0'     
Warning: Cannot locate symbols for file `/opt/intel/vtune_amplifier_xe_2013/lib64/libwx_gtk2-2.8.so.0.8.0'.
Executing actions 37 % Resolving information for `libgobject-2.0.so.0.2400.0'  
Warning: Cannot match file `/usr/lib/libgobject-2.0.so.0.2400.0': checksum mismatch.
Warning: Cannot locate symbols for file `/usr/lib/libgobject-2.0.so.0.2400.0'.
Executing actions 50 % Generating a report                                     
Summary

output of command #2:

2. amplxe-cl -report hotspots -r /tmp/r003lh/

Just a bunch of app names and all 0s.

bash                                    0
_IO_acquire_lock_fct                                                                                                                                                                                                                     libc-2.11.1.so                          0
_IO_acquire_lock_fct                                                                                                                                                                                                                     libc-2.11.1.so                          0
_IO_default_finish                                                                                                                                                                                                                       libc-2.11.1.so                          0
_IO_file_stat                                                                                                                                                                                                                            libc-2.11.1.so                          0
_IO_file_xsgetn                                                                                                                                                                                                                          libc-2.11.1.so                          0
_IO_fread                                                                                                                                                                                                                                libc-2.11.1.so                          0
_IO_getline_info                                                                                                                                                                                                                         libc-2.11.1.so                          0
_IO_new_fclose                                                                                                                                                                                                                           libc-2.11.1.so                          0
libc-2.11.1.so                          0
___printf_fp                                                                                                                                                                                                                             libc-2.11.1.so                          0
___vsnprintf_chk                                                                                                                                                                                                                         libc-2.11.1.so                          0
___vsprintf_chk                                                                                                                                                                                                                          libc-2.11.1.so                          0
__current_locale_name                                                                                                                                                                                                                    libc-2.11.1.so                          0
__dcigettext                                                                                                                                                                                                                             libc-2.11.1.so                          0
__disable_runtime                                   

0 Kudos
Peter_W_Intel
Employee
504 Views

It seemed that you can use event-based sampling for system profiling. CPU time is zero - it did make sense because the processor was not busy then and sample count was limited. You can try to find captured samples (of clockticks):

amplxe-cl -report hw-events -r /tmp/r003lh/

So, now you can try EBS with your application:

amplxe-cl -collect lightweight-hotspots -duration 20 -r /tmp/r004lh -search-dir all:rp=project-dir -- application

What is output? Any error?

Can you use "amplxe-cl -report hw-events -r /tmp/r004lh/" to see report?

0 Kudos
dinesh_s_1
Beginner
504 Views

Here is the output of collect-lightweight-hotpots command

Warning: On some systems based on the Intel microarchitecture code name Nehalem / Westmere with C-states enabled, this analysis type may cause system hanging due to a known hardware issue (see errata AAJ134 in http://download.intel.com/design/processor/specupdt/320836.pdf). To avoid this situation, disable all "Cn(ACPI Cn) report to OS" BIOS options before sampling with VTune Amplifier on such systems.
Using result path `/home/jvtapp/dinesh/r001lh'
Executing actions 50 % Generating a report                                     
Summary
-------

Here is the output of the report:

Result directory does not contain data applicable to this report.
Executing actions 100 % done                                                   
Error: Error 0x40000024 (Reporter error)

Nothing gets generated now.

0 Kudos
Peter_W_Intel
Employee
504 Views

It seemed that this problem is target application specific issue (system profiling is OK)

1. Have you tried latest VTune Amplifier XE 2013 Update 5?

2. Have you seen that your target app was running?

3. Is it possible that you can attach this binary? Or go https://premier.intel.com if you wont expose this app on public. 

0 Kudos
Reply