[pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis
Armin Rigo
arigo at tunes.org
Mon Aug 1 05:17:59 EDT 2016
Hi Peter,
On 29 July 2016 at 01:24, Wang, Peter Xihong
<peter.xihong.wang at intel.com> wrote:
> Armin created a minimum working version incorporating VTUNE to a branch at:
> https://bitbucket.org/pypy/pypy/branch/vtune
>
> This works in a sense such that statistically meaningful micro-architecture
> data could be collected. However, for hot spot analysis, we’d like to trace
> back to the Python application source code.
Mapping raw addresses in JIT-generated assembly all the way back to
Python is a bit difficult, but that's what vmprof tries to do. I can
imagine a solution based on vmprof. For now, try to run pypy in the
vtune branch together with vmprof:
https://github.com/vmprof/vmprof-python . I think the vmprof log file
contains some information that does the mapping we're looking for.
For now we're not actively developing the vtune branch any more, but
maybe we should. I should add that my copy of vtune-amplifier-xe
started refusing to work, with "Error - no valid license - license
expired" and no hint about if and how to renew that license, so that
put me off.
A bientôt,
Armin.
More information about the pypy-dev
mailing list