benfred / py-spy

Sampling profiler for Python programs
MIT License
12.13k stars 401 forks source link

Add `--native-all` flag that also print the stack of non-python threads #637

Open krfricke opened 7 months ago

krfricke commented 7 months ago

Similar to pystack's --native-all, this PR adds a flag with the same name to also print threads that may have been spawned from native extensions (but don't have an associated python interpreter).

Closes #332