Module pyspy

Module pyspy 

Source
Expand description

py-spy integration for remote Python stack dumps.

See PS-* invariants in introspect module doc.

Structs§

PySpyDump
Request a py-spy stack dump from this process.
PySpyFrame
A single frame in a py-spy stack trace.
PySpyLocalVariable
A local variable captured in a py-spy frame.
PySpyOpts
Options controlling py-spy capture behavior.
PySpyRunner
Runs py-spy against the current process.
PySpyStackTrace
A single thread’s stack trace from py-spy --json output.
PySpyWorker
Short-lived child actor that runs py-spy off the ProcAgent handler path. Spawned per-request; self-terminates after reply. Concurrent instances are permitted — py-spy attaches read-only via process_vm_readv and multiple concurrent dumps are safe.
RunPySpyDump
Internal message from ProcAgent to a spawned PySpyWorker. Carries the original caller’s reply port so the worker responds directly without routing back through ProcAgent.

Enums§

PySpyResult
Result of a py-spy stack dump request.

Traits§

PySpyDumpClient
The custom client trait for this message type.
PySpyDumpHandler
The custom handler trait for this message type.