aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com
diff options
context:
space:
mode:
authorHana Kim <hakim@google.com>2018-04-04 13:47:53 -0400
committerHyang-Ah Hana Kim <hyangah@gmail.com>2018-04-04 18:15:20 +0000
commite6ab614fda5ce7533bda81f2b0de0f9fe18139bf (patch)
tree32fa0f038454cb17928a8cfe8280b3a030265efd /src/cmd/vendor/github.com
parentc4874aa2a207e8c9a3c79a9411a54cce4808aa9e (diff)
downloadgo-e6ab614fda5ce7533bda81f2b0de0f9fe18139bf.tar.xz
cmd/trace: avoid emitting traceview slice with 0 duration
The trace viewer interprets the slice as a non-terminating time interval which is quite opposit to what trace records indicate (i.e., almostly immediately terminating time interval). As observed in the issue #24663 this can result in quite misleading visualization of the trace. Work around the trace viewer's issue by setting a small value (0.0001usec) as the duration if the time interval is not positive. Change-Id: I1c2aac135c194d0717f5c01a98ca60ffb14ef45c Reviewed-on: https://go-review.googlesource.com/104716 Reviewed-by: Heschi Kreinick <heschi@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com')
0 files changed, 0 insertions, 0 deletions