summaryrefslogtreecommitdiff
path: root/vendor/github.com/pkg/profile/trace16.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pkg/profile/trace16.go')
-rw-r--r--vendor/github.com/pkg/profile/trace16.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/pkg/profile/trace16.go b/vendor/github.com/pkg/profile/trace16.go
new file mode 100644
index 000000000..6aa6566ef
--- /dev/null
+++ b/vendor/github.com/pkg/profile/trace16.go
@@ -0,0 +1,10 @@
+// +build !go1.7
+
+package profile
+
+import "io"
+
+// mock trace support for Go 1.6 and earlier.
+
+func startTrace(w io.Writer) error { return nil }
+func stopTrace() {}