Confirmed users
29
edits
(→Reference links: Remove the deprecated github link.) |
(Update usage) |
||
| Line 15: | Line 15: | ||
./flash.sh gecko | ./flash.sh gecko | ||
'''2. Start profiling''' | '''2. Get TaskTracer Converter''' | ||
https://bugzilla.mozilla.org/show_bug.cgi?id=1098217 | |||
Since Converter hasn't been landed yet, please manually download the patch and apply to your B2G repo. | |||
'''3. Start profiling''' | |||
./profile.sh start -f tasktracer | ./profile.sh start -f tasktracer | ||
| Line 23: | Line 29: | ||
Please note that because TaskTracer is design to record the correlation of tasks between threads and processes, enabling this feature will start profiling on all processes, which says, later commands such as <code>./profile.sh start -p aProcessName</code> will be invalid. | Please note that because TaskTracer is design to record the correlation of tasks between threads and processes, enabling this feature will start profiling on all processes, which says, later commands such as <code>./profile.sh start -p aProcessName</code> will be invalid. | ||
''' | '''4. Capture profiling results''' | ||
./profile.sh capture | ./profile.sh capture | ||
| Line 32: | Line 36: | ||
<code>./profile.sh stop</code> kills all processes and reboots b2g. | <code>./profile.sh stop</code> kills all processes and reboots b2g. | ||
=== v1.3T === | === v1.3T === | ||
| Line 109: | Line 101: | ||
== TODO == | == TODO == | ||
* Thread pool | * Thread pool | ||
* CpuTime | * CpuTime | ||