aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-03-10 09:28:09 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2022-03-11 06:03:26 +0000
commitc1f22134f22158ebeebf450357f711eb22fab202 (patch)
tree4fe46483d6010f87e145a53b78c069bf641ce59c /src/encoding
parentfe75fe3c7ae99713ed4e452ea8a4fcb589517dd9 (diff)
downloadgo-c1f22134f22158ebeebf450357f711eb22fab202.tar.xz
runtime/pprof, syscall: report MaxRSS on all unix platforms
All unix platforms currently supported by Go provide the getrusage syscall. On aix and solaris the Getrusage syscall wrapper is not available yet, so add and use it to report MaxRSS in memory profiles. Change-Id: Ie880a3058171031fd2e12ccf9adfb85ce18858b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/391434 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Trust: Michael Pratt <mpratt@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions