Firefox OS/Performance/Profiling: Difference between revisions

Line 38: Line 38:
opsetup script will wake up oprofiled and setup trigger event.<br>
opsetup script will wake up oprofiled and setup trigger event.<br>
The snapshot of opsetup is listed below<br>
The snapshot of opsetup is listed below<br>
<pre>
opcontrol --setup<br>
opcontrol --setup<br>
opcontrol --vmlinux=/home/vincent/project/B2G_20120217/boot/kernel-android-galaxy-s2/vmlinux --kernel-range=0xc059c000, 0xc0c06000 --event=CPU_CYCLES<br>
opcontrol --vmlinux=/home/vincent/project/B2G_20120217/boot/kernel-android-galaxy-s2/vmlinux --kernel-range=0xc059c000, 0xc0c06000 --event=CPU_CYCLES<br>
</pre>
===make op_start===
===make op_start===
We use "adb shell opcontrol --start" to start profiling and collect samples in target device<br>
We use "adb shell opcontrol --start" to start profiling and collect samples in target device<br>
Confirmed users
373

edits