summaryrefslogtreecommitdiff
path: root/vendor/github.com/pkg/profile/mutex17.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-20 06:51:01 -0800
committerGitHub <noreply@github.com>2018-12-20 06:51:01 -0800
commit65c5883f5c887c567bf0db30af1e178ac052261c (patch)
treefbfae00924d46832747c6d2f64b45937200cb5a8 /vendor/github.com/pkg/profile/mutex17.go
parent2de6cadd6f81b69f33485e4d4601606afbefd748 (diff)
parent658f772c16da05807c2c079449e8ac71fd6f55c5 (diff)
downloadpodman-65c5883f5c887c567bf0db30af1e178ac052261c.tar.gz
podman-65c5883f5c887c567bf0db30af1e178ac052261c.tar.bz2
podman-65c5883f5c887c567bf0db30af1e178ac052261c.zip
Merge pull request #1757 from kunalkushwaha/contrib-perftest
perf test a stress test to profile CPU load of podman
Diffstat (limited to 'vendor/github.com/pkg/profile/mutex17.go')
-rw-r--r--vendor/github.com/pkg/profile/mutex17.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/pkg/profile/mutex17.go b/vendor/github.com/pkg/profile/mutex17.go
new file mode 100644
index 000000000..b004c21d5
--- /dev/null
+++ b/vendor/github.com/pkg/profile/mutex17.go
@@ -0,0 +1,9 @@
+// +build !go1.8
+
+package profile
+
+// mock mutex support for Go 1.7 and earlier.
+
+func enableMutexProfile() {}
+
+func disableMutexProfile() {}