Menu

Tree [c6cc8d] pie-x86 android-x86-9.0-r1 android-x86-9.0-r2 / boottime_tools / bootio /
 History

HTTPS access


File Date Author Commit
 sepolicy 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 Android.mk 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 README.md 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 bootio.cpp 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 bootio.rc 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 bootio_collector.cpp 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 bootio_collector.h 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder
 protos.proto 2018-03-23 Wei Wang Wei Wang [bbf73e] Move boottime tools to system folder

Read Me

bootio

The bootio tool records I/O for processes during boot.
To use bootio kernel must be compiled with this flags:

CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y

To use bootio make sure it's included in product config for the board.
Create file /data/misc/bootio/start with a command like the following:

adb shell 'echo "$TIMEOUT $SAMPLES" > /data/misc/bootio/start'

Where the value of $TIMEOUT corresponds to the desired bootio period in
seconds and $SAMPLES corresponds to the desired number of samples.

Note: /data/misc/bootio/start is not deleted automatically, so don't
forget to delete it when you're done collecting data.

To see collected logs run:

adb shell bootio -p
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.