commit | 6f03fef2fd9d22ff151044ba10e3808f83b8333d | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Sat Dec 19 22:00:50 2015 -0800 |
committer | Austin Clements <austin@google.com> | Mon Dec 21 18:03:51 2015 +0000 |
tree | 09fc6d0315d3e5f84798738bb97d0c299e3488f7 | |
parent | 5137d16ec859718fb0eb3e67f320edb0820bc0d2 [diff] |
driver: don't use runtime/trace < Go 1.5 Currently the benchmark driver does not build prior to Go 1.5 because it uses runtime/trace, which was added in Go 1.5. Fix this by moving the code to start and stop tracing to a version-gated source file. Change-Id: I3267e496ad7af80ce4fd31fa653b86206df672e1 Reviewed-on: https://go-review.googlesource.com/18067 Reviewed-by: Dmitry Vyukov <dvyukov@google.com>