DescriptionMake Chrome Trace work with Android ATrace.
It uses "view" tag in the ATrace to enable tracing Chrome events.
Steps to grab a trace:
1. Enable trace of "view" in the Developer options.
2. adb shell stop; adb shell start
or if the system itself supports changing trace settings without restart:
adb shell am force-stop com.android.chrome (for stable version)
adb shell am force-stop com.google.android.apps.chrome (for beta/dev version)
3. Start Chrome
4. // grab a 5-seconds trace, the result is in trace.html
third_party/android_tools/sdk/tools/systrace/systrace.py -t 5 -f -w
Note: the intent triggered Chrome trace still works with this patch.
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165507
Patch Set 1 #
Total comments: 2
Patch Set 2 : Don't append arguments to name #
Total comments: 7
Patch Set 3 : Remove redundant checking #
Total comments: 3
Messages
Total messages: 18 (1 generated)
|