Hi Shubha, On 17 December 2016 at 20:32, Shubha Ramani via pypy-dev <pypy-dev@python.org> wrote: > I have studied rpython/jit/backend/llsupport/src/codemap.c. > I am nt finding the API which returns the Python stack in codemap.c.
There is no such knowledge as the "Python stack" inside the JIT. Keep in mind that the JIT is generic. You have to study the (generic) rpython.rlib.rvmprof and the (Python-specific) pypy.module._vmprof to find out how together they reconstruct this information. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev