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

Side by Side Diff: docs/memory-infra/memory_infra_startup_tracing.md

Issue 2494063002: Move memory docs to docs/memory-infra (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « docs/memory-infra/heap_profiler_internals.md ('k') | docs/memory-infra/probe-cc.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « docs/memory-infra/heap_profiler_internals.md ('k') | docs/memory-infra/probe-cc.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698