Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: mojo/devtools/common/README.md

Issue 1329963002: Document the --trace-startup shell flag. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Devtools 1 # Devtools
2 2
3 Unopinionated tools for **running**, **debugging** and **testing** Mojo apps. 3 Unopinionated tools for **running**, **debugging** and **testing** Mojo apps.
4 4
5 ## Install 5 ## Install
6 6
7 ``` 7 ```
8 git clone https://github.com/domokit/devtools.git 8 git clone https://github.com/domokit/devtools.git
9 ``` 9 ```
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #### Tracing 59 #### Tracing
60 In order to collect [performance 60 In order to collect [performance
61 traces](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) 61 traces](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool)
62 interactively through `mojo_debug`, make sure that the app being inspected was 62 interactively through `mojo_debug`, make sure that the app being inspected was
63 run with `--debugger` switch. E.g.: 63 run with `--debugger` switch. E.g.:
64 64
65 ```sh 65 ```sh
66 mojo_run --debugger APP_URL [--android] 66 mojo_run --debugger APP_URL [--android]
67 ``` 67 ```
68 68
69 To trace the shell startup, use the `--trace-startup` flag:
70
71 ```sh
72 mojo_run --trace-startup APP_URL [--android]
ppi 2015/09/07 08:56:29 Actually, this should not be placed under ### Debu
etiennej 2015/09/07 09:05:49 Yet, this is related to tracing, and this sub-sect
etiennej 2015/09/07 10:41:51 Reworded per offline discussion.
73 ```
74
69 Then, in another shell, tracing can be orchestrated as follows: 75 Then, in another shell, tracing can be orchestrated as follows:
70 76
71 ```sh 77 ```sh
72 mojo_debug tracing start 78 mojo_debug tracing start
73 mojo_debug tracing stop [result.json] 79 mojo_debug tracing stop [result.json]
74 ``` 80 ```
75 81
76 The trace file can be then loaded using the trace viewer in Chrome available at 82 The trace file can be then loaded using the trace viewer in Chrome available at
77 `about://tracing`. 83 `about://tracing`.
78 84
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 ```sh 120 ```sh
115 mojo_debug device stack 121 mojo_debug device stack
116 ``` 122 ```
117 123
118 ## Development 124 ## Development
119 125
120 The library is canonically developed [in the mojo 126 The library is canonically developed [in the mojo
121 repository](https://github.com/domokit/mojo/tree/master/mojo/devtools/common), 127 repository](https://github.com/domokit/mojo/tree/master/mojo/devtools/common),
122 https://github.com/domokit/devtools is a mirror allowing to consume it 128 https://github.com/domokit/devtools is a mirror allowing to consume it
123 separately. 129 separately.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698