Module pyspy

Source
Expand description

py-spy wrapper.

Structs§

PySpyFrame
A frame from PySpy. Wrapper is needed to have our own derives.
PySpyLocalVariable
A frame local variable.
PySpyStackTrace
A stack trace from PySpy. Wrapper is needed to have our own derives.
PySpyTrace
A full stack trace from PySpy.

Functions§

py_spy
Run py-spy and return the stack trace. Py-spy is run has a subprocess to avoid any bad side effects specially when running in non-blocking mode which risks segfaulting py-spy process.