Home | History | Annotate | only in /packages/services/Car/tools/bootio
Up to higher level directory
NameDateSize
Android.mk06-Dec-20171.9K
bootio.cpp06-Dec-20175K
bootio.rc06-Dec-2017214
bootio_collector.cpp06-Dec-201712.7K
bootio_collector.h06-Dec-20171,016
protos.proto06-Dec-20171.5K
README.md06-Dec-2017759
sepolicy/06-Dec-2017

README.md

      1 # bootio #
      2 
      3 The bootio tool records I/O for processes during boot.
      4 To use bootio kernel must be compiled with this flags:
      5 
      6     CONFIG_TASKSTATS=y
      7     CONFIG_TASK_DELAY_ACCT=y
      8     CONFIG_TASK_XACCT=y
      9     CONFIG_TASK_IO_ACCOUNTING=y
     10 
     11 To use bootio make sure it's included in product config for the board.
     12 Create file /data/misc/bootio/start with a command like the following:
     13 
     14     adb shell 'echo "$TIMEOUT $SAMPLES" > /data/misc/bootio/start'
     15 
     16 Where the value of $TIMEOUT corresponds to the desired bootio period in
     17 seconds and $SAMPLES corresponds to the desired number of samples.
     18 
     19 Note: /data/misc/bootio/start is not deleted automatically, so don't
     20 forget to delete it when you're done collecting data.
     21 
     22 To see collected logs run:
     23 
     24     adb shell bootio -p
     25