| OLD | NEW |
| 1 # Startup Tracing with MemoryInfra | 1 # Startup Tracing with MemoryInfra |
| 2 | 2 |
| 3 [MemoryInfra](memory_infra.md) supports startup tracing. | 3 [MemoryInfra](README.md) supports startup tracing. |
| 4 | 4 |
| 5 ## The Simple Way | 5 ## The Simple Way |
| 6 | 6 |
| 7 Start Chrome as follows: | 7 Start Chrome as follows: |
| 8 | 8 |
| 9 $ chrome --no-sandbox \ | 9 $ chrome --no-sandbox \ |
| 10 --trace-startup=-*,disabled-by-default-memory-infra \ | 10 --trace-startup=-*,disabled-by-default-memory-infra \ |
| 11 --trace-startup-file=/tmp/trace.json \ | 11 --trace-startup-file=/tmp/trace.json \ |
| 12 --trace-startup-duration=7 | 12 --trace-startup-duration=7 |
| 13 | 13 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 Make sure that the "result_file" location is writable by the Chrome process on | 65 Make sure that the "result_file" location is writable by the Chrome process on |
| 66 Android (e.g. "/sdcard/Download/trace.json"). Note that startup tracing will be | 66 Android (e.g. "/sdcard/Download/trace.json"). Note that startup tracing will be |
| 67 enabled upon every Chrome launch until you delete the config file: | 67 enabled upon every Chrome launch until you delete the config file: |
| 68 | 68 |
| 69 $ adb shell rm /data/local/chrome-trace-config.json | 69 $ adb shell rm /data/local/chrome-trace-config.json |
| 70 | 70 |
| 71 ## Related Pages | 71 ## Related Pages |
| 72 | 72 |
| 73 * [General information about startup tracing](https://sites.google.com/a/chromi
um.org/dev/developers/how-tos/trace-event-profiling-tool/recording-tracing-runs) | 73 * [General information about startup tracing](https://sites.google.com/a/chromi
um.org/dev/developers/how-tos/trace-event-profiling-tool/recording-tracing-runs) |
| 74 * [Memory tracing with MemoryInfra](memory_infra.md) | 74 * [Memory tracing with MemoryInfra](README.md) |
| OLD | NEW |