proc/variables: Use sched.pc instead of gopc for G location
gopc is the instruction of the `go` command that spawned this goroutine. What we really want (unless we can get the PC from the thread) is the value of sched.pc which is the value of the PC at the time it was parked.
Showing
想要评论请 注册 或 登录