Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows to get KinfoProc for a given process using SysctlKinfoProcSlice("kern.proc.pid", pid) rather than having to query all processes using SysctlKinfoProcSlice() and the extracting the relevant KinfoProc. Change-Id: I965ea5c77d6f3441592b4540c54ab56f6ac9e27d Reviewed-on: https://go-review.googlesource.com/c/sys/+/359676 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
- Loading branch information