summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/pprof/pprof.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/pprof/pprof.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/pprof/pprof.go49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/pprof/pprof.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/pprof/pprof.go
deleted file mode 100644
index 8af83a9071b..00000000000
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/pprof/pprof.go
+++ /dev/null
@@ -1,49 +0,0 @@
-// +build js
-
-package pprof
-
-import (
- "io"
- "sync"
-)
-
-type Profile struct {
- name string
- mu sync.Mutex
- m map[interface{}][]uintptr
- count func() int
- write func(io.Writer, int) error
-}
-
-func (p *Profile) WriteTo(w io.Writer, debug int) error {
- return nil
-}
-
-func (p *Profile) Count() int {
- return 0
-}
-
-func (p *Profile) Name() string {
- return ""
-}
-
-func (p *Profile) Add(value interface{}, skip int) {
-}
-
-func (p *Profile) Remove(value interface{}) {
-}
-
-func StartCPUProfile(w io.Writer) error {
- return nil
-}
-
-func StopCPUProfile() {
-}
-
-func WriteHeapProfile(w io.Writer) error {
- return nil
-}
-
-func Lookup(name string) *Profile {
- return nil
-}