Re: [pypy-dev] Somebody has already provided code objects in assemble_loop of x86/ assembler.py !

2017-01-08 Thread Shubha Ramani via pypy-dev
Got it. I now fully understand how vmprof is doing it. By manipulating the TLS (Thread Local Stack and inserting "kind" on the stack, where I care about the JITTED " kind). My struggle though is mapping rawaddress in assemble_loop and assemble_bridge to the addresses that pop up in vmprof profil

Re: [pypy-dev] Somebody has already provided code objects in assemble_loop of x86/ assembler.py !

2017-01-08 Thread Armin Rigo
Hi Shubha, On 8 January 2017 at 16:41, Shubha Ramani via pypy-dev wrote: > I just downloaded the pypy code. Please inspect the following log and search > for 'code object'. This is the exact data which vtune needs ! > How did this happen ? Was it there all along ? Yes. But: > This is the exact

[pypy-dev] Somebody has already provided code objects in assemble_loop of x86/ assembler.py !

2017-01-08 Thread Shubha Ramani via pypy-dev
I just downloaded the pypy code. Please inspect the following log and search for 'code object'. This is theĀ  exact data which vtune needs ! How did this happen ? Was it there all along ? Did someone justadd this (perhaps Armin himself) ? The signature for 'assemble_loop' has not changed between