Meego Wiki
Views

ARM/N900/Performance/bootchart

From MeeGo wiki
< ARM | N900 | Performance
Revision as of 16:43, 8 June 2011 by Lamikr (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

about bootchart

bootchart generates svg images that can be checked for example with inkscape from the timing of boot process

  • what processes are launched
  • in what time certain process is launched
  • how much cpu the process has used

install

  • install required tools to N900
    • zypper install bootchart acct
  • build kernel with required debug modules build in to get detailed pic (with default kernel you will get picture from the cpu usage but not the process details)
    • CONFIG_BSD_PROCESS_ACCT_V3=y, CONFIG_OPROFILE=y, CONFIG_GCOV_KERNEL=y were enabled at least for me
  • load and boot the kernel by using flasher, note the final init command for starting up bootchart
    • flasher-3.5 -l -k zImage -b"root=/dev/mmcblk0p1 rootwait rw console=ttyO2,115200n8 console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 init=/sbin/bootchartd-long"
  • open the generated /var/log/bootchart*.svg
Personal tools