summaryrefslogtreecommitdiffstats
path: root/init/grab-bootchart.sh
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-06 13:25:32 -0800
committerElliott Hughes <enh@google.com>2015-03-06 13:25:32 -0800
commit7c0c15f0ed35554bcb8909862904effb92ce44fc (patch)
tree21f905c721cf1a4fe278e36d01a9d69aeb7cfe1f /init/grab-bootchart.sh
parent25d2a1a916058634a23d89d287b18eb18c140081 (diff)
downloadsystem_core-7c0c15f0ed35554bcb8909862904effb92ce44fc.tar.gz
system_core-7c0c15f0ed35554bcb8909862904effb92ce44fc.tar.bz2
system_core-7c0c15f0ed35554bcb8909862904effb92ce44fc.zip
Fix outdated comments in grab-bootchart.sh.
I've been deliberately vague about the name of the readme because I want to come back and switch to markdown, but that probably won't happen today. Change-Id: I60651703709bbfd499227f882eb949396e8f4f6c
Diffstat (limited to 'init/grab-bootchart.sh')
-rwxr-xr-xinit/grab-bootchart.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/init/grab-bootchart.sh b/init/grab-bootchart.sh
index 5715862dc..d6082aaad 100755
--- a/init/grab-bootchart.sh
+++ b/init/grab-bootchart.sh
@@ -1,12 +1,9 @@
#!/bin/sh
#
-# this script is used to retrieve the bootchart log generated
-# by init when compiled with INIT_BOOTCHART=true.
-#
+# This script is used to retrieve a bootchart log generated by init.
# All options are passed to adb, for better or for worse.
-#
-# for all details, see //device/system/init/README.BOOTCHART
-#
+# See the readme in this directory for more on bootcharting.
+
TMPDIR=/tmp/android-bootchart
rm -rf $TMPDIR
mkdir -p $TMPDIR
@@ -22,4 +19,4 @@ done
(cd $TMPDIR && tar -czf $TARBALL $FILES)
bootchart ${TMPDIR}/${TARBALL}
gnome-open ${TARBALL%.tgz}.png
-echo "Clean up ${TMPDIR}/ & ./${TARBALL%.tgz}.png when done"
+echo "Clean up ${TMPDIR}/ and ./${TARBALL%.tgz}.png when done"