Commit abc44888 authored by Mythri A's avatar Mythri A Committed by Commit Bot

[tools] Update profview landing page with instructions for Android

Change-Id: I4afb695505d145221feca3ff365e0f96b097a6ef
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2573483
Commit-Queue: Mythri Alle <mythria@chromium.org>
Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71636}
parent 90d260e0
...@@ -47,6 +47,25 @@ found in the LICENSE file. --> ...@@ -47,6 +47,25 @@ found in the LICENSE file. -->
To view the profile, click the <i>Choose file</i> button above and choose To view the profile, click the <i>Choose file</i> button above and choose
the file in the dialog box. the file in the dialog box.
<br>
<br>
For recording a profile from Chrome use:
<pre>
--no-sandbox --js-flags=--prof
</pre>
If running on Android use also use --single-process:
<pre>
--single-process --no-sandbox --js-flags=--prof
</pre>
If the profile is from Android pass the unstripped Chrome library to
resolve C++ symbols when processing the file using linux-tick-processor.
<pre>
&lt;v8-dir>/tools/linux-tick-processor --preprocess --apk-embedded-library=./out/Release/lib.unstripped/libchrome.so v8.log > v8.json
</pre>
More detailed instructions for Android here: https://v8.dev/docs/profile-chromium#android
</div> </div>
<div id="timeline" style="display : none"> <div id="timeline" style="display : none">
...@@ -112,7 +131,7 @@ found in the LICENSE file. --> ...@@ -112,7 +131,7 @@ found in the LICENSE file. -->
<br> <br>
<br> <br>
<br> <br>
Copyright the V8 Authors - Last change to this page: 2018/08/13 Copyright the V8 Authors - Last change to this page: 2020/12/04
</p> </p>
</body> </body>
......
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