1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:20:12 -07:00

misc/trace: update trace viewer

Update to tip to fix #11003 (not possible to select events in chromium).
Fixed #11003

Change-Id: Ibba5d39ca809cfd5cb79c9e6d152b00899d49e08
Reviewed-on: https://go-review.googlesource.com/11062
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Dmitry Vyukov 2015-06-14 21:52:57 +02:00
parent 48d865ace1
commit 9a8750b276
3 changed files with 3324 additions and 2207 deletions

View File

@ -2,9 +2,10 @@ This directory contains helper file for trace viewer (`go tool trace`).
`trace_viewer_lean.html` was generated by following
[instructions](https://github.com/google/trace-viewer/wiki/Embedding)
on revision `895aa74558d19d91906fb720df6458244ef160c6` using:
on revision `3c695b420a09db9933686fa958f1765c373c372e` using:
```
trace-viewer$ ./vulcanize_trace_viewer --config=lean
trace-viewer$ cp bin/trace_viewer_lean.html $GOROOT/misc/trace/
```
The license for trace-viewer is as follows:

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ var templTrace = `
<link href="/trace_viewer_html" rel="import">
<script>
document.addEventListener("DOMContentLoaded", function(event) {
var viewer = new tv.TraceViewer('/jsontrace{{PARAMS}}');
var viewer = new tr.TraceViewer('/jsontrace{{PARAMS}}');
document.body.appendChild(viewer);
});
</script>