diff options
author | Elliott Hughes <enh@google.com> | 2015-02-12 20:32:33 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-12 20:32:33 +0000 |
commit | 0903c13ade29e6eedecd198ac54131248a1818f3 (patch) | |
tree | 721d505c9b0a37ec57429a290ecac905e8f56fab /rootdir | |
parent | 06b308bef0432db53c41b28930a857f6ab3cdcb6 (diff) | |
parent | 265df6f50c508710f0b717d67650732baa906976 (diff) | |
download | system_core-0903c13ade29e6eedecd198ac54131248a1818f3.zip system_core-0903c13ade29e6eedecd198ac54131248a1818f3.tar.gz system_core-0903c13ade29e6eedecd198ac54131248a1818f3.tar.bz2 |
am 265df6f5: Merge "bootchart: fix bootchart can not be triggered problem"
* commit '265df6f50c508710f0b717d67650732baa906976':
bootchart: fix bootchart can not be triggered problem
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 26cc121..ce7e0a9 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -233,6 +233,11 @@ on post-fs-data # We restorecon /data in case the userdata partition has been reset. restorecon /data + # Start bootcharting as soon as possible after the data partition is + # mounted to collect more data. + mkdir /data/bootchart 0755 shell shell + bootchart_init + # Avoid predictable entropy pool. Carry over entropy from previous boot. copy /data/system/entropy.dat /dev/urandom |