Confirmed users
125
edits
Line 34: | Line 34: | ||
</pre> | </pre> | ||
Once init has been replaced on the device [[FirefoxOS/Performance/Modifying boot.img| | |||
Once init has been replaced on the device [[FirefoxOS/Performance/Modifying boot.img|(see process here)]], to enable logging one simply creates a file '''|'''/data/bootchart-start'''|''' on the device containing an integer representing the number of seconds for which bootchart should collect data, and then reboot the device. | |||
Bootchart data is pulled from the device with the system/core/grab-bootchart.sh script, and presented in the form of a bootchart.tgz file. With the data collected one can then generate graphs by invoking: | Bootchart data is pulled from the device with the system/core/grab-bootchart.sh script, and presented in the form of a bootchart.tgz file. With the data collected one can then generate graphs by invoking: |