On Tue, Aug 2, 2016 at 12:46 AM, Wang, Peter Xihong <peter.xihong.w...@intel.com> 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 process cooperation (I think) but it does not seem impossible. What I would do is I would run a separate thread that accepts something (e.g. a pipe write) and then starts vmprof. vmprof once started is global to all threads _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev