runtime/pprof, runtime/trace: stub some additional functions

These are necessary to import some parts of the net/http package.
This commit is contained in:
Joe Shaw
2022-09-01 14:02:36 -04:00
committed by Ron Evans
parent e955aa1941
commit e09bd5abb3
2 changed files with 26 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
// Stubs for the runtime/trace package
package trace
import (
"errors"
"io"
)
func Start(w io.Writer) error {
return errors.New("not implemented")
}
func Stop() {}