summaryrefslogtreecommitdiff
path: root/vendor/github.com/pkg/profile/trace.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pkg/profile/trace.go')
-rw-r--r--vendor/github.com/pkg/profile/trace.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/pkg/profile/trace.go b/vendor/github.com/pkg/profile/trace.go
new file mode 100644
index 000000000..b349ed8b2
--- /dev/null
+++ b/vendor/github.com/pkg/profile/trace.go
@@ -0,0 +1,8 @@
+// +build go1.7
+
+package profile
+
+import "runtime/trace"
+
+var startTrace = trace.Start
+var stopTrace = trace.Stop