summaryrefslogtreecommitdiffstats
path: root/init/readme.txt
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-28 12:12:51 -0700
committerElliott Hughes <enh@google.com>2015-03-28 12:12:51 -0700
commit59abac27cb3178794857eefbf6c6ae445a91269c (patch)
tree1a62cdc03bf3ab8b0f799cf1a6750fc3ce78044e /init/readme.txt
parent8f03e3cb3db392127fd8dc0a2ce62aa15a755ffd (diff)
downloadcore-59abac27cb3178794857eefbf6c6ae445a91269c.tar.gz
core-59abac27cb3178794857eefbf6c6ae445a91269c.tar.bz2
core-59abac27cb3178794857eefbf6c6ae445a91269c.zip
Clarify a few things about bootcharts.
Make it clearer in dmesg when we're deliberately not doing bootcharting, and explain in the documentation that the output for init is quite misleading (and, as far as I can tell, not within our power to fix). Change-Id: I0b22a56f83521d64c6d176dc423c81f7ea86b23c
Diffstat (limited to 'init/readme.txt')
-rw-r--r--init/readme.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/init/readme.txt b/init/readme.txt
index 4c8d0d348..630dd034c 100644
--- a/init/readme.txt
+++ b/init/readme.txt
@@ -323,12 +323,11 @@ init.svc.<name>
Bootcharting
------------
-
This version of init contains code to perform "bootcharting": generating log
files that can be later processed by the tools provided by www.bootchart.org.
-On the emulator, use the new -bootchart <timeout> option to boot with
-bootcharting activated for <timeout> seconds.
+On the emulator, use the -bootchart <timeout> option to boot with bootcharting
+activated for <timeout> seconds.
On a device, create /data/bootchart/start with a command like the following:
@@ -349,9 +348,13 @@ retrieve them and create a bootchart.tgz file that can be used with the
bootchart command-line utility:
sudo apt-get install pybootchartgui
- ANDROID_SERIAL=<device serial number>
+ # grab-bootchart.sh uses $ANDROID_SERIAL.
$ANDROID_BUILD_TOP/system/core/init/grab-bootchart.sh
+One thing to watch for is that the bootchart will show init as if it started
+running at 0s. You'll have to look at dmesg to work out when the kernel
+actually started init.
+
Debugging init
--------------