Merge "Fix outdated comments in grab-bootchart.sh."

This commit is contained in:
Elliott Hughes 2015-03-06 22:18:54 +00:00 committed by Gerrit Code Review
commit d73df6abb6

View file

@ -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"