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 profile.py.
Any suggestions ? Shubha > On Jan 8, 2017, at 9:01 AM, Armin Rigo <armin.r...@gmail.com> wrote: > > Hi Shubha, > > On 8 January 2017 at 16:41, Shubha Ramani via pypy-dev > <pypy-dev@python.org> 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 data which vtune needs ! > > Not exactly. This is only the outermost function. It misses all > inlined Python functions. > > > Armin _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev