summaryrefslogtreecommitdiff
path: root/boottime_tools/bootio/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'boottime_tools/bootio/README.md')
-rw-r--r--boottime_tools/bootio/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/boottime_tools/bootio/README.md b/boottime_tools/bootio/README.md
new file mode 100644
index 00000000..ca075ded
--- /dev/null
+++ b/boottime_tools/bootio/README.md
@@ -0,0 +1,24 @@
+# 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