bootanalyze: fix errata
- args used for testing purpose not removed and broke bootchart capturing
bug: 38271495
Test: python packages/services/Car/tools/bootanalyze/bootanalyze.py -r -c packages/services/Car/tools/bootanalyze/config.yaml -n 20 -f -e 15 -w 30 -v -b
Change-Id: Ie836822bfdec569700d0ae7df7aa8d2a29abcaa9
diff --git a/tools/bootanalyze/bootanalyze.py b/tools/bootanalyze/bootanalyze.py
index 7010725..da874ce 100755
--- a/tools/bootanalyze/bootanalyze.py
+++ b/tools/bootanalyze/bootanalyze.py
@@ -680,7 +680,7 @@
return math.sqrt(variance)
def grab_bootchart(boot_chart_file_name):
- subprocess.call("./system/core/init/grab-bootchart.sh --no-viewer", shell=True)
+ subprocess.call("./system/core/init/grab-bootchart.sh", shell=True)
print "Saving boot chart as " + boot_chart_file_name + ".tgz"
subprocess.call('cp /tmp/android-bootchart/bootchart.tgz ./' + boot_chart_file_name + '.tgz',\
shell=True)