[Python-Dev] Encoding of PyFrameObject members (original) (raw)

Maciej Fijalkowski fijall at gmail.com
Sun Feb 8 21:11:53 CET 2015


Hi Francis

Feel free to steal most of vmprof code, it should generally work without requiring to patch cpython (python 3 patches appreciated :-). As far as timer goes - it seems not to be going anywhere, I would rather use a background thread or something

On Sun, Feb 8, 2015 at 10:03 PM, Francis Giraldeau <francis.giraldeau at gmail.com> wrote:

2015-02-08 4:01 GMT-05:00 Maciej Fijalkowski <fijall at gmail.com>:

I'm working on vmprof (github.com/vmprof/vmprof-python) which works for both cpython and pypy (pypy has special support, cpython is patched on-the fly) This looks interesting. I'm working on a profiler that is similar, but not based on timer. Instead, the signal is generated when an hardware performance counter overflows. It required a special linux kernel module, and the tracepoint is recorded using LTTng-UST. https://github.com/giraldeau/perfuser https://github.com/giraldeau/perfuser-modules https://github.com/giraldeau/python-profile-ust This is of course very experimental, requires a special setup, an I don't even know if it's going to produce good results. I'll report the results in the coming weeks. Cheers, Francis Giraldeau



More information about the Python-Dev mailing list