• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..18-Oct-2019-

sepolicy/H18-Oct-2019-2417

Android.bpH A D18-Oct-20191.5 KiB6454

README.mdH A D18-Oct-2019759 2516

bootio.cppH A D18-Oct-20195 KiB163120

bootio.rcH A D18-Oct-2019214 118

bootio_collector.cppH A D18-Oct-201912.5 KiB380317

bootio_collector.hH A D18-Oct-20191,016 4015

protos.protoH A D18-Oct-20191.5 KiB5649

README.md

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