aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/pprof/pprof_rusage.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/pprof/pprof_rusage.go')
-rw-r--r--src/runtime/pprof/pprof_rusage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/pprof/pprof_rusage.go b/src/runtime/pprof/pprof_rusage.go
index d42e6ed473..7954673811 100644
--- a/src/runtime/pprof/pprof_rusage.go
+++ b/src/runtime/pprof/pprof_rusage.go
@@ -19,7 +19,7 @@ func addMaxRSS(w io.Writer) {
switch runtime.GOOS {
case "linux", "android":
rssToBytes = 1024
- case "darwin":
+ case "darwin", "ios":
rssToBytes = 1
default:
panic("unsupported OS")