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

No Analysis results for VTune Amplifier XE 2013

Joe_D_
Beginner
433 Views

After running a "Advanced Hotspots" analysis, no functions are listed in any of the Hotspots viewpoint tabs.

A 218MiB r008ah/data.0/*.tb6 file is created, so it seems the sampling profiler is recording something.

A "Basic Hotspots" analysis does show some results.

VTune is running on Scientific Linux 6. The sampling drivers appear to be installed correctly. The application is build with g++ 4.8, with -O3. Profiling is started by attaching to a running process and starting recording.

I'm new to VTune, so am not sure where to start troubleshooting. Any advice would be appreciated.

0 Kudos
4 Replies
David_A_Intel1
Employee
433 Views

Hi Joe:

You say you are building with -O3.  Are you including debug info via -g?  Is the file being "stripped" of symbols (execute: 'file <executable>' and make sure you see "not stripped")?

You also say "no functions" are being displayed.  What *is* being displayed?  Do you see your executable in square brackets, e.g., [modulename]?

0 Kudos
Joe_D_
Beginner
433 Views

-g is on the command line, and the file command reports that the file is not stripped. objdump -x reports seven .debug_* sections.

Some screenshots of the VTune GUI are attached. The distro is actually CentOS 6.4. Result Size is reported as 209MB. In the Bottom-up view, no functions are listed in the Function/Call Stack list.

0 Kudos
Joe_D_
Beginner
433 Views

I'm fairly certain I've tripped over a workaround.

Steps to reproduce the problem are:

  1. Start the application to profile
  2. Configure an Advanced Hotspots Analysis
  3. In Project Properties, set Target Type to Attach to Process, and appropriately set PID field.
  4. Start the profiling
  5. Let process being profiled exit, without stopping profiling
  6. VTune detects the process exiting, and automatically stops profiling
  7. Observe problem described in earlier post (no functions are listed in any results view)

The workaround is to change step 5, and manually stop VTune profiling, rather than letting the process exit on its own.
In that case, VTune does display results.

0 Kudos
David_A_Intel1
Employee
433 Views

Okay, thanks, Joe!  Yeah, from your screenshots I can see that something is definitely wrong.  *Nothing* is being displayed!  Even the Summary tab is missing almost all of the data.

I'll attempt to reproduce this and let you know what I find.

0 Kudos
Reply