diff --git a/src/runtime/pprof/pprof.go b/src/runtime/pprof/pprof.go index 91470670..53ebc88a 100644 --- a/src/runtime/pprof/pprof.go +++ b/src/runtime/pprof/pprof.go @@ -20,6 +20,10 @@ func StartCPUProfile(w io.Writer) error { func StopCPUProfile() { } +func WriteHeapProfile(w io.Writer) error { + return nil +} + func Lookup(name string) *Profile { return nil }