py-spy icon indicating copy to clipboard operation
py-spy copied to clipboard

OpenBSD support

Open hboetes opened this issue 5 years ago • 2 comments

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.

hboetes avatar Jul 22 '20 19:07 hboetes

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.

benfred avatar Jul 22 '20 19:07 benfred

ok thanks, poke me if you need testing.

hboetes avatar Jul 22 '20 20:07 hboetes