py-spy
py-spy copied to clipboard
OpenBSD support
Hello!
I just tried cargo install py-spy and ran into
error[E0432]: unresolved import `platform`
--> /home/han/.cargo/registry/src/github.com-1ecc6299db9ec823/benfred-read-process-memory-0.2.0/src/lib.rs:39:9
|
39 | pub use platform::Pid;
| ^^^^^^^^ maybe a missing crate `platform`?
error[E0432]: unresolved import `platform`
--> /home/han/.cargo/registry/src/github.com-1ecc6299db9ec823/benfred-read-process-memory-0.2.0/src/lib.rs:61:9
|
61 | pub use platform::ProcessHandle;
| ^^^^^^^^ maybe a missing crate `platform`?
thanks for looking into this.
Py-spy doesn't work on OpenBSD yet =( We only have support for FreeBSD/Linux/MacOS and Windows right now. We will need to add some OS specific code for reading information from the target process - I believe this issue https://github.com/benfred/py-spy/issues/112 lists out the steps needed pretty well.
ok thanks, poke me if you need testing.