diff options
author | Elliott Hughes <enh@google.com> | 2015-02-12 21:36:21 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-12 21:36:21 +0000 |
commit | e6cc8012f5adadca867f5370d235525dff529091 (patch) | |
tree | b938bda9bc08d7d931ca5fe823443f814ff246cb /rootdir | |
parent | b31528e9fedfcd76060b4911cace1306a6e0fc8c (diff) | |
parent | 0903c13ade29e6eedecd198ac54131248a1818f3 (diff) | |
download | system_core-e6cc8012f5adadca867f5370d235525dff529091.zip system_core-e6cc8012f5adadca867f5370d235525dff529091.tar.gz system_core-e6cc8012f5adadca867f5370d235525dff529091.tar.bz2 |
am 0903c13a: am 265df6f5: Merge "bootchart: fix bootchart can not be triggered problem"
* commit '0903c13ade29e6eedecd198ac54131248a1818f3':
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 84e8799..e545170 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -237,6 +237,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 |