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/trace.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/trace.go')
-rw-r--r-- | vendor/github.com/pkg/profile/trace.go | 8 |
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 |