Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-04 Thread Wang, Peter Xihong
om: Maciej Fijalkowski [mailto:fij...@gmail.com] Sent: Wednesday, August 03, 2016 11:06 PM To: Wang, Peter Xihong Cc: Armin Rigo ; pypy-dev@python.org Subject: Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis Hi Peter The first request is fulfilled by vmprof

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-04 Thread Maciej Fijalkowski
On Thu, Aug 4, 2016 at 8:37 AM, Armin Rigo wrote: > Hi Peter, > > On 4 August 2016 at 08:05, Maciej Fijalkowski wrote: >> The second one can be worked on using the same mechanisms as vmprof - >> there is C API that given the assembler address will give you the >> python stack. It's defined in >>

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-03 Thread Armin Rigo
Hi Peter, On 4 August 2016 at 08:05, Maciej Fijalkowski wrote: > The second one can be worked on using the same mechanisms as vmprof - > there is C API that given the assembler address will give you the > python stack. It's defined in > rpython/jit/backend/llsupport/src/codemap.c I believe I sho

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-03 Thread Maciej Fijalkowski
> From: armin.r...@gmail.com [mailto:armin.r...@gmail.com] On Behalf Of Armin > Rigo > Sent: Tuesday, August 02, 2016 1:18 AM > To: Maciej Fijalkowski > Cc: Wang, Peter Xihong ; pypy-dev@python.org > Subject: Re: [pypy-dev] how to extend VTUNE support from pypy for application >

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-03 Thread Wang, Peter Xihong
wski Cc: Wang, Peter Xihong ; pypy-dev@python.org Subject: Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis Hi, On 2 August 2016 at 10:09, Maciej Fijalkowski wrote: >> As far as I know (my team members tried this), vmprof does not allow us to >> att

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-03 Thread Wang, Peter Xihong
@python.org Subject: Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis Hi Peter, On 2 August 2016 at 00:46, Wang, Peter Xihong wrote: > Regarding to license, you could get free version as an active Open Source > contributor: https://software.intel.com/en-us/q

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-02 Thread Armin Rigo
Hi Peter, On 2 August 2016 at 00:46, Wang, Peter Xihong wrote: > Regarding to license, you could get free version as an active Open Source > contributor: https://software.intel.com/en-us/qualify-for-free-software, > click on "Open Source Contributor". """I will not be compensated in any form f

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-02 Thread Armin Rigo
Hi, On 2 August 2016 at 10:09, Maciej Fijalkowski wrote: >> As far as I know (my team members tried this), vmprof does not allow us to >> attach to a running process? We will evaluate >> https://github.com/vmprof/vmprof-python if you think it's doable. > > You would need some form of process co

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-02 Thread Maciej Fijalkowski
On Tue, Aug 2, 2016 at 12:46 AM, Wang, Peter Xihong wrote: > Hi Armin, > > As far as I know (my team members tried this), vmprof does not allow us to > attach to a running process? We will evaluate > https://github.com/vmprof/vmprof-python if you think it's doable. You would need some form of p

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-01 Thread Wang, Peter Xihong
To: Wang, Peter Xihong Cc: pypy-dev@python.org Subject: Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis Hi Peter, On 29 July 2016 at 01:24, Wang, Peter Xihong wrote: > Armin created a minimum working version incorporating VTUNE to a branch at: > https

Re: [pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-08-01 Thread Armin Rigo
Hi Peter, On 29 July 2016 at 01:24, Wang, Peter Xihong 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. Ho

[pypy-dev] how to extend VTUNE support from pypy for application hot spot analysis

2016-07-28 Thread Wang, Peter Xihong
Hi, 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 Pytho