diff options
author | Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp> | 2018-10-26 14:47:52 +0900 |
---|---|---|
committer | Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp> | 2018-12-19 16:05:21 +0900 |
commit | 658f772c16da05807c2c079449e8ac71fd6f55c5 (patch) | |
tree | 77e9bac1bce0b3b57336ceea5787b27ec31905b3 /vendor/github.com/pkg/profile/trace16.go | |
parent | c8eaf59d5f4bec249db8134c6a9fcfbcac792519 (diff) | |
download | podman-658f772c16da05807c2c079449e8ac71fd6f55c5.tar.gz podman-658f772c16da05807c2c079449e8ac71fd6f55c5.tar.bz2 podman-658f772c16da05807c2c079449e8ac71fd6f55c5.zip |
perf test a stress test to profile CPU load of podman
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
Diffstat (limited to 'vendor/github.com/pkg/profile/trace16.go')
-rw-r--r-- | vendor/github.com/pkg/profile/trace16.go | 10 |
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() {} |