-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gops can not list process in Mac book with m1 chip #160
Comments
I have the same problem.a simple go project can be listed.but our complex one can‘t be listed :( |
i have the same problem on my goland2021.3.4, but version 2020.3 is ok |
I have a similar issue and I stepped through gops code and it appears goversion cannot read the version properly. I am running go 1.18 on M1 mac. |
Here is the issue I opened for |
The same thing happens to me here, no matter which go version I use 1.17.x or 1.18.x I have the same behavior as @giskook, a simple application is detected, but my actual complex application is not listed. I tried installing go AMD64 instead of ARM ... the app built with the amd64 version could be detected, just doesn't work if the same app is built with the arm version of go ! |
Use package debug/buildinfo [1] introduced in Go 1.18 [2] when possible. This should avoid previous issues with rsc.io/goversion where Go processes were no longer listed. [1] https://pkg.go.dev/debug/buildinfo [2] https://go.dev/doc/go1.18#debug/buildinfo For #102 For #159 For #160
Use package debug/buildinfo [1] introduced in Go 1.18 [2] when possible. This should avoid previous issues with rsc.io/goversion where Go processes were no longer listed. [1] https://pkg.go.dev/debug/buildinfo [2] https://go.dev/doc/go1.18#debug/buildinfo For #102 For #159 For #160
@tklauser I can confirm latest code from |
Thanks for confirming @abezzub! |
gops program can not list the process which is build with cgo in M1 MacBook
example:
The text was updated successfully, but these errors were encountered: