runtime/pprof: add WriteHeapProfile

Fixes: #3071
This commit is contained in:
Miguel Angel
2022-08-15 21:20:36 -04:00
committed by Ron Evans
parent a0407be7b7
commit d0808c93f6
+4
View File
@@ -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
}