diff --git a/misc/trace/README.md b/misc/trace/README.md index 8561c79bfd..2e8bb057d4 100644 --- a/misc/trace/README.md +++ b/misc/trace/README.md @@ -1,12 +1,16 @@ 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 `280626ef607decf36291e290d5f0322b173e8a7f` using: +[instructions](https://github.com/catapult-project/catapult/blob/master/tracing/docs/embedding-trace-viewer.md) +on revision `623a005a3ffa9de13c4b92bc72290e7bcd1ca591` +of [catapult](https://github.com/catapult-project/catapult) using: ``` -trace-viewer$ ./vulcanize_trace_viewer --config=lean -trace-viewer$ cp bin/trace_viewer_lean.html $GOROOT/misc/trace/ +catapult$ ./tracing/bin/vulcanize_trace_viewer --config=full +catapult$ cp tracing/bin/trace_viewer_full.html $GOROOT/misc/trace/trace_viewer_lean.html ``` +We are supposed to use --config=lean (produces smaller html), +but it is broken at the moment: +https://github.com/catapult-project/catapult/issues/2247 The license for trace-viewer is as follows: // Copyright (c) 2012 The Chromium Authors. All rights reserved. diff --git a/misc/trace/trace_viewer_lean.html b/misc/trace/trace_viewer_lean.html index 5d40bc5805..7939aae8a6 100644 --- a/misc/trace/trace_viewer_lean.html +++ b/misc/trace/trace_viewer_lean.html @@ -1,113 +1,9 @@ - +
- -| Running process: | - |
| Running thread: | - |
| Start: | - |
| Duration: | - |
| Active slices: | - |
| Args: | -
- |
-
| Running process: | + |
| Running thread: | + |
| Start: | +
+ |
+
| Duration: | +
+ |
+
| Active slices: | + |
| Args: | +
+ |
+
| Running process: | - |
| Running thread: | - |
| State: | -- |
| Start: | - |
| Duration: | - |
| On CPU: | - |
| Running instead: | - |
| Args: | - |
| Running process: | + |
| Running thread: | + |
| State: | ++ |
| Start: | +
+ |
+
| Duration: | +
+ |
+