Commit 9a8750b2 authored by Dmitry Vyukov's avatar Dmitry Vyukov

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/11062Reviewed-by: default avatarAndrew Gerrand <adg@golang.org>
parent 48d865ac
...@@ -2,9 +2,10 @@ This directory contains helper file for trace viewer (`go tool trace`). ...@@ -2,9 +2,10 @@ This directory contains helper file for trace viewer (`go tool trace`).
`trace_viewer_lean.html` was generated by following `trace_viewer_lean.html` was generated by following
[instructions](https://github.com/google/trace-viewer/wiki/Embedding) [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$ ./vulcanize_trace_viewer --config=lean
trace-viewer$ cp bin/trace_viewer_lean.html $GOROOT/misc/trace/
``` ```
The license for trace-viewer is as follows: The license for trace-viewer is as follows:
......
This diff is collapsed.
...@@ -49,7 +49,7 @@ var templTrace = ` ...@@ -49,7 +49,7 @@ var templTrace = `
<link href="/trace_viewer_html" rel="import"> <link href="/trace_viewer_html" rel="import">
<script> <script>
document.addEventListener("DOMContentLoaded", function(event) { document.addEventListener("DOMContentLoaded", function(event) {
var viewer = new tv.TraceViewer('/jsontrace{{PARAMS}}'); var viewer = new tr.TraceViewer('/jsontrace{{PARAMS}}');
document.body.appendChild(viewer); document.body.appendChild(viewer);
}); });
</script> </script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment