Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4823 Discussions

Python - no python function names

jim_f_
Beginner
302 Views

I just installed Beta Update 1 (build 466719) of VTune Amplifier XE 2017 on windows.  I created a trivial program (below) but I can't see any Python function names in VTune.  It only shows made up names such as func@0x1d001133 and no source file names.  So completely useless.

I've listed several directories in the Source File locations.  

The collection log complains about not having debug symbols for various DLLs and the python.exe, but says nothing about missing python source.

What's my problem?

Thanks.

import math

def method_a():
  method_b()


def method_b():
  method_c()


def method_c():
  for i in range(1, 100000000):
    s = math.sqrt(i)

method_a()

 

0 Kudos
1 Reply
Alexandra_S_Intel
302 Views

Have you specified the absolute path to the script, as stated here? https://software.intel.com/en-us/node/628111

If you specify a relative path to your Python script in the Application parameters field, the VTune Amplifier will properly resolve full function or method names only for the imported modules, and will not resolve the names inside the main script. Consider specifying the absolute path to the script.

Reply